gmail
v1
|
#include <draft.h>
Public Member Functions | |
Draft (const Json::Value &storage) | |
Draft (Json::Value *storage) | |
virtual | ~Draft () |
const StringPiece | GetTypeName () const |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_message () const |
void | clear_message () |
const Message | get_message () const |
Message | mutable_message () |
Static Public Member Functions | |
static Draft * | New () |
A draft email in the user's mailbox.
|
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 'message
' attribute.
|
inline |
Get the value of the 'id
' attribute.
const Message google_gmail_api::Draft::get_message | ( | ) | const |
Get a reference to the value of the 'message
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_gmail_api::Draft
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'message
' attribute was set.
message
' attribute was set. Message google_gmail_api::Draft::mutable_message | ( | ) |
Gets a reference to a mutable value of the 'message
' property.
The message content of the draft.
|
static |
Creates a new default instance.
|
inline |
Change the 'id
' attribute.
The immutable ID of the draft.
[in] | value | The new value. |