public final class KeyedAppState
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 |
|---|
KeyedAppState() |
| Modifier and Type | Method and Description |
|---|---|
KeyedAppState |
clone() |
java.lang.String |
getData()
Additional field intended for machine-readable data.
|
java.lang.String |
getKey()
Key indicating what the app is providing a state for.
|
java.lang.String |
getMessage()
Free-form, human-readable message describing the app state.
|
java.lang.String |
getSeverity()
Severity of the app state.
|
java.lang.Long |
getStateTimestampMillis()
Timestamp of when the app set the state in milliseconds since epoch.
|
KeyedAppState |
set(java.lang.String fieldName,
java.lang.Object value) |
KeyedAppState |
setData(java.lang.String data)
Additional field intended for machine-readable data.
|
KeyedAppState |
setKey(java.lang.String key)
Key indicating what the app is providing a state for.
|
KeyedAppState |
setMessage(java.lang.String message)
Free-form, human-readable message describing the app state.
|
KeyedAppState |
setSeverity(java.lang.String severity)
Severity of the app state.
|
KeyedAppState |
setStateTimestampMillis(java.lang.Long stateTimestampMillis)
Timestamp of when the app set the state in milliseconds since epoch.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getData()
null for nonepublic KeyedAppState setData(java.lang.String data)
data - data or null for nonepublic java.lang.String getKey()
null for nonepublic KeyedAppState setKey(java.lang.String key)
key - key or null for nonepublic java.lang.String getMessage()
null for nonepublic KeyedAppState setMessage(java.lang.String message)
message - message or null for nonepublic java.lang.String getSeverity()
null for nonepublic KeyedAppState setSeverity(java.lang.String severity)
severity - severity or null for nonepublic java.lang.Long getStateTimestampMillis()
null for nonepublic KeyedAppState setStateTimestampMillis(java.lang.Long stateTimestampMillis)
stateTimestampMillis - stateTimestampMillis or null for nonepublic KeyedAppState set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic KeyedAppState clone()
clone in class com.google.api.client.json.GenericJson