UVACanvasAccess
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Properties | List of all members
UVACanvasAccess.Structures.Submissions.Submission Class Reference

Represents an assignment submission. More...

Inheritance diagram for UVACanvasAccess.Structures.Submissions.Submission:
Inheritance graph
[legend]
Collaboration diagram for UVACanvasAccess.Structures.Submissions.Submission:
Collaboration graph
[legend]

Public Member Functions

virtual string ToPrettyString ()
 Returns a pretty, formatted string representation of the object.
 

Protected Attributes

readonly Api Api
 

Properties

ulong AssignmentId [get]
 The assignment id this submission is for.
 
Assignment Assignment [get]
 The assignment object this submission is for.
 
Course Course [get]
 The course the assignment belongs to.
 
uint? Attempt [get]
 Which attempt this submission is (e.g. 1 for the first attempt).
 
string Body [get]
 The textual submission contents, if they exist.
 
string Grade [get]
 The submission grade.
 
bool? GradeMatchesCurrentSubmission [get]
 Whether this submission is the most recent attempt.
 
string HtmlUrl [get]
 The url to the web UI.
 
string PreviewUrl [get]
 The url to the web UI preview.
 
decimal? Score [get]
 The submission score.
 
IEnumerable< SubmissionCommentSubmissionComments [get]
 The list of submission comments, if any.
 
string SubmissionType [get]
 The submission type.
 
DateTime? SubmittedAt [get]
 When the submission was created.
 
string Url [get]
 If the submission was a URL submission, this is the submitted URL.
 
ulong UserId [get]
 The user id of the submitter.
 
long? GraderId [get]
 The grader id. Not guaranteed to map to a canvas user id.
 
DateTime? GradedAt [get]
 When the submission was graded.
 
User User [get]
 The user object of the submitter.
 
bool? Late [get]
 Whether the submission was late.
 
bool? AssignmentVisible [get]
 Whether the assignment is visible to the submitter.
 
bool? Excused [get]
 Whether the assignment was excused for the submitter.
 
bool? Missing [get]
 Whether the submission is missing.
 
SubmissionLateStatus LatePolicyStatus [get]
 The late status.
 
double? PointsDeducted [get]
 How many points were deducted as a result of the LatePolicyStatus.
 
double? SecondsLate [get]
 How many seconds the submission was late by.
 
string WorkflowState [get]
 The overall submission state.
 
uint? ExtraAttempts [get]
 How many extra attempts are allowed.
 
string AnonymousId [get]
 A short string identifying this submission without referencing the submitter.
 

Detailed Description

Represents an assignment submission.

See also
Assignment

Member Function Documentation

◆ ToPrettyString()

virtual string UVACanvasAccess.Structures.Submissions.Submission.ToPrettyString ( )
inlinevirtual

Returns a pretty, formatted string representation of the object.

Returns
The formatted string.

Implements UVACanvasAccess.Util.IPrettyPrint.

Reimplemented in UVACanvasAccess.Structures.Gradebook.SubmissionVersion.

Property Documentation

◆ Attempt

uint? UVACanvasAccess.Structures.Submissions.Submission.Attempt
get

Which attempt this submission is (e.g. 1 for the first attempt).

See also
ExtraAttempts

◆ ExtraAttempts

uint? UVACanvasAccess.Structures.Submissions.Submission.ExtraAttempts
get

How many extra attempts are allowed.

See also
Attempt

◆ LatePolicyStatus

SubmissionLateStatus UVACanvasAccess.Structures.Submissions.Submission.LatePolicyStatus
get

The late status.

See also
SubmissionLateStatus

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