Skip to content

Latest commit

聽

History

History
36 lines (27 loc) 路 1.82 KB

AssignmentSubmissionUpdate.md

File metadata and controls

36 lines (27 loc) 路 1.82 KB

AssignmentSubmissionUpdate

Assignment Submission creation

Properties

Name Type Description Notes
attachments List[ClassAttachmentCreation] [optional]
playback List[AssignmentSubmissionPlayback] [optional]
submit bool If `true`, the submission will be marked as done [optional]
draft_grade float Optional grade. If unset, no grade was set. This value is only visible to the teacher, and is copied to `grade` once the teacher returns the submission [optional]
grade float Optional grade. If unset, no grade was set. [optional]
exercises_ids List[str] The ids of exercises when they need to be in a specific order [optional]
var_return bool If `true`, the submission will be returned to the student (teachers only) [optional]

Example

from flat_api.models.assignment_submission_update import AssignmentSubmissionUpdate

# TODO update the JSON string below
json = "{}"
# create an instance of AssignmentSubmissionUpdate from a JSON string
assignment_submission_update_instance = AssignmentSubmissionUpdate.from_json(json)
# print the JSON string representation of the object
print(AssignmentSubmissionUpdate.to_json())

# convert the object into a dict
assignment_submission_update_dict = assignment_submission_update_instance.to_dict()
# create an instance of AssignmentSubmissionUpdate from a dict
assignment_submission_update_from_dict = AssignmentSubmissionUpdate.from_dict(assignment_submission_update_dict)

[Back to Model list] [Back to API list] [Back to README]