DeviceApi class
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
-
createDevice(
Device p) → Future< Device> -
createDeviceInGroup(
String groupId, Device device) → Future< Device> -
createDevices(
List< Device> devices) → Future<List< IdWithRev> > -
deleteDevice(
Device device) → Future< DocIdentifier> -
deleteDeviceById(
String entityId, String rev) → Future< DocIdentifier> -
deleteDevices(
List< Device> devices) → Future<List< DocIdentifier> > -
deleteDevicesByIds(
List< IdWithMandatoryRev> entityIds) → Future<List< DocIdentifier> > -
deleteDevicesInGroup(
String groupId, List< IdWithRev> deviceIds) → Future<List< DocIdentifier> > -
filterDevicesBy(
BaseFilterOptions< Device> filter) → Future<PaginatedListIterator< Device> > -
filterDevicesBySorted(
BaseSortableFilterOptions< Device> filter) → Future<PaginatedListIterator< Device> > -
getDevice(
String deviceId) → Future< Device> -
getDevices(
List< String> deviceIds) → Future<List< Device> > -
getDevicesInGroup(
String groupId, {List< String> ? deviceIds}) → Future<List< Device> > -
matchDevicesBy(
BaseFilterOptions< Device> filter) → Future<List< String> > -
matchDevicesBySorted(
BaseSortableFilterOptions< Device> filter) → Future<List< String> > -
modifyDevice(
Device device) → Future< Device> -
modifyDeviceInGroup(
String groupId, Device device) → Future< Device> -
modifyDevices(
List< Device> devices) → Future<List< IdWithRev> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
purgeDevice(
Device device) → Future< void> -
purgeDeviceById(
String id, String rev) → Future< void> -
subscribeToEvents(
Set< SubscriptionEventType> events, FilterOptions<Device> filter, {EntitySubscriptionConfiguration? subscriptionConfig}) → Future<EntitySubscription< Device> > -
toString(
) → String -
A string representation of this object.
inherited
-
undeleteDevice(
Device device) → Future< Device> -
undeleteDeviceById(
String id, String rev) → Future< Device>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited