gmail  v1
Public Member Functions | Static Public Member Functions | List of all members
google_gmail_api::ListDraftsResponse Class Reference

#include <list_drafts_response.h>

Inheritance diagram for google_gmail_api::ListDraftsResponse:

Public Member Functions

 ListDraftsResponse (const Json::Value &storage)
 
 ListDraftsResponse (Json::Value *storage)
 
virtual ~ListDraftsResponse ()
 
const StringPiece GetTypeName () const
 
bool has_drafts () const
 
void clear_drafts ()
 
const client::JsonCppArray< Draftget_drafts () const
 
client::JsonCppArray< Draftmutable_drafts ()
 
bool has_next_page_token () const
 
void clear_next_page_token ()
 
const StringPiece get_next_page_token () const
 
void set_next_page_token (const StringPiece &value)
 
bool has_result_size_estimate () const
 
void clear_result_size_estimate ()
 
uint32 get_result_size_estimate () const
 
void set_result_size_estimate (uint32 value)
 

Static Public Member Functions

static ListDraftsResponseNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ListDraftsResponse() [1/2]

google_gmail_api::ListDraftsResponse::ListDraftsResponse ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~ListDraftsResponse()

google_gmail_api::ListDraftsResponse::~ListDraftsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::ListDraftsResponse

◆ 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()

ListDraftsResponse * google_gmail_api::ListDraftsResponse::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: