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

#include <grade_history.h>

Inheritance diagram for google_classroom_api::GradeHistory:

Public Member Functions

 GradeHistory (const Json::Value &storage)
 
 GradeHistory (Json::Value *storage)
 
virtual ~GradeHistory ()
 
const StringPiece GetTypeName () const
 
bool has_actor_user_id () const
 
void clear_actor_user_id ()
 
const StringPiece get_actor_user_id () const
 
void set_actor_user_id (const StringPiece &value)
 
bool has_grade_change_type () const
 
void clear_grade_change_type ()
 
const StringPiece get_grade_change_type () const
 
void set_grade_change_type (const StringPiece &value)
 
bool has_grade_timestamp () const
 
void clear_grade_timestamp ()
 
const StringPiece get_grade_timestamp () const
 
void set_grade_timestamp (const StringPiece &value)
 
bool has_max_points () const
 
void clear_max_points ()
 
double get_max_points () const
 
void set_max_points (double value)
 
bool has_points_earned () const
 
void clear_points_earned ()
 
double get_points_earned () const
 
void set_points_earned (double value)
 

Static Public Member Functions

static GradeHistoryNew ()
 

Detailed Description

The history of each grade on this submission.

Constructor & Destructor Documentation

◆ GradeHistory() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ GradeHistory() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~GradeHistory()

google_classroom_api::GradeHistory::~GradeHistory ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_actor_user_id()

void google_classroom_api::GradeHistory::clear_actor_user_id ( )
inline

Clears the 'actorUserId' attribute.

◆ clear_grade_change_type()

void google_classroom_api::GradeHistory::clear_grade_change_type ( )
inline

Clears the 'gradeChangeType' attribute.

◆ clear_grade_timestamp()

void google_classroom_api::GradeHistory::clear_grade_timestamp ( )
inline

Clears the 'gradeTimestamp' attribute.

◆ clear_max_points()

void google_classroom_api::GradeHistory::clear_max_points ( )
inline

Clears the 'maxPoints' attribute.

◆ clear_points_earned()

void google_classroom_api::GradeHistory::clear_points_earned ( )
inline

Clears the 'pointsEarned' attribute.

◆ get_actor_user_id()

const StringPiece google_classroom_api::GradeHistory::get_actor_user_id ( ) const
inline

Get the value of the 'actorUserId' attribute.

◆ get_grade_change_type()

const StringPiece google_classroom_api::GradeHistory::get_grade_change_type ( ) const
inline

Get the value of the 'gradeChangeType' attribute.

◆ get_grade_timestamp()

const StringPiece google_classroom_api::GradeHistory::get_grade_timestamp ( ) const
inline

Get the value of the 'gradeTimestamp' attribute.

◆ get_max_points()

double google_classroom_api::GradeHistory::get_max_points ( ) const
inline

Get the value of the 'maxPoints' attribute.

◆ get_points_earned()

double google_classroom_api::GradeHistory::get_points_earned ( ) const
inline

Get the value of the 'pointsEarned' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::GradeHistory

◆ has_actor_user_id()

bool google_classroom_api::GradeHistory::has_actor_user_id ( ) const
inline

Determine if the 'actorUserId' attribute was set.

Returns
true if the 'actorUserId' attribute was set.

◆ has_grade_change_type()

bool google_classroom_api::GradeHistory::has_grade_change_type ( ) const
inline

Determine if the 'gradeChangeType' attribute was set.

Returns
true if the 'gradeChangeType' attribute was set.

◆ has_grade_timestamp()

bool google_classroom_api::GradeHistory::has_grade_timestamp ( ) const
inline

Determine if the 'gradeTimestamp' attribute was set.

Returns
true if the 'gradeTimestamp' attribute was set.

◆ has_max_points()

bool google_classroom_api::GradeHistory::has_max_points ( ) const
inline

Determine if the 'maxPoints' attribute was set.

Returns
true if the 'maxPoints' attribute was set.

◆ has_points_earned()

bool google_classroom_api::GradeHistory::has_points_earned ( ) const
inline

Determine if the 'pointsEarned' attribute was set.

Returns
true if the 'pointsEarned' attribute was set.

◆ New()

GradeHistory * google_classroom_api::GradeHistory::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_actor_user_id()

void google_classroom_api::GradeHistory::set_actor_user_id ( const StringPiece &  value)
inline

Change the 'actorUserId' attribute.

The teacher who made the grade change.

Parameters
[in]valueThe new value.

◆ set_grade_change_type()

void google_classroom_api::GradeHistory::set_grade_change_type ( const StringPiece &  value)
inline

Change the 'gradeChangeType' attribute.

The type of grade change at this time in the submission grade history.

Parameters
[in]valueThe new value.

◆ set_grade_timestamp()

void google_classroom_api::GradeHistory::set_grade_timestamp ( const StringPiece &  value)
inline

Change the 'gradeTimestamp' attribute.

When the grade of the submission was changed.

Parameters
[in]valueThe new value.

◆ set_max_points()

void google_classroom_api::GradeHistory::set_max_points ( double  value)
inline

Change the 'maxPoints' attribute.

The denominator of the grade at this time in the submission grade history.

Parameters
[in]valueThe new value.

◆ set_points_earned()

void google_classroom_api::GradeHistory::set_points_earned ( double  value)
inline

Change the 'pointsEarned' attribute.

The numerator of the grade at this time in the submission grade history.

Parameters
[in]valueThe new value.

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