books  v1
Public Member Functions | Static Public Member Functions | List of all members
google_books_api::Notification Class Reference

#include <notification.h>

Inheritance diagram for google_books_api::Notification:

Public Member Functions

 Notification (const Json::Value &storage)
 
 Notification (Json::Value *storage)
 
virtual ~Notification ()
 
const StringPiece GetTypeName () const
 
bool has_body () const
 
void clear_body ()
 
const StringPiece get_body () const
 
void set_body (const StringPiece &value)
 
bool has_crm_experiment_ids () const
 
void clear_crm_experiment_ids ()
 
const client::JsonCppArray< int64 > get_crm_experiment_ids () const
 
client::JsonCppArray< int64 > mutable_crmExperimentIds ()
 
bool has_doc_id () const
 
void clear_doc_id ()
 
const StringPiece get_doc_id () const
 
void set_doc_id (const StringPiece &value)
 
bool has_doc_type () const
 
void clear_doc_type ()
 
const StringPiece get_doc_type () const
 
void set_doc_type (const StringPiece &value)
 
bool has_dont_show_notification () const
 
void clear_dont_show_notification ()
 
bool get_dont_show_notification () const
 
void set_dont_show_notification (bool value)
 
bool has_icon_url () const
 
void clear_icon_url ()
 
const StringPiece get_icon_url () const
 
void set_icon_url (const StringPiece &value)
 
bool has_is_document_mature () const
 
void clear_is_document_mature ()
 
bool get_is_document_mature () const
 
void set_is_document_mature (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_notification_group () const
 
void clear_notification_group ()
 
const StringPiece get_notification_group () const
 
void set_notification_group (const StringPiece &value)
 
bool has_notification_type () const
 
void clear_notification_type ()
 
const StringPiece get_notification_type () const
 
void set_notification_type (const StringPiece &value)
 
bool has_pcampaign_id () const
 
void clear_pcampaign_id ()
 
const StringPiece get_pcampaign_id () const
 
void set_pcampaign_id (const StringPiece &value)
 
bool has_reason () const
 
void clear_reason ()
 
const StringPiece get_reason () const
 
void set_reason (const StringPiece &value)
 
bool has_show_notification_settings_action () const
 
void clear_show_notification_settings_action ()
 
bool get_show_notification_settings_action () const
 
void set_show_notification_settings_action (bool value)
 
bool has_target_url () const
 
void clear_target_url ()
 
const StringPiece get_target_url () const
 
void set_target_url (const StringPiece &value)
 
bool has_time_to_expire_ms () const
 
void clear_time_to_expire_ms ()
 
int64 get_time_to_expire_ms () const
 
void set_time_to_expire_ms (int64 value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static NotificationNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Notification() [1/2]

google_books_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_books_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_books_api::Notification::~Notification ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_body()

void google_books_api::Notification::clear_body ( )
inline

Clears the 'body' attribute.

◆ clear_crm_experiment_ids()

void google_books_api::Notification::clear_crm_experiment_ids ( )
inline

Clears the 'crmExperimentIds' attribute.

◆ clear_doc_id()

void google_books_api::Notification::clear_doc_id ( )
inline

Clears the 'doc_id' attribute.

◆ clear_doc_type()

void google_books_api::Notification::clear_doc_type ( )
inline

Clears the 'doc_type' attribute.

◆ clear_dont_show_notification()

void google_books_api::Notification::clear_dont_show_notification ( )
inline

Clears the 'dont_show_notification' attribute.

◆ clear_icon_url()

void google_books_api::Notification::clear_icon_url ( )
inline

Clears the 'iconUrl' attribute.

◆ clear_is_document_mature()

void google_books_api::Notification::clear_is_document_mature ( )
inline

Clears the 'is_document_mature' attribute.

◆ clear_kind()

void google_books_api::Notification::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_notification_group()

void google_books_api::Notification::clear_notification_group ( )
inline

Clears the 'notificationGroup' attribute.

◆ clear_notification_type()

void google_books_api::Notification::clear_notification_type ( )
inline

Clears the 'notification_type' attribute.

◆ clear_pcampaign_id()

void google_books_api::Notification::clear_pcampaign_id ( )
inline

Clears the 'pcampaign_id' attribute.

◆ clear_reason()

void google_books_api::Notification::clear_reason ( )
inline

Clears the 'reason' attribute.

◆ clear_show_notification_settings_action()

void google_books_api::Notification::clear_show_notification_settings_action ( )
inline

Clears the 'show_notification_settings_action' attribute.

◆ clear_target_url()

void google_books_api::Notification::clear_target_url ( )
inline

Clears the 'targetUrl' attribute.

◆ clear_time_to_expire_ms()

void google_books_api::Notification::clear_time_to_expire_ms ( )
inline

Clears the 'timeToExpireMs' attribute.

◆ clear_title()

void google_books_api::Notification::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_body()

const StringPiece google_books_api::Notification::get_body ( ) const
inline

Get the value of the 'body' attribute.

◆ get_crm_experiment_ids()

const client::JsonCppArray<int64 > google_books_api::Notification::get_crm_experiment_ids ( ) const
inline

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

◆ get_doc_id()

const StringPiece google_books_api::Notification::get_doc_id ( ) const
inline

Get the value of the 'doc_id' attribute.

◆ get_doc_type()

const StringPiece google_books_api::Notification::get_doc_type ( ) const
inline

Get the value of the 'doc_type' attribute.

◆ get_dont_show_notification()

bool google_books_api::Notification::get_dont_show_notification ( ) const
inline

Get the value of the 'dont_show_notification' attribute.

◆ get_icon_url()

const StringPiece google_books_api::Notification::get_icon_url ( ) const
inline

Get the value of the 'iconUrl' attribute.

◆ get_is_document_mature()

bool google_books_api::Notification::get_is_document_mature ( ) const
inline

Get the value of the 'is_document_mature' attribute.

◆ get_kind()

const StringPiece google_books_api::Notification::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_notification_group()

const StringPiece google_books_api::Notification::get_notification_group ( ) const
inline

Get the value of the 'notificationGroup' attribute.

◆ get_notification_type()

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

Get the value of the 'notification_type' attribute.

◆ get_pcampaign_id()

const StringPiece google_books_api::Notification::get_pcampaign_id ( ) const
inline

Get the value of the 'pcampaign_id' attribute.

◆ get_reason()

const StringPiece google_books_api::Notification::get_reason ( ) const
inline

Get the value of the 'reason' attribute.

◆ get_show_notification_settings_action()

bool google_books_api::Notification::get_show_notification_settings_action ( ) const
inline

Get the value of the 'show_notification_settings_action' attribute.

◆ get_target_url()

const StringPiece google_books_api::Notification::get_target_url ( ) const
inline

Get the value of the 'targetUrl' attribute.

◆ get_time_to_expire_ms()

int64 google_books_api::Notification::get_time_to_expire_ms ( ) const
inline

Get the value of the 'timeToExpireMs' attribute.

◆ get_title()

const StringPiece google_books_api::Notification::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_books_api::Notification

◆ has_body()

bool google_books_api::Notification::has_body ( ) const
inline

Determine if the 'body' attribute was set.

Returns
true if the 'body' attribute was set.

◆ has_crm_experiment_ids()

bool google_books_api::Notification::has_crm_experiment_ids ( ) const
inline

Determine if the 'crmExperimentIds' attribute was set.

Returns
true if the 'crmExperimentIds' attribute was set.

◆ has_doc_id()

bool google_books_api::Notification::has_doc_id ( ) const
inline

Determine if the 'doc_id' attribute was set.

Returns
true if the 'doc_id' attribute was set.

◆ has_doc_type()

bool google_books_api::Notification::has_doc_type ( ) const
inline

Determine if the 'doc_type' attribute was set.

Returns
true if the 'doc_type' attribute was set.

◆ has_dont_show_notification()

bool google_books_api::Notification::has_dont_show_notification ( ) const
inline

Determine if the 'dont_show_notification' attribute was set.

Returns
true if the 'dont_show_notification' attribute was set.

◆ has_icon_url()

bool google_books_api::Notification::has_icon_url ( ) const
inline

Determine if the 'iconUrl' attribute was set.

Returns
true if the 'iconUrl' attribute was set.

◆ has_is_document_mature()

bool google_books_api::Notification::has_is_document_mature ( ) const
inline

Determine if the 'is_document_mature' attribute was set.

Returns
true if the 'is_document_mature' attribute was set.

◆ has_kind()

bool google_books_api::Notification::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_notification_group()

bool google_books_api::Notification::has_notification_group ( ) const
inline

Determine if the 'notificationGroup' attribute was set.

Returns
true if the 'notificationGroup' attribute was set.

◆ has_notification_type()

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

Determine if the 'notification_type' attribute was set.

Returns
true if the 'notification_type' attribute was set.

◆ has_pcampaign_id()

bool google_books_api::Notification::has_pcampaign_id ( ) const
inline

Determine if the 'pcampaign_id' attribute was set.

Returns
true if the 'pcampaign_id' attribute was set.

◆ has_reason()

bool google_books_api::Notification::has_reason ( ) const
inline

Determine if the 'reason' attribute was set.

Returns
true if the 'reason' attribute was set.

◆ has_show_notification_settings_action()

bool google_books_api::Notification::has_show_notification_settings_action ( ) const
inline

Determine if the 'show_notification_settings_action' attribute was set.

Returns
true if the 'show_notification_settings_action' attribute was set.

◆ has_target_url()

bool google_books_api::Notification::has_target_url ( ) const
inline

Determine if the 'targetUrl' attribute was set.

Returns
true if the 'targetUrl' attribute was set.

◆ has_time_to_expire_ms()

bool google_books_api::Notification::has_time_to_expire_ms ( ) const
inline

Determine if the 'timeToExpireMs' attribute was set.

Returns
true if the 'timeToExpireMs' attribute was set.

◆ has_title()

bool google_books_api::Notification::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_crmExperimentIds()

client::JsonCppArray<int64 > google_books_api::Notification::mutable_crmExperimentIds ( )
inline

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

The list of crm experiment ids.

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

◆ New()

Notification * google_books_api::Notification::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_body()

void google_books_api::Notification::set_body ( const StringPiece &  value)
inline

Change the 'body' attribute.

Parameters
[in]valueThe new value.

◆ set_doc_id()

void google_books_api::Notification::set_doc_id ( const StringPiece &  value)
inline

Change the 'doc_id' attribute.

Parameters
[in]valueThe new value.

◆ set_doc_type()

void google_books_api::Notification::set_doc_type ( const StringPiece &  value)
inline

Change the 'doc_type' attribute.

Parameters
[in]valueThe new value.

◆ set_dont_show_notification()

void google_books_api::Notification::set_dont_show_notification ( bool  value)
inline

Change the 'dont_show_notification' attribute.

Parameters
[in]valueThe new value.

◆ set_icon_url()

void google_books_api::Notification::set_icon_url ( const StringPiece &  value)
inline

Change the 'iconUrl' attribute.

Parameters
[in]valueThe new value.

◆ set_is_document_mature()

void google_books_api::Notification::set_is_document_mature ( bool  value)
inline

Change the 'is_document_mature' attribute.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_books_api::Notification::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Resource type.

Parameters
[in]valueThe new value.

◆ set_notification_group()

void google_books_api::Notification::set_notification_group ( const StringPiece &  value)
inline

Change the 'notificationGroup' attribute.

Parameters
[in]valueThe new value.

◆ set_notification_type()

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

Change the 'notification_type' attribute.

Parameters
[in]valueThe new value.

◆ set_pcampaign_id()

void google_books_api::Notification::set_pcampaign_id ( const StringPiece &  value)
inline

Change the 'pcampaign_id' attribute.

Parameters
[in]valueThe new value.

◆ set_reason()

void google_books_api::Notification::set_reason ( const StringPiece &  value)
inline

Change the 'reason' attribute.

Parameters
[in]valueThe new value.

◆ set_show_notification_settings_action()

void google_books_api::Notification::set_show_notification_settings_action ( bool  value)
inline

Change the 'show_notification_settings_action' attribute.

Parameters
[in]valueThe new value.

◆ set_target_url()

void google_books_api::Notification::set_target_url ( const StringPiece &  value)
inline

Change the 'targetUrl' attribute.

Parameters
[in]valueThe new value.

◆ set_time_to_expire_ms()

void google_books_api::Notification::set_time_to_expire_ms ( int64  value)
inline

Change the 'timeToExpireMs' attribute.

Parameters
[in]valueThe new value.

◆ set_title()

void google_books_api::Notification::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Parameters
[in]valueThe new value.

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