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

#include <child_reference.h>

Inheritance diagram for google_drive_api::ChildReference:

Public Member Functions

 ChildReference (const Json::Value &storage)
 
 ChildReference (Json::Value *storage)
 
virtual ~ChildReference ()
 
const StringPiece GetTypeName () const
 
bool has_child_link () const
 
void clear_child_link ()
 
const StringPiece get_child_link () const
 
void set_child_link (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
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 ChildReferenceNew ()
 

Detailed Description

A reference to a folder's child.

Constructor & Destructor Documentation

◆ ChildReference() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChildReference() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChildReference()

google_drive_api::ChildReference::~ChildReference ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_child_link()

void google_drive_api::ChildReference::clear_child_link ( )
inline

Clears the 'childLink' attribute.

◆ clear_id()

void google_drive_api::ChildReference::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_drive_api::ChildReference::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_self_link()

void google_drive_api::ChildReference::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_child_link()

const StringPiece google_drive_api::ChildReference::get_child_link ( ) const
inline

Get the value of the 'childLink' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_drive_api::ChildReference

◆ has_child_link()

bool google_drive_api::ChildReference::has_child_link ( ) const
inline

Determine if the 'childLink' attribute was set.

Returns
true if the 'childLink' attribute was set.

◆ has_id()

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

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_drive_api::ChildReference::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::ChildReference::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ New()

ChildReference * google_drive_api::ChildReference::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_child_link()

void google_drive_api::ChildReference::set_child_link ( const StringPiece &  value)
inline

Change the 'childLink' attribute.

A link to the child.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

The ID of the child.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always drive::childReference.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_drive_api::ChildReference::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: