#include <list_drafts_response.h>
◆ ListDraftsResponse() [1/2]
google_gmail_api::ListDraftsResponse::ListDraftsResponse |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ListDraftsResponse() [2/2]
google_gmail_api::ListDraftsResponse::ListDraftsResponse |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ListDraftsResponse()
google_gmail_api::ListDraftsResponse::~ListDraftsResponse |
( |
| ) |
|
|
virtual |
◆ clear_drafts()
void google_gmail_api::ListDraftsResponse::clear_drafts |
( |
| ) |
|
|
inline |
Clears the 'drafts
' attribute.
◆ clear_next_page_token()
void google_gmail_api::ListDraftsResponse::clear_next_page_token |
( |
| ) |
|
|
inline |
Clears the 'nextPageToken
' attribute.
◆ clear_result_size_estimate()
void google_gmail_api::ListDraftsResponse::clear_result_size_estimate |
( |
| ) |
|
|
inline |
Clears the 'resultSizeEstimate
' attribute.
◆ get_drafts()
const client::JsonCppArray<Draft > google_gmail_api::ListDraftsResponse::get_drafts |
( |
| ) |
const |
Get a reference to the value of the 'drafts
' attribute.
◆ get_next_page_token()
const StringPiece google_gmail_api::ListDraftsResponse::get_next_page_token |
( |
| ) |
const |
|
inline |
Get the value of the 'nextPageToken
' attribute.
◆ get_result_size_estimate()
uint32 google_gmail_api::ListDraftsResponse::get_result_size_estimate |
( |
| ) |
const |
|
inline |
Get the value of the 'resultSizeEstimate
' attribute.
◆ GetTypeName()
const StringPiece google_gmail_api::ListDraftsResponse::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_drafts()
bool google_gmail_api::ListDraftsResponse::has_drafts |
( |
| ) |
const |
|
inline |
Determine if the 'drafts
' attribute was set.
- Returns
- true if the '
drafts
' attribute was set.
◆ has_next_page_token()
bool google_gmail_api::ListDraftsResponse::has_next_page_token |
( |
| ) |
const |
|
inline |
Determine if the 'nextPageToken
' attribute was set.
- Returns
- true if the '
nextPageToken
' attribute was set.
◆ has_result_size_estimate()
bool google_gmail_api::ListDraftsResponse::has_result_size_estimate |
( |
| ) |
const |
|
inline |
Determine if the 'resultSizeEstimate
' attribute was set.
- Returns
- true if the '
resultSizeEstimate
' attribute was set.
◆ mutable_drafts()
client::JsonCppArray<Draft > google_gmail_api::ListDraftsResponse::mutable_drafts |
( |
| ) |
|
Gets a reference to a mutable value of the 'drafts
' property.
List of drafts. Note that the Message property in each Draft resource only contains an id and a threadId. The messages.get method can fetch additional message details.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_next_page_token()
void google_gmail_api::ListDraftsResponse::set_next_page_token |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'nextPageToken
' attribute.
Token to retrieve the next page of results in the list.
- Parameters
-
◆ set_result_size_estimate()
void google_gmail_api::ListDraftsResponse::set_result_size_estimate |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'resultSizeEstimate
' attribute.
Estimated total number of results.
- Parameters
-
The documentation for this class was generated from the following files: