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
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.
|
DeviceReportUpdateEvent |
getDeviceReportUpdateEvent()
Notifications about device report updates.
|
java.lang.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.
|
java.lang.String |
getNotificationType()
Type of the notification.
|
ProductApprovalEvent |
getProductApprovalEvent()
Notifications about changes to a product's approval status.
|
ProductAvailabilityChangeEvent |
getProductAvailabilityChangeEvent()
Notifications about product availability changes.
|
java.lang.Long |
getTimestampMillis()
The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z.
|
Notification |
set(java.lang.String fieldName,
java.lang.Object value) |
Notification |
setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent appRestrictionsSchemaChangeEvent)
Notifications about new app restrictions schema changes.
|
Notification |
setAppUpdateEvent(AppUpdateEvent appUpdateEvent)
Notifications about app updates.
|
Notification |
setDeviceReportUpdateEvent(DeviceReportUpdateEvent deviceReportUpdateEvent)
Notifications about device report updates.
|
Notification |
setEnterpriseId(java.lang.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(java.lang.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(java.lang.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
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 DeviceReportUpdateEvent getDeviceReportUpdateEvent()
null
for nonepublic Notification setDeviceReportUpdateEvent(DeviceReportUpdateEvent deviceReportUpdateEvent)
deviceReportUpdateEvent
- deviceReportUpdateEvent or null
for nonepublic java.lang.String getEnterpriseId()
null
for nonepublic Notification setEnterpriseId(java.lang.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 java.lang.String getNotificationType()
null
for nonepublic Notification setNotificationType(java.lang.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 java.lang.Long getTimestampMillis()
null
for nonepublic Notification setTimestampMillis(java.lang.Long timestampMillis)
timestampMillis
- timestampMillis or null
for nonepublic Notification set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Notification clone()
clone
in class com.google.api.client.json.GenericJson