public final class UserAction extends 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 Mirror API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UserAction() |
| Modifier and Type | Method and Description |
|---|---|
UserAction |
clone() |
String |
getPayload()
An optional payload for the action.
|
String |
getType()
The type of action.
|
UserAction |
set(String fieldName,
Object value) |
UserAction |
setPayload(String payload)
An optional payload for the action.
|
UserAction |
setType(String type)
The type of action.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getPayload()
null for nonepublic UserAction setPayload(String payload)
payload - payload or null for nonepublic String getType()
null for nonepublic UserAction setType(String type)
type - type or null for nonepublic UserAction set(String fieldName, Object value)
set in class GenericJsonpublic UserAction clone()
clone in class GenericJson