Protected
configProtected
controllerProtected
controllerProtected
debugProtected
instanceProtected
privateProtected
siteProtected
checkProtected
checkFetch APs stats
returns an array stats objects for the current Aps (or AP with mac)
FIVE_MINUTES need version gte 5.5.*
Optional
APMac: stringOptional
pStart: dateInputOptional
pEnd: dateInputFetch client devices that connected to the site within given timeframe
NOTES:
unknown need documentation (open PR)
unknown need documentation (open PR)
optional, hours to go back (default is 8760 hours or 1 year)
Private
getReturn default number of hours returned when getting stats :
number results always depends of the results stored on the controller
the stats period
Fetch gateway stats
NOTES:
Optional
pStart: dateInputOptional
pEnd: dateInputPrivate
getProtected
getFetch login sessions
NOTES:
// get all session between date
getSession({
start: '2021-08-03T00:00:00.000Z',
end: '2021-01-03T00:00:00.000Z',
type: 'all'
});
// get 5 last sessions for mac address
getSession({
mac: '00:0a:95:9d:68:16',
_limit: 5,
_sort: '-assoc_time'
});
Fetch site stats
returns an array stats objects for the current site
FIVE_MINUTES need version gte 5.5.*
Optional
pStart: dateInputOptional
pEnd: dateInputFetch Users stats
returns an array stats objects for the current Aps (or AP with mac)
Optional
userMac: string | string[]Optional
pStart: dateInputOptional
pEnd: dateInputProtected
importProtected
mapthe construtor to map the object
the properties passed to the constructor if defined
Protected
needthe key object that need to be only supported on some versions
Optional
value: Tthe value store in this object
Optional
minVersion: stringthe minimal semver version for this object
Optional
unifiOs: booleanneed to be unifiOs ? or Unifi Controller ? if no need, pass undefined
to undefined check ?
Protected
setGenerated using TypeDoc
the minimal semver version for this object