gmail  v1
Public Member Functions | Static Public Member Functions | List of all members
google_gmail_api::ModifyMessageRequest Class Reference

#include <modify_message_request.h>

Inheritance diagram for google_gmail_api::ModifyMessageRequest:

Public Member Functions

 ModifyMessageRequest (const Json::Value &storage)
 
 ModifyMessageRequest (Json::Value *storage)
 
virtual ~ModifyMessageRequest ()
 
const StringPiece GetTypeName () const
 
bool has_add_label_ids () const
 
void clear_add_label_ids ()
 
const client::JsonCppArray< string > get_add_label_ids () const
 
client::JsonCppArray< string > mutable_addLabelIds ()
 
bool has_remove_label_ids () const
 
void clear_remove_label_ids ()
 
const client::JsonCppArray< string > get_remove_label_ids () const
 
client::JsonCppArray< string > mutable_removeLabelIds ()
 

Static Public Member Functions

static ModifyMessageRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ModifyMessageRequest() [1/2]

google_gmail_api::ModifyMessageRequest::ModifyMessageRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ModifyMessageRequest() [2/2]

google_gmail_api::ModifyMessageRequest::ModifyMessageRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ModifyMessageRequest()

google_gmail_api::ModifyMessageRequest::~ModifyMessageRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_add_label_ids()

void google_gmail_api::ModifyMessageRequest::clear_add_label_ids ( )
inline

Clears the 'addLabelIds' attribute.

◆ clear_remove_label_ids()

void google_gmail_api::ModifyMessageRequest::clear_remove_label_ids ( )
inline

Clears the 'removeLabelIds' attribute.

◆ get_add_label_ids()

const client::JsonCppArray<string > google_gmail_api::ModifyMessageRequest::get_add_label_ids ( ) const
inline

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

◆ get_remove_label_ids()

const client::JsonCppArray<string > google_gmail_api::ModifyMessageRequest::get_remove_label_ids ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_gmail_api::ModifyMessageRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_gmail_api::ModifyMessageRequest

◆ has_add_label_ids()

bool google_gmail_api::ModifyMessageRequest::has_add_label_ids ( ) const
inline

Determine if the 'addLabelIds' attribute was set.

Returns
true if the 'addLabelIds' attribute was set.

◆ has_remove_label_ids()

bool google_gmail_api::ModifyMessageRequest::has_remove_label_ids ( ) const
inline

Determine if the 'removeLabelIds' attribute was set.

Returns
true if the 'removeLabelIds' attribute was set.

◆ mutable_addLabelIds()

client::JsonCppArray<string > google_gmail_api::ModifyMessageRequest::mutable_addLabelIds ( )
inline

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

A list of IDs of labels to add to this message.

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

◆ mutable_removeLabelIds()

client::JsonCppArray<string > google_gmail_api::ModifyMessageRequest::mutable_removeLabelIds ( )
inline

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

A list IDs of labels to remove from this message.

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

◆ New()

ModifyMessageRequest * google_gmail_api::ModifyMessageRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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