public final class DeviceReport
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| Constructor and Description |
|---|
DeviceReport() |
| Modifier and Type | Method and Description |
|---|---|
DeviceReport |
clone() |
java.util.List<AppState> |
getAppState()
List of app states set by managed apps on the device.
|
java.lang.Long |
getLastUpdatedTimestampMillis()
The timestamp of the last report update in milliseconds since epoch.
|
DeviceReport |
set(java.lang.String fieldName,
java.lang.Object value) |
DeviceReport |
setAppState(java.util.List<AppState> appState)
List of app states set by managed apps on the device.
|
DeviceReport |
setLastUpdatedTimestampMillis(java.lang.Long lastUpdatedTimestampMillis)
The timestamp of the last report update in milliseconds since epoch.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<AppState> getAppState()
null for nonepublic DeviceReport setAppState(java.util.List<AppState> appState)
appState - appState or null for nonepublic java.lang.Long getLastUpdatedTimestampMillis()
null for nonepublic DeviceReport setLastUpdatedTimestampMillis(java.lang.Long lastUpdatedTimestampMillis)
lastUpdatedTimestampMillis - lastUpdatedTimestampMillis or null for nonepublic DeviceReport set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceReport clone()
clone in class com.google.api.client.json.GenericJson