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

#include <notification_set.h>

Inheritance diagram for google_androidenterprise_api::NotificationSet:

Public Member Functions

 NotificationSet (const Json::Value &storage)
 
 NotificationSet (Json::Value *storage)
 
virtual ~NotificationSet ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_notification () const
 
void clear_notification ()
 
const client::JsonCppArray< Notificationget_notification () const
 
client::JsonCppArray< Notificationmutable_notification ()
 
bool has_notification_set_id () const
 
void clear_notification_set_id ()
 
const StringPiece get_notification_set_id () const
 
void set_notification_set_id (const StringPiece &value)
 

Static Public Member Functions

static NotificationSetNew ()
 

Detailed Description

A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.

Constructor & Destructor Documentation

◆ NotificationSet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NotificationSet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NotificationSet()

google_androidenterprise_api::NotificationSet::~NotificationSet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_androidenterprise_api::NotificationSet::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_notification()

void google_androidenterprise_api::NotificationSet::clear_notification ( )
inline

Clears the 'notification' attribute.

◆ clear_notification_set_id()

void google_androidenterprise_api::NotificationSet::clear_notification_set_id ( )
inline

Clears the 'notificationSetId' attribute.

◆ get_kind()

const StringPiece google_androidenterprise_api::NotificationSet::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_notification()

const client::JsonCppArray<Notification > google_androidenterprise_api::NotificationSet::get_notification ( ) const

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

◆ get_notification_set_id()

const StringPiece google_androidenterprise_api::NotificationSet::get_notification_set_id ( ) const
inline

Get the value of the 'notificationSetId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::NotificationSet

◆ has_kind()

bool google_androidenterprise_api::NotificationSet::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_notification()

bool google_androidenterprise_api::NotificationSet::has_notification ( ) const
inline

Determine if the 'notification' attribute was set.

Returns
true if the 'notification' attribute was set.

◆ has_notification_set_id()

bool google_androidenterprise_api::NotificationSet::has_notification_set_id ( ) const
inline

Determine if the 'notificationSetId' attribute was set.

Returns
true if the 'notificationSetId' attribute was set.

◆ mutable_notification()

client::JsonCppArray<Notification > google_androidenterprise_api::NotificationSet::mutable_notification ( )

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

The notifications received, or empty if no notifications are present.

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

◆ New()

NotificationSet * google_androidenterprise_api::NotificationSet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_androidenterprise_api::NotificationSet::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_notification_set_id()

void google_androidenterprise_api::NotificationSet::set_notification_set_id ( const StringPiece &  value)
inline

Change the 'notificationSetId' attribute.

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
[in]valueThe new value.

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