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

#include <drive_file.h>

Inheritance diagram for google_classroom_api::DriveFile:

Public Member Functions

 DriveFile (const Json::Value &storage)
 
 DriveFile (Json::Value *storage)
 
virtual ~DriveFile ()
 
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_thumbnail_url () const
 
void clear_thumbnail_url ()
 
const StringPiece get_thumbnail_url () const
 
void set_thumbnail_url (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 DriveFileNew ()
 

Detailed Description

Representation of a Google Drive file.

Constructor & Destructor Documentation

◆ DriveFile() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DriveFile() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DriveFile()

google_classroom_api::DriveFile::~DriveFile ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_alternate_link()

void google_classroom_api::DriveFile::clear_alternate_link ( )
inline

Clears the 'alternateLink' attribute.

◆ clear_id()

void google_classroom_api::DriveFile::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_thumbnail_url()

void google_classroom_api::DriveFile::clear_thumbnail_url ( )
inline

Clears the 'thumbnailUrl' attribute.

◆ clear_title()

void google_classroom_api::DriveFile::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_alternate_link()

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

Get the value of the 'alternateLink' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_thumbnail_url()

const StringPiece google_classroom_api::DriveFile::get_thumbnail_url ( ) const
inline

Get the value of the 'thumbnailUrl' attribute.

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::DriveFile

◆ has_alternate_link()

bool google_classroom_api::DriveFile::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::DriveFile::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_thumbnail_url()

bool google_classroom_api::DriveFile::has_thumbnail_url ( ) const
inline

Determine if the 'thumbnailUrl' attribute was set.

Returns
true if the 'thumbnailUrl' attribute was set.

◆ has_title()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

DriveFile * google_classroom_api::DriveFile::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_alternate_link()

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

Change the 'alternateLink' attribute.

URL that can be used to access the Drive item.

Read-only.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

Drive API resource ID.

Parameters
[in]valueThe new value.

◆ set_thumbnail_url()

void google_classroom_api::DriveFile::set_thumbnail_url ( const StringPiece &  value)
inline

Change the 'thumbnailUrl' attribute.

URL of a thumbnail image of the Drive item.

Read-only.

Parameters
[in]valueThe new value.

◆ set_title()

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

Change the 'title' attribute.

Title of the Drive item.

Read-only.

Parameters
[in]valueThe new value.

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