|
classroom
v1
|
#include <material.h>
Public Member Functions | |
| Material (const Json::Value &storage) | |
| Material (Json::Value *storage) | |
| virtual | ~Material () |
| const StringPiece | GetTypeName () const |
| bool | has_drive_file () const |
| void | clear_drive_file () |
| const SharedDriveFile | get_drive_file () const |
| SharedDriveFile | 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_youtube_video () const |
| void | clear_youtube_video () |
| const YouTubeVideo | get_youtube_video () const |
| YouTubeVideo | mutable_youtubeVideo () |
Static Public Member Functions | |
| static Material * | New () |
Material attached to course work.
When creating attachments, setting the form field is not supported.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'driveFile' attribute.
|
inline |
Clears the 'form' attribute.
|
inline |
Clears the 'link' attribute.
|
inline |
Clears the 'youtubeVideo' attribute.
| const SharedDriveFile google_classroom_api::Material::get_drive_file | ( | ) | const |
Get a reference to the value of the 'driveFile' attribute.
| const Form google_classroom_api::Material::get_form | ( | ) | const |
Get a reference to the value of the 'form' attribute.
| const Link google_classroom_api::Material::get_link | ( | ) | const |
Get a reference to the value of the 'link' attribute.
| const YouTubeVideo google_classroom_api::Material::get_youtube_video | ( | ) | const |
Get a reference to the value of the 'youtubeVideo' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'driveFile' attribute was set.
driveFile' attribute was set.
|
inline |
Determine if the 'form' attribute was set.
form' attribute was set.
|
inline |
Determine if the 'link' attribute was set.
link' attribute was set.
|
inline |
Determine if the 'youtubeVideo' attribute was set.
youtubeVideo' attribute was set. | SharedDriveFile google_classroom_api::Material::mutable_driveFile | ( | ) |
Gets a reference to a mutable value of the 'driveFile' property.
Google Drive file material.
| Form google_classroom_api::Material::mutable_form | ( | ) |
Gets a reference to a mutable value of the 'form' property.
Google Forms material.
| Link google_classroom_api::Material::mutable_link | ( | ) |
Gets a reference to a mutable value of the 'link' property.
Link material. On creation, will be upgraded to a more appropriate type if possible, and this will be reflected in the response.
| YouTubeVideo google_classroom_api::Material::mutable_youtubeVideo | ( | ) |
Gets a reference to a mutable value of the 'youtubeVideo' property.
YouTube video material.
|
static |
Creates a new default instance.