DeviceGrouping class
Provides access to methods for managing device groupings.
Constructors
- DeviceGrouping(String accessToken, [APIVersion version = APIVersion.v1])
- Contructs object to manage device groupings.
Properties
- accessToken → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createGroup(
String groupName, [String? parentGroupId, String? type, List< String> ? nodeIds]) → Future<void> - Creates a new user device group.
-
deleteGroup(
String groupId) → Future< void> - Deletes an existing user device group.
-
getGroup(
[String? groupId]) → Future< DeviceGroups> - Obtains details about user groups.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateGroup(
String groupId, {String? groupName, OperationType? operation, List< String> ? nodeIds}) → Future<void> - Updates an existing user device group.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited