Show / Hide Table of Contents

Class DeviceReference

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.

Inheritance
object
DeviceReference
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidProvisioningPartner.v1.Data
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class DeviceReference : IDirectResponseSchema

Properties

DeviceId

The ID of the device.

Declaration
[JsonProperty("deviceId")]
public virtual long? DeviceId { get; set; }
Property Value
Type Description
long?

DeviceIdentifier

The hardware IDs of the device.

Declaration
[JsonProperty("deviceIdentifier")]
public virtual DeviceIdentifier DeviceIdentifier { get; set; }
Property Value
Type Description
DeviceIdentifier

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX