public final class Notifications 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 Admin Directory 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 |
|---|
Notifications() |
| Modifier and Type | Method and Description |
|---|---|
Notifications |
clone() |
String |
getEtag()
ETag of the resource.
|
List<Notification> |
getItems()
List of notifications in this page.
|
String |
getKind()
The type of the resource.
|
String |
getNextPageToken()
Token for fetching the next page of notifications.
|
Integer |
getUnreadNotificationsCount()
Number of unread notification for the domain.
|
Notifications |
set(String fieldName,
Object value) |
Notifications |
setEtag(String etag)
ETag of the resource.
|
Notifications |
setItems(List<Notification> items)
List of notifications in this page.
|
Notifications |
setKind(String kind)
The type of the resource.
|
Notifications |
setNextPageToken(String nextPageToken)
Token for fetching the next page of notifications.
|
Notifications |
setUnreadNotificationsCount(Integer unreadNotificationsCount)
Number of unread notification for the domain.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getEtag()
null for nonepublic Notifications setEtag(String etag)
etag - etag or null for nonepublic List<Notification> getItems()
null for nonepublic Notifications setItems(List<Notification> items)
items - items or null for nonepublic String getKind()
null for nonepublic Notifications setKind(String kind)
kind - kind or null for nonepublic String getNextPageToken()
null for nonepublic Notifications setNextPageToken(String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic Integer getUnreadNotificationsCount()
null for nonepublic Notifications setUnreadNotificationsCount(Integer unreadNotificationsCount)
unreadNotificationsCount - unreadNotificationsCount or null for nonepublic Notifications set(String fieldName, Object value)
set in class GenericJsonpublic Notifications clone()
clone in class GenericJson