target.apidocs.com.google.api.services.androidenterprise.model.NotificationSet.html Maven / Gradle / Ivy
The newest version!
NotificationSet (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise.model
Class NotificationSet
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.NotificationSet
-
public final class NotificationSet
extends com.google.api.client.json.GenericJson
A resource returned by the PullNotificationSet API, which contains a collection of notifications
for enterprises associated with the service account authenticated for the request.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
NotificationSet()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
NotificationSet
clone()
List<Notification>
getNotification()
The notifications received, or empty if no notifications are present.
String
getNotificationSetId()
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API.
NotificationSet
set(String fieldName,
Object value)
NotificationSet
setNotification(List<Notification> notification)
The notifications received, or empty if no notifications are present.
NotificationSet
setNotificationSetId(String notificationSetId)
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getNotification
public List<Notification> getNotification()
The notifications received, or empty if no notifications are present.
- Returns:
- value or
null
for none
-
setNotification
public NotificationSet setNotification(List<Notification> notification)
The notifications received, or empty if no notifications are present.
- Parameters:
notification
- notification or null
for none
-
getNotificationSetId
public String getNotificationSetId()
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.
- Returns:
- value or
null
for none
-
setNotificationSetId
public NotificationSet setNotificationSetId(String notificationSetId)
The notification set ID, required to mark the notification as received with the
Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.
- Parameters:
notificationSetId
- notificationSetId or null
for none
-
set
public NotificationSet set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public NotificationSet clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy