classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::DriveFolder Class Reference

#include <drive_folder.h>

Inheritance diagram for google_classroom_api::DriveFolder:

Public Member Functions

 DriveFolder (const Json::Value &storage)
 
 DriveFolder (Json::Value *storage)
 
virtual ~DriveFolder ()
 
const StringPiece GetTypeName () const
 
bool has_alternate_link () const
 
void clear_alternate_link ()
 
const StringPiece get_alternate_link () const
 
void set_alternate_link (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static DriveFolderNew ()
 

Detailed Description

Representation of a Google Drive folder.

Constructor & Destructor Documentation

◆ DriveFolder() [1/2]

google_classroom_api::DriveFolder::DriveFolder ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ DriveFolder() [2/2]

google_classroom_api::DriveFolder::DriveFolder ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~DriveFolder()

google_classroom_api::DriveFolder::~DriveFolder ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_alternate_link()

void google_classroom_api::DriveFolder::clear_alternate_link ( )
inline

Clears the 'alternateLink' attribute.

◆ clear_id()

void google_classroom_api::DriveFolder::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_title()

void google_classroom_api::DriveFolder::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_alternate_link()

const StringPiece google_classroom_api::DriveFolder::get_alternate_link ( ) const
inline

Get the value of the 'alternateLink' attribute.

◆ get_id()

const StringPiece google_classroom_api::DriveFolder::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_title()

const StringPiece google_classroom_api::DriveFolder::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::DriveFolder::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::DriveFolder

◆ has_alternate_link()

bool google_classroom_api::DriveFolder::has_alternate_link ( ) const
inline

Determine if the 'alternateLink' attribute was set.

Returns
true if the 'alternateLink' attribute was set.

◆ has_id()

bool google_classroom_api::DriveFolder::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_title()

bool google_classroom_api::DriveFolder::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

DriveFolder * google_classroom_api::DriveFolder::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_alternate_link()

void google_classroom_api::DriveFolder::set_alternate_link ( const StringPiece &  value)
inline

Change the 'alternateLink' attribute.

URL that can be used to access the Drive folder.

Read-only.

Parameters
[in]valueThe new value.

◆ set_id()

void google_classroom_api::DriveFolder::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Drive API resource ID.

Parameters
[in]valueThe new value.

◆ set_title()

void google_classroom_api::DriveFolder::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Title of the Drive folder.

Read-only.

Parameters
[in]valueThe new value.

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