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

#include <submission_history.h>

Inheritance diagram for google_classroom_api::SubmissionHistory:

Public Member Functions

 SubmissionHistory (const Json::Value &storage)
 
 SubmissionHistory (Json::Value *storage)
 
virtual ~SubmissionHistory ()
 
const StringPiece GetTypeName () const
 
bool has_grade_history () const
 
void clear_grade_history ()
 
const GradeHistory get_grade_history () const
 
GradeHistory mutable_gradeHistory ()
 
bool has_state_history () const
 
void clear_state_history ()
 
const StateHistory get_state_history () const
 
StateHistory mutable_stateHistory ()
 

Static Public Member Functions

static SubmissionHistoryNew ()
 

Detailed Description

The history of the submission. This currently includes state and grade histories.

Constructor & Destructor Documentation

◆ SubmissionHistory() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SubmissionHistory() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SubmissionHistory()

google_classroom_api::SubmissionHistory::~SubmissionHistory ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_grade_history()

void google_classroom_api::SubmissionHistory::clear_grade_history ( )
inline

Clears the 'gradeHistory' attribute.

◆ clear_state_history()

void google_classroom_api::SubmissionHistory::clear_state_history ( )
inline

Clears the 'stateHistory' attribute.

◆ get_grade_history()

const GradeHistory google_classroom_api::SubmissionHistory::get_grade_history ( ) const

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

◆ get_state_history()

const StateHistory google_classroom_api::SubmissionHistory::get_state_history ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::SubmissionHistory

◆ has_grade_history()

bool google_classroom_api::SubmissionHistory::has_grade_history ( ) const
inline

Determine if the 'gradeHistory' attribute was set.

Returns
true if the 'gradeHistory' attribute was set.

◆ has_state_history()

bool google_classroom_api::SubmissionHistory::has_state_history ( ) const
inline

Determine if the 'stateHistory' attribute was set.

Returns
true if the 'stateHistory' attribute was set.

◆ mutable_gradeHistory()

GradeHistory google_classroom_api::SubmissionHistory::mutable_gradeHistory ( )

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

The grade history information of the submission, if present.

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

◆ mutable_stateHistory()

StateHistory google_classroom_api::SubmissionHistory::mutable_stateHistory ( )

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

The state history information of the submission, if present.

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

◆ New()

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