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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
KeyedAppState() |
| Modifier and Type | Method and Description |
|---|---|
KeyedAppState |
clone() |
String |
getData()
Additional field intended for machine-readable data.
|
String |
getKey()
Key indicating what the app is providing a state for.
|
String |
getMessage()
Free-form, human-readable message describing the app state.
|
String |
getSeverity()
Severity of the app state.
|
Long |
getStateTimestampMillis()
Timestamp of when the app set the state in milliseconds since epoch.
|
KeyedAppState |
set(String fieldName,
Object value) |
KeyedAppState |
setData(String data)
Additional field intended for machine-readable data.
|
KeyedAppState |
setKey(String key)
Key indicating what the app is providing a state for.
|
KeyedAppState |
setMessage(String message)
Free-form, human-readable message describing the app state.
|
KeyedAppState |
setSeverity(String severity)
Severity of the app state.
|
KeyedAppState |
setStateTimestampMillis(Long stateTimestampMillis)
Timestamp of when the app set the state in milliseconds since epoch.
|
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 String getData()
null for nonepublic KeyedAppState setData(String data)
data - data or null for nonepublic String getKey()
null for nonepublic KeyedAppState setKey(String key)
key - key or null for nonepublic String getMessage()
null for nonepublic KeyedAppState setMessage(String message)
message - message or null for nonepublic String getSeverity()
null for nonepublic KeyedAppState setSeverity(String severity)
severity - severity or null for nonepublic Long getStateTimestampMillis()
null for nonepublic KeyedAppState setStateTimestampMillis(Long stateTimestampMillis)
stateTimestampMillis - stateTimestampMillis or null for nonepublic KeyedAppState set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic KeyedAppState clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.