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

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

Attributes

  • chromeOsAttestedDeviceId (type: String.t, default: nil) - An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
  • deviceType (type: String.t, default: nil) - The type of the device
  • 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 Android manufacturers.
  • meid (type: String.t, default: nil) - The device’s MEID number.
  • model (type: String.t, default: nil) - The device model's name. Allowed values are listed in Android models and Chrome OS 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.