Hierarchy (view full)

Implements

Constructors

Properties

_id: string

internal id

anonymous_id: string

an uuid of the site

attr_hidden_id: string
attr_no_delete: boolean
clients: Clients
clientsGroups: ClientsGroups
desc: string

the name you setup for this site

devices: Devices
firewall: Firewall
hotspots: Hotspots
name: string

the technical name of the site (seems autogenerated)

networks: Networks
role: string
role_hotspot: boolean

UNIFIOS only

stats: Stats
debug: Debugger = ...

Accessors

Methods

  • Parameters

    • Optional minVersion: string

      the minimal semver version for this object

    • Optional unifiOs: boolean

      need to be unifiOs ? or Unifi Controller ? if no need, pass undefined

    • parameterName: string = ''

      a name for the parameter

    Returns void

  • Type Parameters

    • T

    Parameters

    • key: keyof Site

      the key object that need to be only supported on some versions

    • Optional value: T

      the value store in this object

    • Optional minVersion: string

      the minimal semver version for this object

    • Optional unifiOs: boolean

      need to be unifiOs ? or Unifi Controller ? if no need, pass undefined

    • allowUndefined: boolean = false

      to undefined check ?

    Returns boolean

  • Parameters

    • eventName: string
    • cb: ((...args) => unknown)
        • (...args): unknown
        • Parameters

          • Rest ...args: unknown[]

          Returns unknown

    Returns this

Generated using TypeDoc