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

#include <parent_reference.h>

Inheritance diagram for google_drive_api::ParentReference:

Public Member Functions

 ParentReference (const Json::Value &storage)
 
 ParentReference (Json::Value *storage)
 
virtual ~ParentReference ()
 
const StringPiece GetTypeName () const
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_is_root () const
 
void clear_is_root ()
 
bool get_is_root () const
 
void set_is_root (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_parent_link () const
 
void clear_parent_link ()
 
const StringPiece get_parent_link () const
 
void set_parent_link (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 ParentReferenceNew ()
 

Detailed Description

A reference to a file's parent.

Constructor & Destructor Documentation

◆ ParentReference() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ParentReference() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ParentReference()

google_drive_api::ParentReference::~ParentReference ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_id()

void google_drive_api::ParentReference::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_is_root()

void google_drive_api::ParentReference::clear_is_root ( )
inline

Clears the 'isRoot' attribute.

◆ clear_kind()

void google_drive_api::ParentReference::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_parent_link()

void google_drive_api::ParentReference::clear_parent_link ( )
inline

Clears the 'parentLink' attribute.

◆ clear_self_link()

void google_drive_api::ParentReference::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_id()

const StringPiece google_drive_api::ParentReference::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_is_root()

bool google_drive_api::ParentReference::get_is_root ( ) const
inline

Get the value of the 'isRoot' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_parent_link()

const StringPiece google_drive_api::ParentReference::get_parent_link ( ) const
inline

Get the value of the 'parentLink' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_drive_api::ParentReference

◆ has_id()

bool google_drive_api::ParentReference::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_is_root()

bool google_drive_api::ParentReference::has_is_root ( ) const
inline

Determine if the 'isRoot' attribute was set.

Returns
true if the 'isRoot' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_parent_link()

bool google_drive_api::ParentReference::has_parent_link ( ) const
inline

Determine if the 'parentLink' attribute was set.

Returns
true if the 'parentLink' attribute was set.

◆ has_self_link()

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

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ New()

ParentReference * google_drive_api::ParentReference::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_drive_api::ParentReference::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID of the parent.

Parameters
[in]valueThe new value.

◆ set_is_root()

void google_drive_api::ParentReference::set_is_root ( bool  value)
inline

Change the 'isRoot' attribute.

Whether or not the parent is the root folder.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always drive::parentReference.

Parameters
[in]valueThe new value.

◆ set_parent_link()

void google_drive_api::ParentReference::set_parent_link ( const StringPiece &  value)
inline

Change the 'parentLink' attribute.

A link to the parent.

Parameters
[in]valueThe new value.

◆ set_self_link()

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

Change the 'selfLink' attribute.

A link back to this reference.

Parameters
[in]valueThe new value.

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