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

#include <list_threads_response.h>

Inheritance diagram for google_gmail_api::ListThreadsResponse:

Public Member Functions

 ListThreadsResponse (const Json::Value &storage)
 
 ListThreadsResponse (Json::Value *storage)
 
virtual ~ListThreadsResponse ()
 
const StringPiece GetTypeName () const
 
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)
 
bool has_threads () const
 
void clear_threads ()
 
const client::JsonCppArray< Threadget_threads () const
 
client::JsonCppArray< Threadmutable_threads ()
 

Static Public Member Functions

static ListThreadsResponseNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ListThreadsResponse() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ListThreadsResponse() [2/2]

google_gmail_api::ListThreadsResponse::ListThreadsResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ListThreadsResponse()

google_gmail_api::ListThreadsResponse::~ListThreadsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_next_page_token()

void google_gmail_api::ListThreadsResponse::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_result_size_estimate()

void google_gmail_api::ListThreadsResponse::clear_result_size_estimate ( )
inline

Clears the 'resultSizeEstimate' attribute.

◆ clear_threads()

void google_gmail_api::ListThreadsResponse::clear_threads ( )
inline

Clears the 'threads' attribute.

◆ get_next_page_token()

const StringPiece google_gmail_api::ListThreadsResponse::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_result_size_estimate()

uint32 google_gmail_api::ListThreadsResponse::get_result_size_estimate ( ) const
inline

Get the value of the 'resultSizeEstimate' attribute.

◆ get_threads()

const client::JsonCppArray<Thread > google_gmail_api::ListThreadsResponse::get_threads ( ) const

Get a reference to the value of the 'threads' attribute.

◆ GetTypeName()

const StringPiece google_gmail_api::ListThreadsResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_gmail_api::ListThreadsResponse

◆ has_next_page_token()

bool google_gmail_api::ListThreadsResponse::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::ListThreadsResponse::has_result_size_estimate ( ) const
inline

Determine if the 'resultSizeEstimate' attribute was set.

Returns
true if the 'resultSizeEstimate' attribute was set.

◆ has_threads()

bool google_gmail_api::ListThreadsResponse::has_threads ( ) const
inline

Determine if the 'threads' attribute was set.

Returns
true if the 'threads' attribute was set.

◆ mutable_threads()

client::JsonCppArray<Thread > google_gmail_api::ListThreadsResponse::mutable_threads ( )

Gets a reference to a mutable value of the 'threads' property.

List of threads. Note that each thread resource does not contain a list of messages. The list of messages for a given thread can be fetched using the threads.get method.

Returns
The result can be modified to change the attribute value.

◆ New()

ListThreadsResponse * google_gmail_api::ListThreadsResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_next_page_token()

void google_gmail_api::ListThreadsResponse::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

Page token to retrieve the next page of results in the list.

Parameters
[in]valueThe new value.

◆ set_result_size_estimate()

void google_gmail_api::ListThreadsResponse::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: