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

#include <drive_list.h>

Inheritance diagram for google_drive_api::DriveList:

Public Member Functions

 DriveList (const Json::Value &storage)
 
 DriveList (Json::Value *storage)
 
virtual ~DriveList ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Driveget_items () const
 
client::JsonCppArray< Drivemutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
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)
 

Static Public Member Functions

static DriveListNew ()
 

Detailed Description

A list of shared drives.

Constructor & Destructor Documentation

◆ DriveList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DriveList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DriveList()

google_drive_api::DriveList::~DriveList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_drive_api::DriveList::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_drive_api::DriveList::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_next_page_token()

void google_drive_api::DriveList::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ get_items()

const client::JsonCppArray<Drive > google_drive_api::DriveList::get_items ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_next_page_token()

const StringPiece google_drive_api::DriveList::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_drive_api::DriveList

◆ has_items()

bool google_drive_api::DriveList::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::DriveList::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_next_page_token()

bool google_drive_api::DriveList::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ mutable_items()

client::JsonCppArray<Drive > google_drive_api::DriveList::mutable_items ( )

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

The list of shared drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.

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

◆ New()

DriveList * google_drive_api::DriveList::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

This is always drive::driveList.

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_drive_api::DriveList::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.

Parameters
[in]valueThe new value.

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