androidenterprise  v1
Public Member Functions | Static Public Member Functions | List of all members
google_androidenterprise_api::Notification Class Reference

#include <notification.h>

Inheritance diagram for google_androidenterprise_api::Notification:

Public Member Functions

 Notification (const Json::Value &storage)
 
 Notification (Json::Value *storage)
 
virtual ~Notification ()
 
const StringPiece GetTypeName () const
 
bool has_app_restrictions_schema_change_event () const
 
void clear_app_restrictions_schema_change_event ()
 
const AppRestrictionsSchemaChangeEvent get_app_restrictions_schema_change_event () const
 
AppRestrictionsSchemaChangeEvent mutable_appRestrictionsSchemaChangeEvent ()
 
bool has_app_update_event () const
 
void clear_app_update_event ()
 
const AppUpdateEvent get_app_update_event () const
 
AppUpdateEvent mutable_appUpdateEvent ()
 
bool has_device_report_update_event () const
 
void clear_device_report_update_event ()
 
const DeviceReportUpdateEvent get_device_report_update_event () const
 
DeviceReportUpdateEvent mutable_deviceReportUpdateEvent ()
 
bool has_enterprise_id () const
 
void clear_enterprise_id ()
 
const StringPiece get_enterprise_id () const
 
void set_enterprise_id (const StringPiece &value)
 
bool has_install_failure_event () const
 
void clear_install_failure_event ()
 
const InstallFailureEvent get_install_failure_event () const
 
InstallFailureEvent mutable_installFailureEvent ()
 
bool has_new_device_event () const
 
void clear_new_device_event ()
 
const NewDeviceEvent get_new_device_event () const
 
NewDeviceEvent mutable_newDeviceEvent ()
 
bool has_new_permissions_event () const
 
void clear_new_permissions_event ()
 
const NewPermissionsEvent get_new_permissions_event () const
 
NewPermissionsEvent mutable_newPermissionsEvent ()
 
bool has_notification_type () const
 
void clear_notification_type ()
 
const StringPiece get_notification_type () const
 
void set_notification_type (const StringPiece &value)
 
bool has_product_approval_event () const
 
void clear_product_approval_event ()
 
const ProductApprovalEvent get_product_approval_event () const
 
ProductApprovalEvent mutable_productApprovalEvent ()
 
bool has_product_availability_change_event () const
 
void clear_product_availability_change_event ()
 
const ProductAvailabilityChangeEvent get_product_availability_change_event () const
 
ProductAvailabilityChangeEvent mutable_productAvailabilityChangeEvent ()
 
bool has_timestamp_millis () const
 
void clear_timestamp_millis ()
 
int64 get_timestamp_millis () const
 
void set_timestamp_millis (int64 value)
 

Static Public Member Functions

static NotificationNew ()
 

Detailed Description

A notification of one event relating to an enterprise.

Constructor & Destructor Documentation

◆ Notification() [1/2]

google_androidenterprise_api::Notification::Notification ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Notification() [2/2]

google_androidenterprise_api::Notification::Notification ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Notification()

google_androidenterprise_api::Notification::~Notification ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_app_restrictions_schema_change_event()

void google_androidenterprise_api::Notification::clear_app_restrictions_schema_change_event ( )
inline

Clears the 'appRestrictionsSchemaChangeEvent' attribute.

◆ clear_app_update_event()

void google_androidenterprise_api::Notification::clear_app_update_event ( )
inline

Clears the 'appUpdateEvent' attribute.

◆ clear_device_report_update_event()

void google_androidenterprise_api::Notification::clear_device_report_update_event ( )
inline

Clears the 'deviceReportUpdateEvent' attribute.

◆ clear_enterprise_id()

void google_androidenterprise_api::Notification::clear_enterprise_id ( )
inline

Clears the 'enterpriseId' attribute.

◆ clear_install_failure_event()

void google_androidenterprise_api::Notification::clear_install_failure_event ( )
inline

Clears the 'installFailureEvent' attribute.

◆ clear_new_device_event()

void google_androidenterprise_api::Notification::clear_new_device_event ( )
inline

Clears the 'newDeviceEvent' attribute.

◆ clear_new_permissions_event()

void google_androidenterprise_api::Notification::clear_new_permissions_event ( )
inline

Clears the 'newPermissionsEvent' attribute.

◆ clear_notification_type()

void google_androidenterprise_api::Notification::clear_notification_type ( )
inline

Clears the 'notificationType' attribute.

◆ clear_product_approval_event()

void google_androidenterprise_api::Notification::clear_product_approval_event ( )
inline

Clears the 'productApprovalEvent' attribute.

◆ clear_product_availability_change_event()

void google_androidenterprise_api::Notification::clear_product_availability_change_event ( )
inline

Clears the 'productAvailabilityChangeEvent' attribute.

◆ clear_timestamp_millis()

void google_androidenterprise_api::Notification::clear_timestamp_millis ( )
inline

Clears the 'timestampMillis' attribute.

◆ get_app_restrictions_schema_change_event()

const AppRestrictionsSchemaChangeEvent google_androidenterprise_api::Notification::get_app_restrictions_schema_change_event ( ) const

Get a reference to the value of the 'appRestrictionsSchemaChangeEvent' attribute.

◆ get_app_update_event()

const AppUpdateEvent google_androidenterprise_api::Notification::get_app_update_event ( ) const

Get a reference to the value of the 'appUpdateEvent' attribute.

◆ get_device_report_update_event()

const DeviceReportUpdateEvent google_androidenterprise_api::Notification::get_device_report_update_event ( ) const

Get a reference to the value of the 'deviceReportUpdateEvent' attribute.

◆ get_enterprise_id()

const StringPiece google_androidenterprise_api::Notification::get_enterprise_id ( ) const
inline

Get the value of the 'enterpriseId' attribute.

◆ get_install_failure_event()

const InstallFailureEvent google_androidenterprise_api::Notification::get_install_failure_event ( ) const

Get a reference to the value of the 'installFailureEvent' attribute.

◆ get_new_device_event()

const NewDeviceEvent google_androidenterprise_api::Notification::get_new_device_event ( ) const

Get a reference to the value of the 'newDeviceEvent' attribute.

◆ get_new_permissions_event()

const NewPermissionsEvent google_androidenterprise_api::Notification::get_new_permissions_event ( ) const

Get a reference to the value of the 'newPermissionsEvent' attribute.

◆ get_notification_type()

const StringPiece google_androidenterprise_api::Notification::get_notification_type ( ) const
inline

Get the value of the 'notificationType' attribute.

◆ get_product_approval_event()

const ProductApprovalEvent google_androidenterprise_api::Notification::get_product_approval_event ( ) const

Get a reference to the value of the 'productApprovalEvent' attribute.

◆ get_product_availability_change_event()

const ProductAvailabilityChangeEvent google_androidenterprise_api::Notification::get_product_availability_change_event ( ) const

Get a reference to the value of the 'productAvailabilityChangeEvent' attribute.

◆ get_timestamp_millis()

int64 google_androidenterprise_api::Notification::get_timestamp_millis ( ) const
inline

Get the value of the 'timestampMillis' attribute.

◆ GetTypeName()

const StringPiece google_androidenterprise_api::Notification::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::Notification

◆ has_app_restrictions_schema_change_event()

bool google_androidenterprise_api::Notification::has_app_restrictions_schema_change_event ( ) const
inline

Determine if the 'appRestrictionsSchemaChangeEvent' attribute was set.

Returns
true if the 'appRestrictionsSchemaChangeEvent' attribute was set.

◆ has_app_update_event()

bool google_androidenterprise_api::Notification::has_app_update_event ( ) const
inline

Determine if the 'appUpdateEvent' attribute was set.

Returns
true if the 'appUpdateEvent' attribute was set.

◆ has_device_report_update_event()

bool google_androidenterprise_api::Notification::has_device_report_update_event ( ) const
inline

Determine if the 'deviceReportUpdateEvent' attribute was set.

Returns
true if the 'deviceReportUpdateEvent' attribute was set.

◆ has_enterprise_id()

bool google_androidenterprise_api::Notification::has_enterprise_id ( ) const
inline

Determine if the 'enterpriseId' attribute was set.

Returns
true if the 'enterpriseId' attribute was set.

◆ has_install_failure_event()

bool google_androidenterprise_api::Notification::has_install_failure_event ( ) const
inline

Determine if the 'installFailureEvent' attribute was set.

Returns
true if the 'installFailureEvent' attribute was set.

◆ has_new_device_event()

bool google_androidenterprise_api::Notification::has_new_device_event ( ) const
inline

Determine if the 'newDeviceEvent' attribute was set.

Returns
true if the 'newDeviceEvent' attribute was set.

◆ has_new_permissions_event()

