public final class Moment
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+ API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Moment() |
| Modifier and Type | Method and Description |
|---|---|
Moment |
clone() |
java.lang.String |
getId()
The moment ID.
|
java.lang.String |
getKind()
Identifies this resource as a moment.
|
ItemScope |
getObject()
The object on which the action was performed.
|
ItemScope |
getResult()
The object generated by performing the action on the object.
|
com.google.api.client.util.DateTime |
getStartDate()
Time stamp of when the action occurred in RFC3339 format.
|
ItemScope |
getTarget()
The object on which the action was performed.
|
java.lang.String |
getType()
The schema.org type for the type of moment to write.
|
Moment |
set(java.lang.String fieldName,
java.lang.Object value) |
Moment |
setId(java.lang.String id)
The moment ID.
|
Moment |
setKind(java.lang.String kind)
Identifies this resource as a moment.
|
Moment |
setObject(ItemScope object__)
The object on which the action was performed.
|
Moment |
setResult(ItemScope result)
The object generated by performing the action on the object.
|
Moment |
setStartDate(com.google.api.client.util.DateTime startDate)
Time stamp of when the action occurred in RFC3339 format.
|
Moment |
setTarget(ItemScope target)
The object on which the action was performed.
|
Moment |
setType(java.lang.String type)
The schema.org type for the type of moment to write.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getId()
null for nonepublic Moment setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Moment setKind(java.lang.String kind)
kind - kind or null for nonepublic ItemScope getObject()
null for nonepublic Moment setObject(ItemScope object__)
object__ - object__ or null for nonepublic ItemScope getResult()
null for nonepublic Moment setResult(ItemScope result)
result - result or null for nonepublic com.google.api.client.util.DateTime getStartDate()
null for nonepublic Moment setStartDate(com.google.api.client.util.DateTime startDate)
startDate - startDate or null for nonepublic ItemScope getTarget()
null for nonepublic Moment setTarget(ItemScope target)
target - target or null for nonepublic java.lang.String getType()
null for nonepublic Moment setType(java.lang.String type)
type - type or null for nonepublic Moment set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Moment clone()
clone in class com.google.api.client.json.GenericJson