gmail
v1
|
#include <send_as.h>
Public Member Functions | |
SendAs (const Json::Value &storage) | |
SendAs (Json::Value *storage) | |
virtual | ~SendAs () |
const StringPiece | GetTypeName () const |
bool | has_display_name () const |
void | clear_display_name () |
const StringPiece | get_display_name () const |
void | set_display_name (const StringPiece &value) |
bool | has_is_default () const |
void | clear_is_default () |
bool | get_is_default () const |
void | set_is_default (bool value) |
bool | has_is_primary () const |
void | clear_is_primary () |
bool | get_is_primary () const |
void | set_is_primary (bool value) |
bool | has_reply_to_address () const |
void | clear_reply_to_address () |
const StringPiece | get_reply_to_address () const |
void | set_reply_to_address (const StringPiece &value) |
bool | has_send_as_email () const |
void | clear_send_as_email () |
const StringPiece | get_send_as_email () const |
void | set_send_as_email (const StringPiece &value) |
bool | has_signature () const |
void | clear_signature () |
const StringPiece | get_signature () const |
void | set_signature (const StringPiece &value) |
bool | has_smtp_msa () const |
void | clear_smtp_msa () |
const SmtpMsa | get_smtp_msa () const |
SmtpMsa | mutable_smtpMsa () |
bool | has_treat_as_alias () const |
void | clear_treat_as_alias () |
bool | get_treat_as_alias () const |
void | set_treat_as_alias (bool 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 SendAs * | New () |
Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address. Send-as aliases correspond to the "Send Mail As" feature in the web interface.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'displayName
' attribute.
|
inline |
Clears the 'isDefault
' attribute.
|
inline |
Clears the 'isPrimary
' attribute.
|
inline |
Clears the 'replyToAddress
' attribute.
|
inline |
Clears the 'sendAsEmail
' attribute.
|
inline |
Clears the 'signature
' attribute.
|
inline |
Clears the 'smtpMsa
' attribute.
|
inline |
Clears the 'treatAsAlias
' attribute.
|
inline |
Clears the 'verificationStatus
' attribute.
|
inline |
Get the value of the 'displayName
' attribute.
|
inline |
Get the value of the 'isDefault
' attribute.
|
inline |
Get the value of the 'isPrimary
' attribute.
|
inline |
Get the value of the 'replyToAddress
' attribute.
|
inline |
Get the value of the 'sendAsEmail
' attribute.
|
inline |
Get the value of the 'signature
' attribute.
const SmtpMsa google_gmail_api::SendAs::get_smtp_msa | ( | ) | const |
Get a reference to the value of the 'smtpMsa
' attribute.
|
inline |
Get the value of the 'treatAsAlias
' attribute.
|
inline |
Get the value of the 'verificationStatus
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_gmail_api::SendAs
|
inline |
Determine if the 'displayName
' attribute was set.
displayName
' attribute was set.
|
inline |
Determine if the 'isDefault
' attribute was set.
isDefault
' attribute was set.
|
inline |
Determine if the 'isPrimary
' attribute was set.
isPrimary
' attribute was set.
|
inline |
Determine if the 'replyToAddress
' attribute was set.
replyToAddress
' attribute was set.
|
inline |
Determine if the 'sendAsEmail
' attribute was set.
sendAsEmail
' attribute was set.
|
inline |
Determine if the 'signature
' attribute was set.
signature
' attribute was set.
|
inline |
Determine if the 'smtpMsa
' attribute was set.
smtpMsa
' attribute was set.
|
inline |
Determine if the 'treatAsAlias
' attribute was set.
treatAsAlias
' attribute was set.
|
inline |
Determine if the 'verificationStatus
' attribute was set.
verificationStatus
' attribute was set. SmtpMsa google_gmail_api::SendAs::mutable_smtpMsa | ( | ) |
Gets a reference to a mutable value of the 'smtpMsa
' property.
An optional SMTP service that will be used as an outbound relay for mail sent using this alias. If this is empty, outbound mail will be sent directly from Gmail's servers to the destination SMTP service. This setting only applies to custom "from" aliases.
|
static |
Creates a new default instance.
|
inline |
Change the 'displayName
' attribute.
A name that appears in the "From:" header for mail sent using this alias. For custom "from" addresses, when this is empty, Gmail will populate the "From:" header with the name that is used for the primary address associated with the account. If the admin has disabled the ability for users to update their name format, requests to update this field for the primary login will silently fail.
[in] | value | The new value. |
|
inline |
Change the 'isDefault
' attribute.
Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto- reply. Every Gmail account has exactly one default send-as address, so the only legal value that clients may write to this field is true. Changing this from false to true for an address will result in this field becoming false for the other previous default address.
[in] | value | The new value. |
|
inline |
Change the 'isPrimary
' attribute.
Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary address, and it cannot be deleted from the collection of send-as aliases. This field is read-only.
[in] | value | The new value. |
|
inline |
Change the 'replyToAddress
' attribute.
An optional email address that is included in a "Reply-To:" header for mail sent using this alias. If this is empty, Gmail will not generate a "Reply- To:" header.
[in] | value | The new value. |
|
inline |
Change the 'sendAsEmail
' attribute.
The email address that appears in the "From:" header for mail sent using this alias. This is read-only for all operations except create.
[in] | value | The new value. |
|
inline |
Change the 'signature
' attribute.
An optional HTML signature that is included in messages composed with this alias in the Gmail web UI.
[in] | value | The new value. |
|
inline |
Change the 'treatAsAlias
' attribute.
Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom "from" aliases.
[in] | value | The new value. |
|
inline |
Change the 'verificationStatus
' attribute.
Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases.
[in] | value | The new value. |