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

#include <list_labels_response.h>

Inheritance diagram for google_gmail_api::ListLabelsResponse:

Public Member Functions

 ListLabelsResponse (const Json::Value &storage)
 
 ListLabelsResponse (Json::Value *storage)
 
virtual ~ListLabelsResponse ()
 
const StringPiece GetTypeName () const
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppArray< Labelget_labels () const
 
client::JsonCppArray< Labelmutable_labels ()
 

Static Public Member Functions

static ListLabelsResponseNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ListLabelsResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ListLabelsResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ListLabelsResponse()

google_gmail_api::ListLabelsResponse::~ListLabelsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_labels()

void google_gmail_api::ListLabelsResponse::clear_labels ( )
inline

Clears the 'labels' attribute.

◆ get_labels()

const client::JsonCppArray<Label > google_gmail_api::ListLabelsResponse::get_labels ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_gmail_api::ListLabelsResponse

◆ has_labels()

bool google_gmail_api::ListLabelsResponse::has_labels ( ) const
inline

Determine if the 'labels' attribute was set.

Returns
true if the 'labels' attribute was set.

◆ mutable_labels()

client::JsonCppArray<Label > google_gmail_api::ListLabelsResponse::mutable_labels ( )

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

List of labels. Note that each label resource only contains an id, name, messageListVisibility, labelListVisibility, and type. The labels.get method can fetch additional label details.

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

◆ New()

ListLabelsResponse * google_gmail_api::ListLabelsResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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