public final class NotificationSet
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 Play EMM 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 |
---|
NotificationSet() |
Modifier and Type | Method and Description |
---|---|
NotificationSet |
clone() |
java.lang.String |
getKind() |
java.util.List<Notification> |
getNotification()
The notifications received, or empty if no notifications are present.
|
java.lang.String |
getNotificationSetId()
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API.
|
NotificationSet |
set(java.lang.String fieldName,
java.lang.Object value) |
NotificationSet |
setKind(java.lang.String kind) |
NotificationSet |
setNotification(java.util.List<Notification> notification)
The notifications received, or empty if no notifications are present.
|
NotificationSet |
setNotificationSetId(java.lang.String notificationSetId)
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API.
|
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 getKind()
null
for nonepublic NotificationSet setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.List<Notification> getNotification()
null
for nonepublic NotificationSet setNotification(java.util.List<Notification> notification)
notification
- notification or null
for nonepublic java.lang.String getNotificationSetId()
null
for nonepublic NotificationSet setNotificationSetId(java.lang.String notificationSetId)
notificationSetId
- notificationSetId or null
for nonepublic NotificationSet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NotificationSet clone()
clone
in class com.google.api.client.json.GenericJson