|
gmail
v1
|
#include <thread.h>
Public Member Functions | |
| Thread (const Json::Value &storage) | |
| Thread (Json::Value *storage) | |
| virtual | ~Thread () |
| const StringPiece | GetTypeName () const |
| bool | has_history_id () const |
| void | clear_history_id () |
| uint64 | get_history_id () const |
| void | set_history_id (uint64 value) |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_messages () const |
| void | clear_messages () |
| const client::JsonCppArray< Message > | get_messages () const |
| client::JsonCppArray< Message > | mutable_messages () |
| bool | has_snippet () const |
| void | clear_snippet () |
| const StringPiece | get_snippet () const |
| void | set_snippet (const StringPiece &value) |
Static Public Member Functions | |
| static Thread * | New () |
A collection of messages representing a conversation.
|
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 'historyId' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'messages' attribute.
|
inline |
Clears the 'snippet' attribute.
|
inline |
Get the value of the 'historyId' attribute.
|
inline |
Get the value of the 'id' attribute.
| const client::JsonCppArray<Message > google_gmail_api::Thread::get_messages | ( | ) | const |
Get a reference to the value of the 'messages' attribute.
|
inline |
Get the value of the 'snippet' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_gmail_api::Thread
|
inline |
Determine if the 'historyId' attribute was set.
historyId' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'messages' attribute was set.
messages' attribute was set.
|
inline |
Determine if the 'snippet' attribute was set.
snippet' attribute was set. | client::JsonCppArray<Message > google_gmail_api::Thread::mutable_messages | ( | ) |
Gets a reference to a mutable value of the 'messages' property.
The list of messages in the thread.
|
static |
Creates a new default instance.
|
inline |
Change the 'historyId' attribute.
The ID of the last history record that modified this thread.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
The unique ID of the thread.
| [in] | value | The new value. |
|
inline |
Change the 'snippet' attribute.
A short part of the message text.
| [in] | value | The new value. |