#include <auto_forwarding.h>
Auto-forwarding settings for an account.
◆ AutoForwarding() [1/2]
google_gmail_api::AutoForwarding::AutoForwarding |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~AutoForwarding()
google_gmail_api::AutoForwarding::~AutoForwarding |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: