Class Client

Hierarchy (view full)

Constructors

Properties

_id: string
_isGuestByUAP?: boolean
_isGuestByUGW?: boolean
_isGuestByUSW?: boolean
_lastSeenByUAP?: Date
_lastSeenByUGW?: Date
_lastSeenByUSW?: Date
_uptimeByUAP?: number
_uptimeByUGW?: number
_uptimeByUSW?: number
anomalies?: number
anonClientId?: string
apMac?: string
assocTime?: Date
blocked?: boolean
bssid?: string
bytesR?: number
ccq?: number
channel?: number
confidence?: number
device: DeviceData
dhcpendTime?: number
essid?: string
firmwareVersion?: string
firstSeen?: Date
fixedIp?: string
groupId?: string
gwMac?: string
hostname?: string
idletime?: number
ip?: string
is11r?: boolean
isGuest?: boolean
isWired?: boolean
lastDisconnect?: Date
lastSeen?: Date
latestAssocTime?: Date
mac: string
name?: string
network?: string
networkId?: string
noise?: number
note?: string
noted?: boolean
oui?: string
powersaveEnabled?: boolean
qosPolicyApplied?: boolean
radio?: string
radioName?: string
radioProto?: string
rssi?: number
rxBytes?: number
rxBytesR?: number
rxPackets?: number
rxRate?: number
satisfaction?: number
score?: number
signal?: number
siteId?: string
swDepth?: number
swMac?: string
swPort?: number
txBytes?: number
txBytesR?: number
txMcs?: number
txPackets?: number
txPower?: number
txRate?: number
txRetries?: number
uptime?: number
useFixedIp?: boolean
userGroupIdComputed?: string
userId?: string
vlan?: number
wifiTxAttempts?: number
wiredRateMbps?: number
wiredRxBytes?: number
wiredRxBytesR?: number
wiredRxPackets?: number
wiredTxBytes?: number
wiredTxBytesR?: number
wiredTxPackets?: number
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

  • Forget one or more client devices

    NOTE: only supported with controller versions 5.9.X and higher, can be slow (up to 5 minutes) on larger controllers

    Returns Promise<boolean>

  • Type Parameters

    • T

    Parameters

    • key: keyof Client

      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

Generated using TypeDoc