drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::AppList Class Reference

#include <app_list.h>

Inheritance diagram for google_drive_api::AppList:

Public Member Functions

 AppList (const Json::Value &storage)
 
 AppList (Json::Value *storage)
 
virtual ~AppList ()
 
const StringPiece GetTypeName () const
 
bool has_default_app_ids () const
 
void clear_default_app_ids ()
 
const client::JsonCppArray< string > get_default_app_ids () const
 
client::JsonCppArray< string > mutable_defaultAppIds ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Appget_items () const
 
client::JsonCppArray< Appmutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 

Static Public Member Functions

static AppListNew ()
 

Detailed Description

A list of third-party applications which the user has installed or given access to Google Drive.

Constructor & Destructor Documentation

◆ AppList() [1/2]

google_drive_api::AppList::AppList ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AppList() [2/2]

google_drive_api::AppList::AppList ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AppList()

google_drive_api::AppList::~AppList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_default_app_ids()

void google_drive_api::AppList::clear_default_app_ids ( )
inline

Clears the 'defaultAppIds' attribute.

◆ clear_etag()

void google_drive_api::AppList::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_items()

void google_drive_api::AppList::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_drive_api::AppList::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_self_link()

void google_drive_api::AppList::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_default_app_ids()

const client::JsonCppArray<string > google_drive_api::AppList::get_default_app_ids ( ) const
inline

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

◆ get_etag()

const StringPiece google_drive_api::AppList::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_items()

const client::JsonCppArray<App > google_drive_api::AppList::get_items ( ) const

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

◆ get_kind()

const StringPiece google_drive_api::AppList::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_self_link()

const StringPiece google_drive_api::AppList::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::AppList::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::AppList

◆ has_default_app_ids()

bool google_drive_api::AppList::has_default_app_ids ( ) const
inline

Determine if the 'defaultAppIds' attribute was set.

Returns
true if the 'defaultAppIds' attribute was set.

◆ has_etag()

bool google_drive_api::AppList::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_items()

bool google_drive_api::AppList::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

bool google_drive_api::AppList::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_self_link()

bool google_drive_api::AppList::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ mutable_defaultAppIds()

client::JsonCppArray<string > google_drive_api::AppList::mutable_defaultAppIds ( )
inline

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

List of app IDs that the user has specified to use by default. The list is in reverse-priority order (lowest to highest).

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

◆ mutable_items()

client::JsonCppArray<App > google_drive_api::AppList::mutable_items ( )

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

The list of apps.

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

◆ New()

AppList * google_drive_api::AppList::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_drive_api::AppList::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

The ETag of the list.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_drive_api::AppList::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always drive::appList.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_drive_api::AppList::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

A link back to this list.

Parameters
[in]valueThe new value.

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