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

#include <smtp_msa.h>

Inheritance diagram for google_gmail_api::SmtpMsa:

Public Member Functions

 SmtpMsa (const Json::Value &storage)
 
 SmtpMsa (Json::Value *storage)
 
virtual ~SmtpMsa ()
 
const StringPiece GetTypeName () const
 
bool has_host () const
 
void clear_host ()
 
const StringPiece get_host () const
 
void set_host (const StringPiece &value)
 
bool has_password () const
 
void clear_password ()
 
const StringPiece get_password () const
 
void set_password (const StringPiece &value)
 
bool has_port () const
 
void clear_port ()
 
int32 get_port () const
 
void set_port (int32 value)
 
bool has_security_mode () const
 
void clear_security_mode ()
 
const StringPiece get_security_mode () const
 
void set_security_mode (const StringPiece &value)
 
bool has_username () const
 
void clear_username ()
 
const StringPiece get_username () const
 
void set_username (const StringPiece &value)
 

Static Public Member Functions

static SmtpMsaNew ()
 

Detailed Description

Configuration for communication with an SMTP service.

Constructor & Destructor Documentation

◆ SmtpMsa() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SmtpMsa() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SmtpMsa()

google_gmail_api::SmtpMsa::~SmtpMsa ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_host()

void google_gmail_api::SmtpMsa::clear_host ( )
inline

Clears the 'host' attribute.

◆ clear_password()

void google_gmail_api::SmtpMsa::clear_password ( )
inline

Clears the 'password' attribute.

◆ clear_port()

void google_gmail_api::SmtpMsa::clear_port ( )
inline

Clears the 'port' attribute.

◆ clear_security_mode()

void google_gmail_api::SmtpMsa::clear_security_mode ( )
inline

Clears the 'securityMode' attribute.

◆ clear_username()

void google_gmail_api::SmtpMsa::clear_username ( )
inline

Clears the 'username' attribute.

◆ get_host()

const StringPiece google_gmail_api::SmtpMsa::get_host ( ) const
inline

Get the value of the 'host' attribute.

◆ get_password()

const StringPiece google_gmail_api::SmtpMsa::get_password ( ) const
inline

Get the value of the 'password' attribute.

◆ get_port()

int32 google_gmail_api::SmtpMsa::get_port ( ) const
inline

Get the value of the 'port' attribute.

◆ get_security_mode()

const StringPiece google_gmail_api::SmtpMsa::get_security_mode ( ) const
inline

Get the value of the 'securityMode' attribute.

◆ get_username()

const StringPiece google_gmail_api::SmtpMsa::get_username ( ) const
inline

Get the value of the 'username' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::SmtpMsa

◆ has_host()

bool google_gmail_api::SmtpMsa::has_host ( ) const
inline

Determine if the 'host' attribute was set.

Returns
true if the 'host' attribute was set.

◆ has_password()

bool google_gmail_api::SmtpMsa::has_password ( ) const
inline

Determine if the 'password' attribute was set.

Returns
true if the 'password' attribute was set.

◆ has_port()

bool google_gmail_api::SmtpMsa::has_port ( ) const
inline

Determine if the 'port' attribute was set.

Returns
true if the 'port' attribute was set.

◆ has_security_mode()

bool google_gmail_api::SmtpMsa::has_security_mode ( ) const
inline

Determine if the 'securityMode' attribute was set.

Returns
true if the 'securityMode' attribute was set.

◆ has_username()

bool google_gmail_api::SmtpMsa::has_username ( ) const
inline

Determine if the 'username' attribute was set.

Returns
true if the 'username' attribute was set.

◆ New()

SmtpMsa * google_gmail_api::SmtpMsa::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_host()

void google_gmail_api::SmtpMsa::set_host ( const StringPiece &  value)
inline

Change the 'host' attribute.

The hostname of the SMTP service. Required.

Parameters
[in]valueThe new value.

◆ set_password()

void google_gmail_api::SmtpMsa::set_password ( const StringPiece &  value)
inline

Change the 'password' attribute.

The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

Parameters
[in]valueThe new value.

◆ set_port()

void google_gmail_api::SmtpMsa::set_port ( int32  value)
inline

Change the 'port' attribute.

The port of the SMTP service. Required.

Parameters
[in]valueThe new value.

◆ set_security_mode()

void google_gmail_api::SmtpMsa::set_security_mode ( const StringPiece &  value)
inline

Change the 'securityMode' attribute.

The protocol that will be used to secure communication with the SMTP service. Required.

Parameters
[in]valueThe new value.

◆ set_username()

void google_gmail_api::SmtpMsa::set_username ( const StringPiece &  value)
inline

Change the 'username' attribute.

The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

Parameters
[in]valueThe new value.

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