TenantService class
Constructors
- TenantService(ThingsboardClient tbClient)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteTenant(
String tenantId, {RequestConfig? requestConfig}) → Future< void> -
getTenant(
String tenantId, {RequestConfig? requestConfig}) → Future< Tenant?> -
getTenantInfo(
String tenantId, {RequestConfig? requestConfig}) → Future< TenantInfo?> -
getTenantInfos(
PageLink pageLink, {RequestConfig? requestConfig}) → Future< PageData< TenantInfo> > -
getTenants(
PageLink pageLink, {RequestConfig? requestConfig}) → Future< PageData< Tenant> > -
getTenantsByIds(
List< String> tenantIds, {RequestConfig? requestConfig}) → Future<List< Tenant> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveTenant(
Tenant tenant, {RequestConfig? requestConfig}) → Future< Tenant> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited