|
gmail
v1
|
#include <history.h>
Public Member Functions | |
| History (const Json::Value &storage) | |
| History (Json::Value *storage) | |
| virtual | ~History () |
| const StringPiece | GetTypeName () const |
| bool | has_id () const |
| void | clear_id () |
| uint64 | get_id () const |
| void | set_id (uint64 value) |
| bool | has_labels_added () const |
| void | clear_labels_added () |
| const client::JsonCppArray< HistoryLabelAdded > | get_labels_added () const |
| client::JsonCppArray< HistoryLabelAdded > | mutable_labelsAdded () |
| bool | has_labels_removed () const |
| void | clear_labels_removed () |
| const client::JsonCppArray< HistoryLabelRemoved > | get_labels_removed () const |
| client::JsonCppArray< HistoryLabelRemoved > | mutable_labelsRemoved () |
| bool | has_messages () const |
| void | clear_messages () |
| const client::JsonCppArray< Message > | get_messages () const |
| client::JsonCppArray< Message > | mutable_messages () |
| bool | has_messages_added () const |
| void | clear_messages_added () |
| const client::JsonCppArray< HistoryMessageAdded > | get_messages_added () const |
| client::JsonCppArray< HistoryMessageAdded > | mutable_messagesAdded () |
| bool | has_messages_deleted () const |
| void | clear_messages_deleted () |
| const client::JsonCppArray< HistoryMessageDeleted > | get_messages_deleted () const |
| client::JsonCppArray< HistoryMessageDeleted > | mutable_messagesDeleted () |
Static Public Member Functions | |
| static History * | New () |
A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.
|
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 'id' attribute.
|
inline |
Clears the 'labelsAdded' attribute.
|
inline |
Clears the 'labelsRemoved' attribute.
|
inline |
Clears the 'messages' attribute.
|
inline |
Clears the 'messagesAdded' attribute.
|
inline |
Clears the 'messagesDeleted' attribute.
|
inline |
Get the value of the 'id' attribute.
| const client::JsonCppArray<HistoryLabelAdded > google_gmail_api::History::get_labels_added | ( | ) | const |
Get a reference to the value of the 'labelsAdded' attribute.
| const client::JsonCppArray<HistoryLabelRemoved > google_gmail_api::History::get_labels_removed | ( | ) | const |
Get a reference to the value of the 'labelsRemoved' attribute.
| const client::JsonCppArray<Message > google_gmail_api::History::get_messages | ( | ) | const |
Get a reference to the value of the 'messages' attribute.
| const client::JsonCppArray<HistoryMessageAdded > google_gmail_api::History::get_messages_added | ( | ) | const |
Get a reference to the value of the 'messagesAdded' attribute.
| const client::JsonCppArray<HistoryMessageDeleted > google_gmail_api::History::get_messages_deleted | ( | ) | const |
Get a reference to the value of the 'messagesDeleted' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_gmail_api::History
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'labelsAdded' attribute was set.
labelsAdded' attribute was set.
|
inline |
Determine if the 'labelsRemoved' attribute was set.
labelsRemoved' attribute was set.
|
inline |
Determine if the 'messages' attribute was set.
messages' attribute was set.
|
inline |
Determine if the 'messagesAdded' attribute was set.
messagesAdded' attribute was set.
|
inline |
Determine if the 'messagesDeleted' attribute was set.
messagesDeleted' attribute was set. | client::JsonCppArray<HistoryLabelAdded > google_gmail_api::History::mutable_labelsAdded | ( | ) |
Gets a reference to a mutable value of the 'labelsAdded' property.
Labels added to messages in this history record.
| client::JsonCppArray<HistoryLabelRemoved > google_gmail_api::History::mutable_labelsRemoved | ( | ) |
Gets a reference to a mutable value of the 'labelsRemoved' property.
Labels removed from messages in this history record.
| client::JsonCppArray<Message > google_gmail_api::History::mutable_messages | ( | ) |
Gets a reference to a mutable value of the 'messages' property.
List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.
| client::JsonCppArray<HistoryMessageAdded > google_gmail_api::History::mutable_messagesAdded | ( | ) |
Gets a reference to a mutable value of the 'messagesAdded' property.
Messages added to the mailbox in this history record.
| client::JsonCppArray<HistoryMessageDeleted > google_gmail_api::History::mutable_messagesDeleted | ( | ) |
Gets a reference to a mutable value of the 'messagesDeleted' property.
Messages deleted (not Trashed) from the mailbox in this history record.
|
static |
Creates a new default instance.
|
inline |
Change the 'id' attribute.
The mailbox sequence ID.
| [in] | value | The new value. |