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