UVACanvasAccess
|
A class used to create or edit assignments using the builder pattern. When all desired fields are set, call Post to execute the operation. More...
Public Member Functions | |
AssignmentBuilder | WithName (string name) |
The name of the assignment. More... | |
AssignmentBuilder | WithPosition (int pos) |
The position of this assignment when displaying assignment lists. More... | |
AssignmentBuilder | WithSubmissionTypes (SubmissionTypes types) |
The list of submission types supported for this assignment. More... | |
AssignmentBuilder | WithAllowedExtensions (IEnumerable< string > extensions) |
Allowed file extensions for the SubmissionTypes.OnlineUpload submission type, if this assignment supports it. More... | |
AssignmentBuilder | WithAllowedExtensions (params string[] extensions) |
Allowed file extensions for the SubmissionTypes.OnlineUpload submission type, if this assignment supports it. More... | |
AssignmentBuilder | WithTurnitinEnabled (bool enabled=true) |
Enables Turnitin. More... | |
AssignmentBuilder | WithVericiteEnabled (bool enabled=true) |
Enables Vericite. More... | |
AssignmentBuilder | WithTurnitinSettings (TurnitinSettings settings) |
Settings for Turnitin, if it is enabled. More... | |
AssignmentBuilder | WithSisIntegrationData (string sis) |
Data for SIS integration. More... | |
AssignmentBuilder | WithIntegrationId (string id) |
Unique ID for third-party integrations. More... | |
AssignmentBuilder | WithPeerReviews (bool enabled=true) |
Enables peer reviews. More... | |
AssignmentBuilder | WithAutomaticPeerReviews (bool enabled=true) |
Enables automatically assigned peer reviews. More... | |
AssignmentBuilder | WithUpdateNotification (bool enabled=true) |
Determines if Canvas notifies students when the content of this assignment changes. More... | |
AssignmentBuilder | WithGroupCategoryId (ulong id) |
Assigns this assignment to a group. More... | |
AssignmentBuilder | WithIndividualGroupGrading (bool enabled=true) |
If this is a group assignment, determines if grades are applied per-student or to the entire group. More... | |
AssignmentBuilder | WithExternalToolTagAttribute (string tool) |
If this assignment supports SubmissionTypes.ExternalTool, sets the parameters of the external tool. More... | |
AssignmentBuilder | WithPointsPossible (double points) |
The maximum amount of points that can be earned from this assignment. More... | |
AssignmentBuilder | WithGradingType (GradingType type) |
The GradingType used for grading the assignment. More... | |
AssignmentBuilder | WithDueDate (DateTime dateTime) |
The date/time when this assignment is due. More... | |
AssignmentBuilder | WithLockDate (DateTime dateTime) |
The date/time when this assignment becomes unavailable. More... | |
AssignmentBuilder | WithUnlockDate (DateTime dateTime) |
The date/time when this assignment becomes available. More... | |
AssignmentBuilder | WithDescription (string description) |
The description of this assignment. More... | |
AssignmentBuilder | WithAssignmentGroupId (ulong id) |
The assignment group to put this assignment into. More... | |
AssignmentBuilder | Muted (bool enabled=true) |
Mutes this assignment. A muted assignment sends no notifications and hides grades from students. More... | |
AssignmentBuilder | WithAssignmentOverrides (IEnumerable< AssignmentOverride > overrides) |
List of any overrides for this assignment. More... | |
AssignmentBuilder | OnlyVisibleToOverrides (bool enabled=true) |
Determines if this assignment is only visible to overrides. More... | |
AssignmentBuilder | Published (bool enabled=true) |
Determines if the assignment is published. More... | |
AssignmentBuilder | WithGradingStandard (ulong id) |
The grading standard id to use. More... | |
AssignmentBuilder | OmitFromFinalGrade (bool enabled=true) |
Omits this assignment from final grades. More... | |
AssignmentBuilder | WithQuizLti (bool enabled=true) |
Determines if this assignment should use the Quizzes 2 LTI tool. More... | |
AssignmentBuilder | WithModeratedGrading (bool enabled=true) |
Determines if this assignment is moderated. More... | |
AssignmentBuilder | WithGraderCount (uint count) |
The maximum amount of personal graders who may issue grades for this assignment. More... | |
AssignmentBuilder | WithFinalGrader (ulong id) |
If this is a moderated assignment, the grader responsible for choosing the final grade. More... | |
AssignmentBuilder | WithGraderCommentsVisibleToGraders (bool enabled=true) |
If this is a moderated assignment, makes graders' comments visible to other graders. More... | |
AssignmentBuilder | WithGradersAnonymousToGraders (bool enabled=true) |
If this is a moderated assignment, hides graders' names from other graders. More... | |
AssignmentBuilder | WithGraderNamesVisibleToFinalGrader (bool enabled=true) |
If this is a moderated assignment, makes graders' names visible to the final grader. More... | |
AssignmentBuilder | WithAnonymousGrading (bool enabled=true) |
Hides student identities from graders. More... | |
AssignmentBuilder | WithAllowedAttempts (int count) |
The maximum number of submission attempts for this assignment. More... | |
Task< Assignment > | Post () |
Performs the operation using the fields in this builder. More... | |
A class used to create or edit assignments using the builder pattern. When all desired fields are set, call Post to execute the operation.
|
inline |
Mutes this assignment. A muted assignment sends no notifications and hides grades from students.
enabled |
|
inline |
Omits this assignment from final grades.
enabled |
|
inline |
Determines if this assignment is only visible to overrides.
enabled |
|
inline |
Performs the operation using the fields in this builder.
|
inline |
Determines if the assignment is published.
enabled |
|
inline |
The maximum number of submission attempts for this assignment.
count |
A value of -1
indicates no limit.
|
inline |
Allowed file extensions for the SubmissionTypes.OnlineUpload submission type, if this assignment supports it.
extensions |
|
inline |
Allowed file extensions for the SubmissionTypes.OnlineUpload submission type, if this assignment supports it.
extensions |
|
inline |
Hides student identities from graders.
enabled |
|
inline |
The assignment group to put this assignment into.
id |
|
inline |
List of any overrides for this assignment.
overrides |
|
inline |
Enables automatically assigned peer reviews.
enabled |
Implies WithPeerReviews = true.
|
inline |
The description of this assignment.
description |
|
inline |
The date/time when this assignment is due.
dateTime |
When either WithUnlockDate or WithLockDate are specified, this must fall between them.
|
inline |
If this assignment supports SubmissionTypes.ExternalTool, sets the parameters of the external tool.
tool | The hash. |
|
inline |
If this is a moderated assignment, the grader responsible for choosing the final grade.
id |
|
inline |
If this is a moderated assignment, makes graders' comments visible to other graders.
enabled |
|
inline |
The maximum amount of personal graders who may issue grades for this assignment.
count |
|
inline |
If this is a moderated assignment, makes graders' names visible to the final grader.
enabled |
|
inline |
If this is a moderated assignment, hides graders' names from other graders.
enabled |
|
inline |
The grading standard id to use.
id |
|
inline |
The GradingType used for grading the assignment.
type |
If unspecified, this field defaults to GradingType.Points.
|
inline |
Assigns this assignment to a group.
id |
|
inline |
If this is a group assignment, determines if grades are applied per-student or to the entire group.
enabled |
|
inline |
Unique ID for third-party integrations.
id |
|
inline |
The date/time when this assignment becomes unavailable.
dateTime |
When WithDueDate is specified, this must fall after it.
|
inline |
Determines if this assignment is moderated.
enabled |
|
inline |
The name of the assignment.
name |
This field is required.
|
inline |
Enables peer reviews.
enabled |
Ignored if this assignment supports any of SubmissionTypes.ExternalTool, SubmissionTypes.DiscussionTopic, SubmissionTypes.OnlineQuiz, or SubmissionTypes.OnPaper.
|
inline |
The maximum amount of points that can be earned from this assignment.
points |
|
inline |
The position of this assignment when displaying assignment lists.
pos |
|
inline |
Determines if this assignment should use the Quizzes 2 LTI tool.
enabled |
|
inline |
Data for SIS integration.
sis |
Requires that the current user is an admin.
|
inline |
The list of submission types supported for this assignment.
types |
If the assignment supports online submissions (not including SubmissionTypes.OnlineQuiz but including SubmissionTypes.MediaRecording), then multiple submission types are supported. Otherwise, only one submission type is supported. (See Edit an assignment for elaboration on this.)
|
inline |
Enables Turnitin.
enabled |
Enabling Turnitin requires that the assignment support the SubmissionTypes.OnlineUpload submission type, and that Turnitin is available for this course.
|
inline |
Settings for Turnitin, if it is enabled.
settings |
|
inline |
The date/time when this assignment becomes available.
dateTime |
When WithDueDate is specified, this must fall before it.
|
inline |
Determines if Canvas notifies students when the content of this assignment changes.
enabled |
|
inline |
Enables Vericite.
enabled |
Enabling Vericite requires that the assignment support the SubmissionTypes.OnlineUpload submission type, and that Vericite is available for this course.