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

#include <generated_ids.h>

Inheritance diagram for google_drive_api::GeneratedIds:

Public Member Functions

 GeneratedIds (const Json::Value &storage)
 
 GeneratedIds (Json::Value *storage)
 
virtual ~GeneratedIds ()
 
const StringPiece GetTypeName () const
 
bool has_ids () const
 
void clear_ids ()
 
const client::JsonCppArray< string > get_ids () const
 
client::JsonCppArray< string > mutable_ids ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_space () const
 
void clear_space ()
 
const StringPiece get_space () const
 
void set_space (const StringPiece &value)
 

Static Public Member Functions

static GeneratedIdsNew ()
 

Detailed Description

A list of generated IDs which can be provided in insert requests.

Constructor & Destructor Documentation

◆ GeneratedIds() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ GeneratedIds() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~GeneratedIds()

google_drive_api::GeneratedIds::~GeneratedIds ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ids()

void google_drive_api::GeneratedIds::clear_ids ( )
inline

Clears the 'ids' attribute.

◆ clear_kind()

void google_drive_api::GeneratedIds::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_space()

void google_drive_api::GeneratedIds::clear_space ( )
inline

Clears the 'space' attribute.

◆ get_ids()

const client::JsonCppArray<string > google_drive_api::GeneratedIds::get_ids ( ) const
inline

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_space()

const StringPiece google_drive_api::GeneratedIds::get_space ( ) const
inline

Get the value of the 'space' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_drive_api::GeneratedIds

◆ has_ids()

bool google_drive_api::GeneratedIds::has_ids ( ) const
inline

Determine if the 'ids' attribute was set.

Returns
true if the 'ids' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_space()

bool google_drive_api::GeneratedIds::has_space ( ) const
inline

Determine if the 'space' attribute was set.

Returns
true if the 'space' attribute was set.

◆ mutable_ids()

client::JsonCppArray<string > google_drive_api::GeneratedIds::mutable_ids ( )
inline

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

The IDs generated for the requesting user in the specified space.

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

◆ New()

GeneratedIds * google_drive_api::GeneratedIds::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

This is always drive::generatedIds.

Parameters
[in]valueThe new value.

◆ set_space()

void google_drive_api::GeneratedIds::set_space ( const StringPiece &  value)
inline

Change the 'space' attribute.

The type of file that can be created with these IDs.

Parameters
[in]valueThe new value.

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