#include <short_answer_submission.h>
Student work for a short answer question.
◆ ShortAnswerSubmission() [1/2]
google_classroom_api::ShortAnswerSubmission::ShortAnswerSubmission |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ShortAnswerSubmission() [2/2]
google_classroom_api::ShortAnswerSubmission::ShortAnswerSubmission |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ShortAnswerSubmission()
google_classroom_api::ShortAnswerSubmission::~ShortAnswerSubmission |
( |
| ) |
|
|
virtual |
◆ clear_answer()
void google_classroom_api::ShortAnswerSubmission::clear_answer |
( |
| ) |
|
|
inline |
Clears the 'answer
' attribute.
◆ get_answer()
const StringPiece google_classroom_api::ShortAnswerSubmission::get_answer |
( |
| ) |
const |
|
inline |
Get the value of the 'answer
' attribute.
◆ GetTypeName()
const StringPiece google_classroom_api::ShortAnswerSubmission::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_answer()
bool google_classroom_api::ShortAnswerSubmission::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::ShortAnswerSubmission::set_answer |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'answer
' attribute.
Student response to a short-answer question.
- Parameters
-
The documentation for this class was generated from the following files: