google_api_android_device_provisioning v0.7.0 GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier View Source

Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.

Attributes

  • imei (String.t): The device’s IMEI number. Validated on input. Defaults to nil.
  • manufacturer (String.t): The device manufacturer’s name. Matches the device's built-in value returned from android.os.Build.MANUFACTURER. Allowed values are listed in manufacturers. Defaults to nil.
  • meid (String.t): The device’s MEID number. Defaults to nil.
  • model (String.t): The device model's name. Matches the device's built-in value returned from android.os.Build.MODEL. Allowed values are listed in models. Defaults to nil.
  • serialNumber (String.t): The manufacturer's serial number for the device. This value might not be unique across different device models. 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() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier{
  imei: String.t(),
  manufacturer: String.t(),
  meid: String.t(),
  model: String.t(),
  serialNumber: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.