public final class MomentsFeed 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+ API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MomentsFeed() |
Modifier and Type | Method and Description |
---|---|
MomentsFeed |
clone() |
String |
getEtag()
ETag of this response for caching purposes.
|
List<Moment> |
getItems()
The moments in this page of results.
|
String |
getKind()
Identifies this resource as a collection of moments.
|
String |
getNextLink()
Link to the next page of moments.
|
String |
getNextPageToken()
The continuation token, which is used to page through large result sets.
|
String |
getSelfLink()
Link to this page of moments.
|
String |
getTitle()
The title of this collection of moments.
|
DateTime |
getUpdated()
The RFC 339 timestamp for when this collection of moments was last updated.
|
MomentsFeed |
set(String fieldName,
Object value) |
MomentsFeed |
setEtag(String etag)
ETag of this response for caching purposes.
|
MomentsFeed |
setItems(List<Moment> items)
The moments in this page of results.
|
MomentsFeed |
setKind(String kind)
Identifies this resource as a collection of moments.
|
MomentsFeed |
setNextLink(String nextLink)
Link to the next page of moments.
|
MomentsFeed |
setNextPageToken(String nextPageToken)
The continuation token, which is used to page through large result sets.
|
MomentsFeed |
setSelfLink(String selfLink)
Link to this page of moments.
|
MomentsFeed |
setTitle(String title)
The title of this collection of moments.
|
MomentsFeed |
setUpdated(DateTime updated)
The RFC 339 timestamp for when this collection of moments was last updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEtag()
null
for nonepublic MomentsFeed setEtag(String etag)
etag
- etag or null
for nonepublic List<Moment> getItems()
null
for nonepublic MomentsFeed setItems(List<Moment> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic MomentsFeed setKind(String kind)
kind
- kind or null
for nonepublic String getNextLink()
null
for nonepublic MomentsFeed setNextLink(String nextLink)
nextLink
- nextLink or null
for nonepublic String getNextPageToken()
null
for nonepublic MomentsFeed setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getSelfLink()
null
for nonepublic MomentsFeed setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getTitle()
null
for nonepublic MomentsFeed setTitle(String title)
title
- title or null
for nonepublic DateTime getUpdated()
null
for nonepublic MomentsFeed setUpdated(DateTime updated)
updated
- updated or null
for nonepublic MomentsFeed set(String fieldName, Object value)
set
in class GenericJson
public MomentsFeed clone()
clone
in class GenericJson