#include <profile.h>
Profile for a Gmail user.
◆ Profile() [1/2]
google_gmail_api::Profile::Profile |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Profile()
google_gmail_api::Profile::~Profile |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/gmail_api/profile.h
- google/gmail_api/profile.cc