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

#include <profile.h>

Inheritance diagram for google_gmail_api::Profile:

Public Member Functions

 Profile (const Json::Value &storage)
 
 Profile (Json::Value *storage)
 
virtual ~Profile ()
 
const StringPiece GetTypeName () const
 
bool has_email_address () const
 
void clear_email_address ()
 
const StringPiece get_email_address () const
 
void set_email_address (const StringPiece &value)
 
bool has_history_id () const
 
void clear_history_id ()
 
uint64 get_history_id () const
 
void set_history_id (uint64 value)
 
bool has_messages_total () const
 
void clear_messages_total ()
 
int32 get_messages_total () const
 
void set_messages_total (int32 value)
 
bool has_threads_total () const
 
void clear_threads_total ()
 
int32 get_threads_total () const
 
void set_threads_total (int32 value)
 

Static Public Member Functions

static ProfileNew ()
 

Detailed Description

Profile for a Gmail user.

Constructor & Destructor Documentation

◆ Profile() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Profile() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Profile()

google_gmail_api::Profile::~Profile ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_email_address()

void google_gmail_api::Profile::clear_email_address ( )
inline

Clears the 'emailAddress' attribute.

◆ clear_history_id()

void google_gmail_api::Profile::clear_history_id ( )
inline

Clears the 'historyId' attribute.

◆ clear_messages_total()

void google_gmail_api::Profile::clear_messages_total ( )
inline

Clears the 'messagesTotal' attribute.

◆ clear_threads_total()

void google_gmail_api::Profile::clear_threads_total ( )
inline

Clears the 'threadsTotal' attribute.

◆ get_email_address()

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

Get the value of the 'emailAddress' attribute.

◆ get_history_id()

uint64 google_gmail_api::Profile::get_history_id ( ) const
inline

Get the value of the 'historyId' attribute.

◆ get_messages_total()

int32 google_gmail_api::Profile::get_messages_total ( ) const
inline

Get the value of the 'messagesTotal' attribute.

◆ get_threads_total()

int32 google_gmail_api::Profile::get_threads_total ( ) const
inline

Get the value of the 'threadsTotal' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::Profile

◆ has_email_address()

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

Determine if the 'emailAddress' attribute was set.

Returns
true if the 'emailAddress' attribute was set.

◆ has_history_id()

bool google_gmail_api::Profile::has_history_id ( ) const
inline

Determine if the 'historyId' attribute was set.

Returns
true if the 'historyId' attribute was set.

◆ has_messages_total()

bool google_gmail_api::Profile::has_messages_total ( ) const
inline

Determine if the 'messagesTotal' attribute was set.

Returns
true if the 'messagesTotal' attribute was set.

◆ has_threads_total()

bool google_gmail_api::Profile::has_threads_total ( ) const
inline

Determine if the 'threadsTotal' attribute was set.

Returns
true if the 'threadsTotal' attribute was set.

◆ New()

Profile * google_gmail_api::Profile::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_email_address()

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

Change the 'emailAddress' attribute.

The user's email address.

Parameters
[in]valueThe new value.

◆ set_history_id()

void google_gmail_api::Profile::set_history_id ( uint64  value)
inline

Change the 'historyId' attribute.

The ID of the mailbox's current history record.

Parameters
[in]valueThe new value.

◆ set_messages_total()

void google_gmail_api::Profile::set_messages_total ( int32  value)
inline

Change the 'messagesTotal' attribute.

The total number of messages in the mailbox.

Parameters
[in]valueThe new value.

◆ set_threads_total()

void google_gmail_api::Profile::set_threads_total ( int32  value)
inline

Change the 'threadsTotal' attribute.

The total number of threads in the mailbox.

Parameters
[in]valueThe new value.

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