Guests class

Inheritance

Constructors

Guests(BaseController controller)

Properties

controller BaseController
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authorize(String mac, int minutes, {int? up, int? down, int? megabytes, String? ap_mac, String? siteId}) Future<void>
Authorize a mac for minutes. up: upload speed in kbps down: download speed in kbps megabytes: data transfer limit in mb ap_mac optional AP's mac
block(String mac, {String? siteId}) Future<void>
Block a mac.
dispose() → void
override
extend(String id) Future<bool>
Extends a guest's stay by id
forget(String mac, {String? siteId}) Future<void>
Forget a mac.
kick(String mac, {String? siteId}) Future<void>
Kick (reconnect) a mac.
list({int? within, String? siteId}) Future<List<Map<String, dynamic>>>
List guest devices within hours Throw ApiException if not successful
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unauthorize(String mac, {String? siteId}) Future<void>
Unauthorize a mac.
unblock(String mac, {String? siteId}) Future<void>
Unblock a mac.

Operators

operator ==(Object other) bool
The equality operator.
inherited