RelationshipsApi class

Constructors

RelationshipsApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
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

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