bool google_androidenterprise_api::Notification::has_new_permissions_event ( ) const
inline

Determine if the 'newPermissionsEvent' attribute was set.

Returns
true if the 'newPermissionsEvent' attribute was set.

◆ has_notification_type()

bool google_androidenterprise_api::Notification::has_notification_type ( ) const
inline

Determine if the 'notificationType' attribute was set.

Returns
true if the 'notificationType' attribute was set.

◆ has_product_approval_event()

bool google_androidenterprise_api::Notification::has_product_approval_event ( ) const
inline

Determine if the 'productApprovalEvent' attribute was set.

Returns
true if the 'productApprovalEvent' attribute was set.

◆ has_product_availability_change_event()

bool google_androidenterprise_api::Notification::has_product_availability_change_event ( ) const
inline

Determine if the 'productAvailabilityChangeEvent' attribute was set.

Returns
true if the 'productAvailabilityChangeEvent' attribute was set.

◆ has_timestamp_millis()

bool google_androidenterprise_api::Notification::has_timestamp_millis ( ) const
inline

Determine if the 'timestampMillis' attribute was set.

Returns
true if the 'timestampMillis' attribute was set.

◆ mutable_appRestrictionsSchemaChangeEvent()

AppRestrictionsSchemaChangeEvent google_androidenterprise_api::Notification::mutable_appRestrictionsSchemaChangeEvent ( )

Gets a reference to a mutable value of the 'appRestrictionsSchemaChangeEvent' property.

Notifications about new app restrictions schema changes.

Returns
The result can be modified to change the attribute value.

◆ mutable_appUpdateEvent()

AppUpdateEvent google_androidenterprise_api::Notification::mutable_appUpdateEvent ( )

Gets a reference to a mutable value of the 'appUpdateEvent' property.

Notifications about app updates.

Returns
The result can be modified to change the attribute value.

◆ mutable_deviceReportUpdateEvent()

DeviceReportUpdateEvent google_androidenterprise_api::Notification::mutable_deviceReportUpdateEvent ( )

Gets a reference to a mutable value of the 'deviceReportUpdateEvent' property.

Notifications about device report updates.

Returns
The result can be modified to change the attribute value.

◆ mutable_installFailureEvent()

InstallFailureEvent google_androidenterprise_api::Notification::mutable_installFailureEvent ( )

Gets a reference to a mutable value of the 'installFailureEvent' property.

Notifications about an app installation failure.

Returns
The result can be modified to change the attribute value.

◆ mutable_newDeviceEvent()

NewDeviceEvent google_androidenterprise_api::Notification::mutable_newDeviceEvent ( )

Gets a reference to a mutable value of the 'newDeviceEvent' property.

Notifications about new devices.

Returns
The result can be modified to change the attribute value.

◆ mutable_newPermissionsEvent()

NewPermissionsEvent google_androidenterprise_api::Notification::mutable_newPermissionsEvent ( )

Gets a reference to a mutable value of the 'newPermissionsEvent' property.

Notifications about new app permissions.

Returns
The result can be modified to change the attribute value.

◆ mutable_productApprovalEvent()

ProductApprovalEvent google_androidenterprise_api::Notification::mutable_productApprovalEvent ( )

Gets a reference to a mutable value of the 'productApprovalEvent' property.

Notifications about changes to a product's approval status.

Returns
The result can be modified to change the attribute value.

◆ mutable_productAvailabilityChangeEvent()

ProductAvailabilityChangeEvent google_androidenterprise_api::Notification::mutable_productAvailabilityChangeEvent ( )

Gets a reference to a mutable value of the 'productAvailabilityChangeEvent' property.

Notifications about product availability changes.

Returns
The result can be modified to change the attribute value.

◆ New()

Notification * google_androidenterprise_api::Notification::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_enterprise_id()

void google_androidenterprise_api::Notification::set_enterprise_id ( const StringPiece &  value)
inline

Change the 'enterpriseId' attribute.

The ID of the enterprise for which the notification is sent. This will always be present.

Parameters
[in]valueThe new value.

◆ set_notification_type()

void google_androidenterprise_api::Notification::set_notification_type ( const StringPiece &  value)
inline

Change the 'notificationType' attribute.

Type of the notification.

Parameters
[in]valueThe new value.

◆ set_timestamp_millis()

void google_androidenterprise_api::Notification::set_timestamp_millis ( int64  value)
inline

Change the 'timestampMillis' attribute.

The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: