public final class Notification
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
Notification |
clone() |
AppRestrictionsSchemaChangeEvent |
getAppRestrictionsSchemaChangeEvent()
Notifications about new app restrictions schema changes.
|
AppUpdateEvent |
getAppUpdateEvent()
Notifications about app updates.
|
String |
getEnterpriseId()
The ID of the enterprise for which the notification is sent.
|
InstallFailureEvent |
getInstallFailureEvent()
Notifications about an app installation failure.
|
NewDeviceEvent |
getNewDeviceEvent()
Notifications about new devices.
|
NewPermissionsEvent |
getNewPermissionsEvent()
Notifications about new app permissions.
|
String |
getNotificationType()
Type of the notification.
|
ProductApprovalEvent |
getProductApprovalEvent()
Notifications about changes to a product's approval status.
|
ProductAvailabilityChangeEvent |
getProductAvailabilityChangeEvent()
Notifications about product availability changes.
|
Long |
getTimestampMillis()
The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z.
|
Notification |
set(String fieldName,
Object value) |
Notification |
setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent appRestrictionsSchemaChangeEvent)
Notifications about new app restrictions schema changes.
|
Notification |
setAppUpdateEvent(AppUpdateEvent appUpdateEvent)
Notifications about app updates.
|
Notification |
setEnterpriseId(String enterpriseId)
The ID of the enterprise for which the notification is sent.
|
Notification |
setInstallFailureEvent(InstallFailureEvent installFailureEvent)
Notifications about an app installation failure.
|
Notification |
setNewDeviceEvent(NewDeviceEvent newDeviceEvent)
Notifications about new devices.
|
Notification |
setNewPermissionsEvent(NewPermissionsEvent newPermissionsEvent)
Notifications about new app permissions.
|
Notification |
setNotificationType(String notificationType)
Type of the notification.
|
Notification |
setProductApprovalEvent(ProductApprovalEvent productApprovalEvent)
Notifications about changes to a product's approval status.
|
Notification |
setProductAvailabilityChangeEvent(ProductAvailabilityChangeEvent productAvailabilityChangeEvent)
Notifications about product availability changes.
|
Notification |
setTimestampMillis(Long timestampMillis)
The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public AppRestrictionsSchemaChangeEvent getAppRestrictionsSchemaChangeEvent()
null
for nonepublic Notification setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent appRestrictionsSchemaChangeEvent)
appRestrictionsSchemaChangeEvent
- appRestrictionsSchemaChangeEvent or null
for nonepublic AppUpdateEvent getAppUpdateEvent()
null
for nonepublic Notification setAppUpdateEvent(AppUpdateEvent appUpdateEvent)
appUpdateEvent
- appUpdateEvent or null
for nonepublic String getEnterpriseId()
null
for nonepublic Notification setEnterpriseId(String enterpriseId)
enterpriseId
- enterpriseId or null
for nonepublic InstallFailureEvent getInstallFailureEvent()
null
for nonepublic Notification setInstallFailureEvent(InstallFailureEvent installFailureEvent)
installFailureEvent
- installFailureEvent or null
for nonepublic NewDeviceEvent getNewDeviceEvent()
null
for nonepublic Notification setNewDeviceEvent(NewDeviceEvent newDeviceEvent)
newDeviceEvent
- newDeviceEvent or null
for nonepublic NewPermissionsEvent getNewPermissionsEvent()
null
for nonepublic Notification setNewPermissionsEvent(NewPermissionsEvent newPermissionsEvent)
newPermissionsEvent
- newPermissionsEvent or null
for nonepublic String getNotificationType()
null
for nonepublic Notification setNotificationType(String notificationType)
notificationType
- notificationType or null
for nonepublic ProductApprovalEvent getProductApprovalEvent()
null
for nonepublic Notification setProductApprovalEvent(ProductApprovalEvent productApprovalEvent)
productApprovalEvent
- productApprovalEvent or null
for nonepublic ProductAvailabilityChangeEvent getProductAvailabilityChangeEvent()
null
for nonepublic Notification setProductAvailabilityChangeEvent(ProductAvailabilityChangeEvent productAvailabilityChangeEvent)
productAvailabilityChangeEvent
- productAvailabilityChangeEvent or null
for nonepublic Long getTimestampMillis()
null
for nonepublic Notification setTimestampMillis(Long timestampMillis)
timestampMillis
- timestampMillis or null
for nonepublic Notification set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Notification clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.