|
UVACanvasAccess
|
Used to create or edit courses using the builder pattern. When all desired fields are set, call Post to execute the operation. More...
Public Types | |
| enum | CourseEditAction : byte { Unpublish , Publish , Conclude , Delete , Undelete } |
| Actions that can be taken when editing a course. More... | |
| enum | GradePassbackSetting : byte { Unset , NightlySync , Disabled } |
| Passback settings for grade sync. More... | |
Public Member Functions | |
| CourseBuilder | WithName (string name) |
| The name of this course. | |
| CourseBuilder | WithCourseCode (string courseCode) |
| The course code of this course. | |
| CourseBuilder | WithStartDate (DateTime start) |
| The start date of this course. | |
| CourseBuilder | WithEndDate (DateTime end) |
| The end date of this course. | |
| CourseBuilder | WithLicense (License license) |
| The license type for this course. | |
| CourseBuilder | AsPublic (bool @public=true) |
| Make the course visible to all unauthenticated or authenticated users. | |
| CourseBuilder | AsPublicToAuthUsers (bool publicToAuth=true) |
| Make the course visible to all authenticated users. | |
| CourseBuilder | WithPublicSyllabus (bool publicSyllabus=true) |
| Make the syllabus public. | |
| CourseBuilder | WithPublicSyllabusToAuthUsers (bool publicSyllabusToAuth=true) |
| Make the syllabus public to authenticated users only. | |
| CourseBuilder | WithPublicDescription (string description) |
| The course's public description. | |
| CourseBuilder | WithStudentWikiEditing (bool allowed=true) |
| Allow students to edit the wiki. | |
| CourseBuilder | WithWikiComments (bool allowed=true) |
| Allow wiki comments. | |
| CourseBuilder | WithStudentForumAttachments (bool allowed=true) |
| Allow students to attach files to forum posts. | |
| CourseBuilder | WithOpenEnrollment (bool openEnrollment=true) |
| Allow open enrollment. | |
| CourseBuilder | WithSelfEnrollment (bool selfEnrollment=true) |
| Allow self enrollment. | |
| CourseBuilder | WithDateRestrictedEnrollments (bool restrict=true) |
| Only allow enrollments between this course's start and end dates. | |
| CourseBuilder | WithAccountId (ulong accountId) |
| Move this course to another account. | |
| CourseBuilder | WithTermId (ulong termId) |
| The unique term id to create this course in. | |
| CourseBuilder | WithSisId (string sis) |
| The course's SIS id. | |
| CourseBuilder | WithIntegrationId (string integration) |
| The course's integration id. | |
| CourseBuilder | WithHiddenFinalGrades (bool hide=true) |
| Hide final grades in the student summary. | |
| CourseBuilder | WithAssignmentGroupWeight (bool weight=true) |
| Apply assigment group weighting to final grades. | |
| CourseBuilder | WithTimeZone (string timeZone) |
| The time zone of this course. | |
| CourseBuilder | WithStorageQuotaMb (int quotaMb) |
| Set the storage quota for this course, in megabytes. | |
| CourseBuilder | OfferImmediately (bool offerNow=true) |
| Make this course available to students immediately. | |
| CourseBuilder | EnrollCurrentUser (bool enrollMe=true) |
| Enroll the current user immediately as a teacher in this course. | |
| CourseBuilder | SkipCourseTemplate (bool skipTemplate=true) |
| Whether to skip applying the account's course template to this course. | |
| CourseBuilder | WithDefaultView (CourseView defaultView) |
| The course's default view. | |
| CourseBuilder | WithSyllabusBody (string body) |
| The course syllabus. | |
| CourseBuilder | WithSyllabusCourseSummary (bool showSummary=true) |
| Whether to the course summary on the syllabus page. | |
| CourseBuilder | WithGradingStandard (ulong standard) |
| The grading standard for this course. | |
| CourseBuilder | WithGradePassbackSetting (GradePassbackSetting setting) |
| The grade passback setting for this course. | |
| CourseBuilder | WithCourseFormat (CourseFormat format) |
| The course format. | |
| CourseBuilder | WithManualGradePosting (bool postManually=true) |
| Whether to require grades to be posted manually in this course. | |
| CourseBuilder | WithImageId (ulong imageId) |
| Sets a course image using a file id in the course. | |
| CourseBuilder | WithImageUrl (string imageUrl) |
| Sets a course image using a URL. | |
| CourseBuilder | WithRemoveImage (bool remove=true) |
| Remove the course image. | |
| CourseBuilder | WithRemoveBannerImage (bool remove=true) |
| Remove the course banner image. | |
| CourseBuilder | WithBlueprint (bool blueprint=true) |
| Sets this course as a blueprint course. | |
| CourseBuilder | WithBlueprintRestriction (BlueprintRestrictionType restriction, bool enabled=true) |
| Sets a blueprint restriction for this course. | |
| CourseBuilder | WithBlueprintRestrictions (BlueprintRestrictionTypes restrictions) |
| Sets blueprint restrictions for this course. | |
| CourseBuilder | WithUseBlueprintRestrictionsByObjectType (bool enabled=true) |
| Use object-type specific blueprint restrictions. | |
| CourseBuilder | WithBlueprintRestrictionByObjectType (BlueprintAssetType objectType, BlueprintRestrictionType restriction, bool enabled=true) |
| Sets a blueprint restriction by object type. | |
| CourseBuilder | WithBlueprintRestrictionsByObjectType (Dictionary< BlueprintAssetType, BlueprintRestrictionTypes > restrictionsByObjectType) |
| Sets blueprint restrictions by object type. | |
| CourseBuilder | WithHomeroomCourse (bool homeroom=true) |
| Sets this course as a homeroom course. | |
| CourseBuilder | WithSyncEnrollmentsFromHomeroom (bool setting=true) |
| Sync enrollments from the homeroom course. | |
| CourseBuilder | WithHomeroomCourseId (string homeroomCourseId) |
| Sets the homeroom course id for enrollment sync. | |
| CourseBuilder | WithTemplate (bool template=true) |
| Enable or disable this course as a template. | |
| CourseBuilder | WithCourseColor (string hexColor) |
| Sets the course color (hex). | |
| CourseBuilder | WithFriendlyName (string friendlyName) |
| Set a friendly name for the course. | |
| CourseBuilder | WithCoursePacingEnabled (bool enabled=true) |
| Enable or disable Course Pacing. | |
| CourseBuilder | WithConditionalRelease (bool enabled=true) |
| Enable or disable conditional release. | |
| CourseBuilder | TryToRecoverFromSis (bool tryToRecover=true) |
| Try to recover a deleted course from SIS with a matching SIS id before creating this course. | |
| CourseBuilder | WithOverrideSisStickiness (bool overrideStickiness=true) |
| Override SIS stickiness. | |
| CourseBuilder | TakeAction (CourseEditAction action) |
| Perform the action indicated by action when editing a course; publish, unpublish, conclude, delete, or undelete the course. | |
| Task< Course > | Post () |
| Commit the operation using the fields in this builder. | |
Used to create or edit courses using the builder pattern. When all desired fields are set, call Post to execute the operation.
Actions that can be taken when editing a course.
|
inline |
Make the course visible to all unauthenticated or authenticated users.
| public |
|
inline |
Make the course visible to all authenticated users.
| publicToAuth |
|
inline |
Enroll the current user immediately as a teacher in this course.
| enrollMe |
|
inline |
Make this course available to students immediately.
| offerNow |
|
inline |
Commit the operation using the fields in this builder.
|
inline |
Whether to skip applying the account's course template to this course.
| skipTemplate |
|
inline |
Perform the action indicated by action when editing a course; publish, unpublish, conclude, delete, or undelete the course.
| action | What action to take. |
Has no effect when creating a course.
|
inline |
Try to recover a deleted course from SIS with a matching SIS id before creating this course.
| tryToRecover |
|
inline |
Move this course to another account.
| accountId |
Has no effect when creating a course.
|
inline |
Apply assigment group weighting to final grades.
| weight |
|
inline |
Sets this course as a blueprint course.
| blueprint |
Has no effect when creating a course.
|
inline |
Sets a blueprint restriction for this course.
| restriction | |
| enabled |
Has no effect when creating a course.
|
inline |
Sets a blueprint restriction by object type.
| objectType | |
| restriction | |
| enabled |
Has no effect when creating a course.
|
inline |
Sets blueprint restrictions for this course.
| restrictions |
Has no effect when creating a course.
|
inline |
Sets blueprint restrictions by object type.
| restrictionsByObjectType |
Has no effect when creating a course.
|
inline |
Enable or disable conditional release.
| enabled |
Has no effect when creating a course.
|
inline |
The course code of this course.
| courseCode |
|
inline |
Sets the course color (hex).
| hexColor |
Has no effect when creating a course.
|
inline |
The course format.
| format |
|
inline |
Enable or disable Course Pacing.
| enabled |
Has no effect when creating a course.
|
inline |
Only allow enrollments between this course's start and end dates.
| restrict |
|
inline |
The course's default view.
| defaultView |
|
inline |
The end date of this course.
| end |
|
inline |
Set a friendly name for the course.
| friendlyName |
Has no effect when creating a course.
|
inline |
The grade passback setting for this course.
| setting |
|
inline |
The grading standard for this course.
| standard |
|
inline |
Hide final grades in the student summary.
| hide |
|
inline |
Sets this course as a homeroom course.
| homeroom |
Has no effect when creating a course.
|
inline |
Sets the homeroom course id for enrollment sync.
| homeroomCourseId |
Has no effect when creating a course.
|
inline |
Sets a course image using a file id in the course.
| imageId |
Has no effect when creating a course.
|
inline |
Sets a course image using a URL.
| imageUrl |
Has no effect when creating a course.
|
inline |
The course's integration id.
| integration |
|
inline |
The license type for this course.
| license |
|
inline |
Whether to require grades to be posted manually in this course.
| postManually |
|
inline |
The name of this course.
| name |
|
inline |
Allow open enrollment.
| openEnrollment |
|
inline |
Override SIS stickiness.
| overrideStickiness |
Has no effect when creating a course.
|
inline |
The course's public description.
| description |
|
inline |
Make the syllabus public.
| publicSyllabus |
|
inline |
Make the syllabus public to authenticated users only.
| publicSyllabusToAuth |
|
inline |
Remove the course banner image.
| remove |
Has no effect when creating a course.
|
inline |
Remove the course image.
| remove |
Has no effect when creating a course.
|
inline |
Allow self enrollment.
| selfEnrollment |
|
inline |
The course's SIS id.
| sis |
|
inline |
The start date of this course.
| start |
|
inline |
Set the storage quota for this course, in megabytes.
| quotaMb |
Has no effect when creating a course.
|
inline |
Allow students to attach files to forum posts.
| allowed |
|
inline |
Allow students to edit the wiki.
| allowed |
|
inline |
The course syllabus.
| body |
|
inline |
Whether to the course summary on the syllabus page.
| showSummary |
Has no effect when creating a course.
|
inline |
Sync enrollments from the homeroom course.
| setting |
Has no effect when creating a course.
|
inline |
Enable or disable this course as a template.
| template |
Has no effect when creating a course.
|
inline |
The unique term id to create this course in.
| termId |
|
inline |
The time zone of this course.
| timeZone |
|
inline |
Use object-type specific blueprint restrictions.
| enabled |
Has no effect when creating a course.
|
inline |
Allow wiki comments.
| allowed |