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

#include <course_material.h>

Inheritance diagram for google_classroom_api::CourseMaterial:

Public Member Functions

 CourseMaterial (const Json::Value &storage)
 
 CourseMaterial (Json::Value *storage)
 
virtual ~CourseMaterial ()
 
const StringPiece GetTypeName () const
 
bool has_drive_file () const
 
void clear_drive_file ()
 
const DriveFile get_drive_file () const
 
DriveFile mutable_driveFile ()
 
bool has_form () const
 
void clear_form ()
 
const Form get_form () const
 
Form mutable_form ()
 
bool has_link () const
 
void clear_link ()
 
const Link get_link () const
 
Link mutable_link ()
 
bool has_you_tube_video () const
 
void clear_you_tube_video ()
 
const YouTubeVideo get_you_tube_video () const
 
YouTubeVideo mutable_youTubeVideo ()
 

Static Public Member Functions

static CourseMaterialNew ()
 

Detailed Description

A material attached to a course as part of a material set.

Constructor & Destructor Documentation

◆ CourseMaterial() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CourseMaterial() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CourseMaterial()

google_classroom_api::CourseMaterial::~CourseMaterial ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_drive_file()

void google_classroom_api::CourseMaterial::clear_drive_file ( )
inline

Clears the 'driveFile' attribute.

◆ clear_form()

void google_classroom_api::CourseMaterial::clear_form ( )
inline

Clears the 'form' attribute.

◆ clear_link()

void google_classroom_api::CourseMaterial::clear_link ( )
inline

Clears the 'link' attribute.

◆ clear_you_tube_video()

void google_classroom_api::CourseMaterial::clear_you_tube_video ( )
inline

Clears the 'youTubeVideo' attribute.

◆ get_drive_file()

const DriveFile google_classroom_api::CourseMaterial::get_drive_file ( ) const

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

◆ get_form()

const Form google_classroom_api::CourseMaterial::get_form ( ) const

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

◆ get_link()

const Link google_classroom_api::CourseMaterial::get_link ( ) const

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

◆ get_you_tube_video()

const YouTubeVideo google_classroom_api::CourseMaterial::get_you_tube_video ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::CourseMaterial

◆ has_drive_file()

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

Determine if the 'driveFile' attribute was set.

Returns
true if the 'driveFile' attribute was set.

◆ has_form()

bool google_classroom_api::CourseMaterial::has_form ( ) const
inline

Determine if the 'form' attribute was set.

Returns
true if the 'form' attribute was set.

◆ has_link()

bool google_classroom_api::CourseMaterial::has_link ( ) const
inline

Determine if the 'link' attribute was set.

Returns
true if the 'link' attribute was set.

◆ has_you_tube_video()

bool google_classroom_api::CourseMaterial::has_you_tube_video ( ) const
inline

Determine if the 'youTubeVideo' attribute was set.

Returns
true if the 'youTubeVideo' attribute was set.

◆ mutable_driveFile()

DriveFile google_classroom_api::CourseMaterial::mutable_driveFile ( )

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

Google Drive file attachment.

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

◆ mutable_form()

Form google_classroom_api::CourseMaterial::mutable_form ( )

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

Google Forms attachment.

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

◆ mutable_link()

Link google_classroom_api::CourseMaterial::mutable_link ( )

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

Link atatchment.

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

◆ mutable_youTubeVideo()

YouTubeVideo google_classroom_api::CourseMaterial::mutable_youTubeVideo ( )

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

Youtube video attachment.

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

◆ New()

CourseMaterial * google_classroom_api::CourseMaterial::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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