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

#include <delegate.h>

Inheritance diagram for google_gmail_api::Delegate:

Public Member Functions

 Delegate (const Json::Value &storage)
 
 Delegate (Json::Value *storage)
 
virtual ~Delegate ()
 
const StringPiece GetTypeName () const
 
bool has_delegate_email () const
 
void clear_delegate_email ()
 
const StringPiece get_delegate_email () const
 
void set_delegate_email (const StringPiece &value)
 
bool has_verification_status () const
 
void clear_verification_status ()
 
const StringPiece get_verification_status () const
 
void set_verification_status (const StringPiece &value)
 

Static Public Member Functions

static DelegateNew ()
 

Detailed Description

Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates.

Constructor & Destructor Documentation

◆ Delegate() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Delegate() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Delegate()

google_gmail_api::Delegate::~Delegate ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_delegate_email()

void google_gmail_api::Delegate::clear_delegate_email ( )
inline

Clears the 'delegateEmail' attribute.

◆ clear_verification_status()

void google_gmail_api::Delegate::clear_verification_status ( )
inline

Clears the 'verificationStatus' attribute.

◆ get_delegate_email()

const StringPiece google_gmail_api::Delegate::get_delegate_email ( ) const
inline

Get the value of the 'delegateEmail' attribute.

◆ get_verification_status()

const StringPiece google_gmail_api::Delegate::get_verification_status ( ) const
inline

Get the value of the 'verificationStatus' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::Delegate

◆ has_delegate_email()

bool google_gmail_api::Delegate::has_delegate_email ( ) const
inline

Determine if the 'delegateEmail' attribute was set.

Returns
true if the 'delegateEmail' attribute was set.

◆ has_verification_status()

bool google_gmail_api::Delegate::has_verification_status ( ) const
inline

Determine if the 'verificationStatus' attribute was set.

Returns
true if the 'verificationStatus' attribute was set.

◆ New()

Delegate * google_gmail_api::Delegate::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_delegate_email()

void google_gmail_api::Delegate::set_delegate_email ( const StringPiece &  value)
inline

Change the 'delegateEmail' attribute.

The email address of the delegate.

Parameters
[in]valueThe new value.

◆ set_verification_status()

void google_gmail_api::Delegate::set_verification_status ( const StringPiece &  value)
inline

Change the 'verificationStatus' attribute.

Indicates whether this address has been verified and can act as a delegate for the account. Read-only.

Parameters
[in]valueThe new value.

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