UVACanvasAccess
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. More...
 

Protected Attributes

readonly Api Api
 

Properties

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

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

◆ AnonymousId

string UVACanvasAccess.Structures.Submissions.Submission.AnonymousId
get

A short string identifying this submission without referencing the submitter.

◆ Assignment

Assignment UVACanvasAccess.Structures.Submissions.Submission.Assignment
get

The assignment object this submission is for.

◆ AssignmentId

ulong UVACanvasAccess.Structures.Submissions.Submission.AssignmentId
get

The assignment id this submission is for.

◆ AssignmentVisible

bool? UVACanvasAccess.Structures.Submissions.Submission.AssignmentVisible
get

Whether the assignment is visible to the submitter.

◆ Attempt

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

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

See also
ExtraAttempts

◆ Body

string UVACanvasAccess.Structures.Submissions.Submission.Body
get

The textual submission contents, if they exist.

◆ Course

Course UVACanvasAccess.Structures.Submissions.Submission.Course
get

The course the assignment belongs to.

◆ Excused

bool? UVACanvasAccess.Structures.Submissions.Submission.Excused
get

Whether the assignment was excused for the submitter.

◆ ExtraAttempts

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

How many extra attempts are allowed.

See also
Attempt

◆ Grade

string UVACanvasAccess.Structures.Submissions.Submission.Grade
get

The submission grade.

◆ GradedAt

DateTime? UVACanvasAccess.Structures.Submissions.Submission.GradedAt
get

When the submission was graded.

◆ GradeMatchesCurrentSubmission

bool? UVACanvasAccess.Structures.Submissions.Submission.GradeMatchesCurrentSubmission
get

Whether this submission is the most recent attempt.

◆ GraderId

long? UVACanvasAccess.Structures.Submissions.Submission.GraderId
get

The grader id. Not guaranteed to map to a canvas user id.

◆ HtmlUrl

string UVACanvasAccess.Structures.Submissions.Submission.HtmlUrl
get

The url to the web UI.

◆ Late

bool? UVACanvasAccess.Structures.Submissions.Submission.Late
get

Whether the submission was late.

◆ LatePolicyStatus

SubmissionLateStatus UVACanvasAccess.Structures.Submissions.Submission.LatePolicyStatus
get

The late status.

See also
SubmissionLateStatus

◆ Missing

bool? UVACanvasAccess.Structures.Submissions.Submission.Missing
get

Whether the submission is missing.

◆ PointsDeducted

double? UVACanvasAccess.Structures.Submissions.Submission.PointsDeducted
get

How many points were deducted as a result of the LatePolicyStatus.

◆ PreviewUrl

string UVACanvasAccess.Structures.Submissions.Submission.PreviewUrl
get

The url to the web UI preview.

◆ Score

decimal? UVACanvasAccess.Structures.Submissions.Submission.Score
get

The submission score.

◆ SecondsLate

double? UVACanvasAccess.Structures.Submissions.Submission.SecondsLate
get

How many seconds the submission was late by.

◆ SubmissionComments

IEnumerable<SubmissionComment> UVACanvasAccess.Structures.Submissions.Submission.SubmissionComments
get

The list of submission comments, if any.

◆ SubmissionType

string UVACanvasAccess.Structures.Submissions.Submission.SubmissionType
get

The submission type.

◆ SubmittedAt

DateTime? UVACanvasAccess.Structures.Submissions.Submission.SubmittedAt
get

When the submission was created.

◆ Url

string UVACanvasAccess.Structures.Submissions.Submission.Url
get

If the submission was a URL submission, this is the submitted URL.

◆ User

User UVACanvasAccess.Structures.Submissions.Submission.User
get

The user object of the submitter.

◆ UserId

ulong UVACanvasAccess.Structures.Submissions.Submission.UserId
get

The user id of the submitter.

◆ WorkflowState

string UVACanvasAccess.Structures.Submissions.Submission.WorkflowState
get

The overall submission state.


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