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.Flags
AbstractMap.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Device clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.