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

#include <state_history.h>

Inheritance diagram for google_classroom_api::StateHistory:

Public Member Functions

 StateHistory (const Json::Value &storage)
 
 StateHistory (Json::Value *storage)
 
virtual ~StateHistory ()
 
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_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 
bool has_state_timestamp () const
 
void clear_state_timestamp ()
 
const StringPiece get_state_timestamp () const
 
void set_state_timestamp (const StringPiece &value)
 

Static Public Member Functions

static StateHistoryNew ()
 

Detailed Description

The history of each state this submission has been in.

Constructor & Destructor Documentation

◆ StateHistory() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ StateHistory() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~StateHistory()

google_classroom_api::StateHistory::~StateHistory ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_actor_user_id()

void google_classroom_api::StateHistory::clear_actor_user_id ( )
inline

Clears the 'actorUserId' attribute.

◆ clear_state()

void google_classroom_api::StateHistory::clear_state ( )
inline

Clears the 'state' attribute.

◆ clear_state_timestamp()

void google_classroom_api::StateHistory::clear_state_timestamp ( )
inline

Clears the 'stateTimestamp' attribute.

◆ get_actor_user_id()

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

Get the value of the 'actorUserId' attribute.

◆ get_state()

const StringPiece google_classroom_api::StateHistory::get_state ( ) const
inline

Get the value of the 'state' attribute.

◆ get_state_timestamp()

const StringPiece google_classroom_api::StateHistory::get_state_timestamp ( ) const
inline

Get the value of the 'stateTimestamp' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::StateHistory

◆ has_actor_user_id()

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

Determine if the 'actorUserId' attribute was set.

Returns
true if the 'actorUserId' attribute was set.

◆ has_state()

bool google_classroom_api::StateHistory::has_state ( ) const
inline

Determine if the 'state' attribute was set.

Returns
true if the 'state' attribute was set.

◆ has_state_timestamp()

bool google_classroom_api::StateHistory::has_state_timestamp ( ) const
inline

Determine if the 'stateTimestamp' attribute was set.

Returns
true if the 'stateTimestamp' attribute was set.

◆ New()

StateHistory * google_classroom_api::StateHistory::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_actor_user_id()

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

Change the 'actorUserId' attribute.

The teacher or student who made the change.

Parameters
[in]valueThe new value.

◆ set_state()

void google_classroom_api::StateHistory::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

The workflow pipeline stage.

Parameters
[in]valueThe new value.

◆ set_state_timestamp()

void google_classroom_api::StateHistory::set_state_timestamp ( const StringPiece &  value)
inline

Change the 'stateTimestamp' attribute.

When the submission entered this state.

Parameters
[in]valueThe new value.

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