google_api_android_device_provisioning v0.7.0 GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceReference View Source
A DeviceReference
is an API abstraction that lets you supply a device
argument to a method using one of the following identifier types:
- A numeric API resource ID.
- Real-world hardware IDs, such as IMEI number, belonging to the manufactured device.
Methods that operate on devices take a DeviceReference
as a parameter type
because it's more flexible for the caller. To learn more about device
identifiers, read Identifiers.
Attributes
- deviceId (String.t): The ID of the device. Defaults to
nil
. - deviceIdentifier (GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier.t): The hardware IDs of the device. Defaults to
nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceReference{
deviceId: String.t(),
deviceIdentifier:
GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier.t()
}
t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceReference{ deviceId: String.t(), deviceIdentifier: GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.