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 Google Play EMM 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() |
String |
getAndroidId()
The Google Play Services Android ID for the device encoded as a lowercase hex string.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getManagementType()
Identifies the extent to which the device is controlled by a managed Google Play EMM in various
deployment configurations.
|
Policy |
getPolicy()
The policy enforced on the device.
|
Device |
set(String fieldName,
Object value) |
Device |
setAndroidId(String androidId)
The Google Play Services Android ID for the device encoded as a lowercase hex string.
|
Device |
setKind(String kind)
Identifies what kind of resource this is.
|
Device |
setManagementType(String managementType)
Identifies the extent to which the device is controlled by a managed Google Play EMM in various
deployment configurations.
|
Device |
setPolicy(Policy policy)
The policy enforced on the device.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAndroidId()
null for nonepublic Device setAndroidId(String androidId)
androidId - androidId or null for nonepublic String getKind()
null for nonepublic Device setKind(String kind)
kind - kind or null for nonepublic String getManagementType()
null for nonepublic Device setManagementType(String managementType)
managementType - managementType or null for nonepublic Policy getPolicy()
null for nonepublic Device setPolicy(Policy policy)
policy - policy 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–2018 Google. All rights reserved.