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

#include <shared_drive_file.h>

Inheritance diagram for google_classroom_api::SharedDriveFile:

Public Member Functions

 SharedDriveFile (const Json::Value &storage)
 
 SharedDriveFile (Json::Value *storage)
 
virtual ~SharedDriveFile ()
 
const StringPiece GetTypeName () const
 
bool has_drive_file () const
 
void clear_drive_file ()
 
const DriveFile get_drive_file () const
 
DriveFile mutable_driveFile ()
 
bool has_share_mode () const
 
void clear_share_mode ()
 
const StringPiece get_share_mode () const
 
void set_share_mode (const StringPiece &value)
 

Static Public Member Functions

static SharedDriveFileNew ()
 

Detailed Description

Drive file that is used as material for course work.

Constructor & Destructor Documentation

◆ SharedDriveFile() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SharedDriveFile() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SharedDriveFile()

google_classroom_api::SharedDriveFile::~SharedDriveFile ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_drive_file()

void google_classroom_api::SharedDriveFile::clear_drive_file ( )
inline

Clears the 'driveFile' attribute.

◆ clear_share_mode()

void google_classroom_api::SharedDriveFile::clear_share_mode ( )
inline

Clears the 'shareMode' attribute.

◆ get_drive_file()

const DriveFile google_classroom_api::SharedDriveFile::get_drive_file ( ) const

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

◆ get_share_mode()

const StringPiece google_classroom_api::SharedDriveFile::get_share_mode ( ) const
inline

Get the value of the 'shareMode' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::SharedDriveFile

◆ has_drive_file()

bool google_classroom_api::SharedDriveFile::has_drive_file ( ) const
inline

Determine if the 'driveFile' attribute was set.

Returns
true if the 'driveFile' attribute was set.

◆ has_share_mode()

bool google_classroom_api::SharedDriveFile::has_share_mode ( ) const
inline

Determine if the 'shareMode' attribute was set.

Returns
true if the 'shareMode' attribute was set.

◆ mutable_driveFile()

DriveFile google_classroom_api::SharedDriveFile::mutable_driveFile ( )

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

Drive file details.

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

◆ New()

SharedDriveFile * google_classroom_api::SharedDriveFile::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_share_mode()

void google_classroom_api::SharedDriveFile::set_share_mode ( const StringPiece &  value)
inline

Change the 'shareMode' attribute.

Mechanism by which students access the Drive item.

Parameters
[in]valueThe new value.

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