GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier (google_api_android_device_provisioning v0.18.0) View Source

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

Attributes

  • imei (type: String.t, default: nil) - The device’s IMEI number. Validated on input.
  • manufacturer (type: String.t, default: nil) - The device manufacturer’s name. Matches the device's built-in value returned from android.os.Build.MANUFACTURER. Allowed values are listed in manufacturers.
  • meid (type: String.t, default: nil) - The device’s MEID number.
  • model (type: String.t, default: nil) - The device model's name. Matches the device's built-in value returned from android.os.Build.MODEL. Allowed values are listed in models.
  • serialNumber (type: String.t, default: nil) - The manufacturer's serial number for the device. This value might not be unique across different device models.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier{
  imei: String.t() | nil,
  manufacturer: String.t() | nil,
  meid: String.t() | nil,
  model: String.t() | nil,
  serialNumber: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.