#include <multiple_choice_submission.h>
Student work for a multiple-choice question.
◆ MultipleChoiceSubmission() [1/2]
| google_classroom_api::MultipleChoiceSubmission::MultipleChoiceSubmission |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ MultipleChoiceSubmission() [2/2]
| google_classroom_api::MultipleChoiceSubmission::MultipleChoiceSubmission |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~MultipleChoiceSubmission()
| google_classroom_api::MultipleChoiceSubmission::~MultipleChoiceSubmission |
( |
| ) |
|
|
virtual |
◆ clear_answer()
| void google_classroom_api::MultipleChoiceSubmission::clear_answer |
( |
| ) |
|
|
inline |
Clears the 'answer' attribute.
◆ get_answer()
| const StringPiece google_classroom_api::MultipleChoiceSubmission::get_answer |
( |
| ) |
const |
|
inline |
Get the value of the 'answer' attribute.
◆ GetTypeName()
| const StringPiece google_classroom_api::MultipleChoiceSubmission::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_answer()
| bool google_classroom_api::MultipleChoiceSubmission::has_answer |
( |
| ) |
const |
|
inline |
Determine if the 'answer' attribute was set.
- Returns
- true if the '
answer' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_answer()
| void google_classroom_api::MultipleChoiceSubmission::set_answer |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'answer' attribute.
Student's select choice.
- Parameters
-
The documentation for this class was generated from the following files: