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

#include <auto_forwarding.h>

Inheritance diagram for google_gmail_api::AutoForwarding:

Public Member Functions

 AutoForwarding (const Json::Value &storage)
 
 AutoForwarding (Json::Value *storage)
 
virtual ~AutoForwarding ()
 
const StringPiece GetTypeName () const
 
bool has_disposition () const
 
void clear_disposition ()
 
const StringPiece get_disposition () const
 
void set_disposition (const StringPiece &value)
 
bool has_email_address () const
 
void clear_email_address ()
 
const StringPiece get_email_address () const
 
void set_email_address (const StringPiece &value)
 
bool has_enabled () const
 
void clear_enabled ()
 
bool get_enabled () const
 
void set_enabled (bool value)
 

Static Public Member Functions

static AutoForwardingNew ()
 

Detailed Description

Auto-forwarding settings for an account.

Constructor & Destructor Documentation

◆ AutoForwarding() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AutoForwarding() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AutoForwarding()

google_gmail_api::AutoForwarding::~AutoForwarding ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disposition()

void google_gmail_api::AutoForwarding::clear_disposition ( )
inline

Clears the 'disposition' attribute.

◆ clear_email_address()

void google_gmail_api::AutoForwarding::clear_email_address ( )
inline

Clears the 'emailAddress' attribute.

◆ clear_enabled()

void google_gmail_api::AutoForwarding::clear_enabled ( )
inline

Clears the 'enabled' attribute.

◆ get_disposition()

const StringPiece google_gmail_api::AutoForwarding::get_disposition ( ) const
inline

Get the value of the 'disposition' attribute.

◆ get_email_address()

const StringPiece google_gmail_api::AutoForwarding::get_email_address ( ) const
inline

Get the value of the 'emailAddress' attribute.

◆ get_enabled()

bool google_gmail_api::AutoForwarding::get_enabled ( ) const
inline

Get the value of the 'enabled' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::AutoForwarding

◆ has_disposition()

bool google_gmail_api::AutoForwarding::has_disposition ( ) const
inline

Determine if the 'disposition' attribute was set.

Returns
true if the 'disposition' attribute was set.

◆ has_email_address()

bool google_gmail_api::AutoForwarding::has_email_address ( ) const
inline

Determine if the 'emailAddress' attribute was set.

Returns
true if the 'emailAddress' attribute was set.

◆ has_enabled()

bool google_gmail_api::AutoForwarding::has_enabled ( ) const
inline

Determine if the 'enabled' attribute was set.

Returns
true if the 'enabled' attribute was set.

◆ New()

AutoForwarding * google_gmail_api::AutoForwarding::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_disposition()

void google_gmail_api::AutoForwarding::set_disposition ( const StringPiece &  value)
inline

Change the 'disposition' attribute.

The state that a message should be left in after it has been forwarded.

Parameters
[in]valueThe new value.

◆ set_email_address()

void google_gmail_api::AutoForwarding::set_email_address ( const StringPiece &  value)
inline

Change the 'emailAddress' attribute.

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

Parameters
[in]valueThe new value.

◆ set_enabled()

void google_gmail_api::AutoForwarding::set_enabled ( bool  value)
inline

Change the 'enabled' attribute.

Whether all incoming mail is automatically forwarded to another address.

Parameters
[in]valueThe new value.

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