public final class Device
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Android Device Provisioning Partner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
Device |
clone() |
List<DeviceClaim> |
getClaims()
Output only.
|
String |
getConfiguration()
Not available to resellers.
|
Long |
getDeviceId()
Output only.
|
DeviceIdentifier |
getDeviceIdentifier()
The hardware IDs that identify a manufactured device.
|
DeviceMetadata |
getDeviceMetadata()
The metadata attached to the device.
|
String |
getName()
Output only.
|
Device |
set(String fieldName,
Object value) |
Device |
setClaims(List<DeviceClaim> claims)
Output only.
|
Device |
setConfiguration(String configuration)
Not available to resellers.
|
Device |
setDeviceId(Long deviceId)
Output only.
|
Device |
setDeviceIdentifier(DeviceIdentifier deviceIdentifier)
The hardware IDs that identify a manufactured device.
|
Device |
setDeviceMetadata(DeviceMetadata deviceMetadata)
The metadata attached to the device.
|
Device |
setName(String name)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<DeviceClaim> getClaims()
null for nonepublic Device setClaims(List<DeviceClaim> claims)
claims - claims or null for nonepublic String getConfiguration()
null for nonepublic Device setConfiguration(String configuration)
configuration - configuration or null for nonepublic Long getDeviceId()
null for nonepublic Device setDeviceId(Long deviceId)
deviceId - deviceId or null for nonepublic DeviceIdentifier getDeviceIdentifier()
null for nonepublic Device setDeviceIdentifier(DeviceIdentifier deviceIdentifier)
deviceIdentifier - deviceIdentifier or null for nonepublic DeviceMetadata getDeviceMetadata()
null for nonepublic Device setDeviceMetadata(DeviceMetadata deviceMetadata)
deviceMetadata - deviceMetadata or null for nonepublic String getName()
null for nonepublic Device setName(String name)
name - name or null for nonepublic Device set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Device clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.