PartnersDevicesResource 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
-
claim(ClaimDeviceRequest request, String partnerId, {String? $fields})
→ Future<ClaimDeviceResponse>
-
Claims a device for a customer and adds it to zero-touch enrollment.
-
claimAsync(ClaimDevicesRequest request, String partnerId, {String? $fields})
→ Future<Operation>
-
Claims a batch of devices for a customer asynchronously.
-
findByIdentifier(FindDevicesByDeviceIdentifierRequest request, String partnerId, {String? $fields})
→ Future<FindDevicesByDeviceIdentifierResponse>
-
Finds devices by hardware identifiers, such as IMEI.
-
findByOwner(FindDevicesByOwnerRequest request, String partnerId, {String? $fields})
→ Future<FindDevicesByOwnerResponse>
-
Finds devices claimed for customers.
-
get(String name, {String? $fields})
→ Future<Device>
-
Gets a device.
-
getSimLockState(GetDeviceSimLockStateRequest request, String partnerId, {String? $fields})
→ Future<GetDeviceSimLockStateResponse>
-
Gets a device's SIM lock state.
-
metadata(UpdateDeviceMetadataRequest request, String metadataOwnerId, String deviceId, {String? $fields})
→ Future<DeviceMetadata>
-
Updates reseller metadata associated with the device.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
unclaim(UnclaimDeviceRequest request, String partnerId, {String? $fields})
→ Future<Empty>
-
Unclaims a device from a customer and removes it from zero-touch
enrollment.
-
unclaimAsync(UnclaimDevicesRequest request, String partnerId, {String? $fields})
→ Future<Operation>
-
Unclaims a batch of devices for a customer asynchronously.
-
updateMetadataAsync(UpdateDeviceMetadataInBatchRequest request, String partnerId, {String? $fields})
→ Future<Operation>
-
Updates the reseller metadata attached to a batch of devices.