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

#include <assignment.h>

Inheritance diagram for google_classroom_api::Assignment:

Public Member Functions

 Assignment (const Json::Value &storage)
 
 Assignment (Json::Value *storage)
 
virtual ~Assignment ()
 
const StringPiece GetTypeName () const
 
bool has_student_work_folder () const
 
void clear_student_work_folder ()
 
const DriveFolder get_student_work_folder () const
 
DriveFolder mutable_studentWorkFolder ()
 

Static Public Member Functions

static AssignmentNew ()
 

Detailed Description

Additional details for assignments.

Constructor & Destructor Documentation

◆ Assignment() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Assignment() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Assignment()

google_classroom_api::Assignment::~Assignment ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_student_work_folder()

void google_classroom_api::Assignment::clear_student_work_folder ( )
inline

Clears the 'studentWorkFolder' attribute.

◆ get_student_work_folder()

const DriveFolder google_classroom_api::Assignment::get_student_work_folder ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Assignment

◆ has_student_work_folder()

bool google_classroom_api::Assignment::has_student_work_folder ( ) const
inline

Determine if the 'studentWorkFolder' attribute was set.

Returns
true if the 'studentWorkFolder' attribute was set.

◆ mutable_studentWorkFolder()

DriveFolder google_classroom_api::Assignment::mutable_studentWorkFolder ( )

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

Drive folder where attachments from student submissions are placed. This is only populated for course teachers and administrators.

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

◆ New()

Assignment * google_classroom_api::Assignment::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: