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

#include <pop_settings.h>

Inheritance diagram for google_gmail_api::PopSettings:

Public Member Functions

 PopSettings (const Json::Value &storage)
 
 PopSettings (Json::Value *storage)
 
virtual ~PopSettings ()
 
const StringPiece GetTypeName () const
 
bool has_access_window () const
 
void clear_access_window ()
 
const StringPiece get_access_window () const
 
void set_access_window (const StringPiece &value)
 
bool has_disposition () const
 
void clear_disposition ()
 
const StringPiece get_disposition () const
 
void set_disposition (const StringPiece &value)
 

Static Public Member Functions

static PopSettingsNew ()
 

Detailed Description

POP settings for an account.

Constructor & Destructor Documentation

◆ PopSettings() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ PopSettings() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~PopSettings()

google_gmail_api::PopSettings::~PopSettings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_access_window()

void google_gmail_api::PopSettings::clear_access_window ( )
inline

Clears the 'accessWindow' attribute.

◆ clear_disposition()

void google_gmail_api::PopSettings::clear_disposition ( )
inline

Clears the 'disposition' attribute.

◆ get_access_window()

const StringPiece google_gmail_api::PopSettings::get_access_window ( ) const
inline

Get the value of the 'accessWindow' attribute.

◆ get_disposition()

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

Get the value of the 'disposition' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::PopSettings

◆ has_access_window()

bool google_gmail_api::PopSettings::has_access_window ( ) const
inline

Determine if the 'accessWindow' attribute was set.

Returns
true if the 'accessWindow' attribute was set.

◆ has_disposition()

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

Determine if the 'disposition' attribute was set.

Returns
true if the 'disposition' attribute was set.

◆ New()

PopSettings * google_gmail_api::PopSettings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_access_window()

void google_gmail_api::PopSettings::set_access_window ( const StringPiece &  value)
inline

Change the 'accessWindow' attribute.

The range of messages which are accessible via POP.

Parameters
[in]valueThe new value.

◆ set_disposition()

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

Change the 'disposition' attribute.

The action that will be executed on a message after it has been fetched via POP.

Parameters
[in]valueThe new value.

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