#include <assignment_submission.h>
Student work for an assignment.
◆ AssignmentSubmission() [1/2]
google_classroom_api::AssignmentSubmission::AssignmentSubmission |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AssignmentSubmission() [2/2]
google_classroom_api::AssignmentSubmission::AssignmentSubmission |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AssignmentSubmission()
google_classroom_api::AssignmentSubmission::~AssignmentSubmission |
( |
| ) |
|
|
virtual |
◆ clear_attachments()
void google_classroom_api::AssignmentSubmission::clear_attachments |
( |
| ) |
|
|
inline |
Clears the 'attachments
' attribute.
◆ get_attachments()
const client::JsonCppArray<Attachment > google_classroom_api::AssignmentSubmission::get_attachments |
( |
| ) |
const |
Get a reference to the value of the 'attachments
' attribute.
◆ GetTypeName()
const StringPiece google_classroom_api::AssignmentSubmission::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_attachments()
bool google_classroom_api::AssignmentSubmission::has_attachments |
( |
| ) |
const |
|
inline |
Determine if the 'attachments
' attribute was set.
- Returns
- true if the '
attachments
' attribute was set.
◆ mutable_attachments()
client::JsonCppArray<Attachment > google_classroom_api::AssignmentSubmission::mutable_attachments |
( |
| ) |
|
Gets a reference to a mutable value of the 'attachments
' property.
Attachments added by the student. Drive files that correspond to materials with a share mode of STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom.
Some attachment metadata is only populated if the requesting user has permission to access it. Identifier and alternate_link fields are always available, but others (e.g. title) may not be.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
The documentation for this class was generated from the following files: