RelationshipsApi class
Constructors
- RelationshipsApi([ApiClient? apiClient])
Properties
Methods
-
associateDevicesToUser(
String userId, List< String> deviceTokens) → Future<void> - Associates one or more devices to the given user
-
associateDevicesToUserWithHttpInfo(
String userId, List< String> deviceTokens) → Future<Response> - Associates one or more devices to the given user
-
associateUsersToDevice(
String token, List< String> userIds) → Future<void> - Associates one or more devices to the given user
-
associateUsersToDeviceWithHttpInfo(
String token, List< String> userIds) → Future<Response> - Associates one or more devices to the given user
-
dissociateDevicesFromUser(
String userId, List< String> deviceTokens) → Future<SuccessResponse?> - Removes one or more devices from the given user
-
dissociateDevicesFromUserWithHttpInfo(
String userId, List< String> deviceTokens) → Future<Response> - Removes one or more devices from the given user
-
dissociateUsersFromDevice(
String token, List< String> userIds) → Future<SuccessResponse?> - Removes one or more devices from the given user
-
dissociateUsersFromDeviceWithHttpInfo(
String token, List< String> userIds) → Future<Response> - Removes one or more devices from the given user
-
listDeviceAssociatedUsers(
String token) → Future< List< UserRelationship> ?> - Get the users associated with the given device
-
listDeviceAssociatedUsersWithHttpInfo(
String token) → Future< Response> - Get the users associated with the given device
-
listUserAssociatedDevices(
String userId) → Future< List< DeviceRelationship> ?> - Get the devices associated with the given user
-
listUserAssociatedDevicesWithHttpInfo(
String userId) → Future< Response> - Get the devices associated with the given user
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited