UVACanvasAccess
|
Used to create courses using the builder pattern. When all desired fields are set, call Post to execute the operation. More...
Public Types | |
enum class | CourseEditAction : byte { Unpublish , Publish , Conclude , Delete , Undelete } |
Actions that can be taken when editing a course. More... | |
Public Member Functions | |
CourseBuilder | WithName (string name) |
The name of this course. More... | |
CourseBuilder | WithCourseCode (string courseCode) |
The course code of this course. More... | |
CourseBuilder | WithStartDate (DateTime start) |
The start date of this course. More... | |
CourseBuilder | WithEndDate (DateTime end) |
The end date of this course. More... | |
CourseBuilder | WithLicense (License license) |
The license type for this course. More... | |
CourseBuilder | AsPublic (bool @public=true) |
Make the course visible to all unauthenticated or authenticated users. More... | |
CourseBuilder | AsPublicToAuthUsers (bool publicToAuth=true) |
Make the course visible to all authenticated users. More... | |
CourseBuilder | WithPublicSyllabus (bool publicSyllabus=true) |
Make the syllabus public. More... | |
CourseBuilder | WithPublicDescription (string description) |
The course's public description. More... | |
CourseBuilder | WithStudentWikiEditing (bool allowed=true) |
Allow students to edit the wiki. More... | |
CourseBuilder | WithWikiComments (bool allowed=true) |
Allow wiki comments. More... | |
CourseBuilder | WithStudentForumAttachments (bool allowed=true) |
Allow students to attach files to forum posts. More... | |
CourseBuilder | WithOpenEnrollment (bool openEnrollment=true) |
Allow open enrollment. More... | |
CourseBuilder | WithSelfEnrollment (bool selfEnrollment=true) |
Allow self enrollment. More... | |
CourseBuilder | WithDateRestrictedEnrollments (bool restrict=true) |
Only allow enrollments between this course's start and end dates. More... | |
CourseBuilder | WithTermId (ulong termId) |
The unique term id to create this course in. More... | |
CourseBuilder | WithSisId (string sis) |
The course's SIS id. More... | |
CourseBuilder | WithIntegrationId (string integration) |
The course's integration id. More... | |
CourseBuilder | WithHiddenFinalGrades (bool hide=true) |
Hide final grades in the student summary. More... | |
CourseBuilder | WithAssignmentGroupWeight (bool weight=true) |
Apply assigment group weighting to final grades. More... | |
CourseBuilder | WithTimeZone (string timeZone) |
The time zone of this course. More... | |
CourseBuilder | OfferImmediately (bool offerNow=true) |
Make this course available to students immediately. More... | |
CourseBuilder | EnrollCurrentUser (bool enrollMe=true) |
Enroll the current user immediately as a teacher in this course. More... | |
CourseBuilder | WithDefaultView (CourseView defaultView) |
The course's default view. More... | |
CourseBuilder | WithSyllabusBody (string body) |
The course syllabus. More... | |
CourseBuilder | WithGradingStandard (ulong standard) |
The grading standard for this course. More... | |
CourseBuilder | WithCourseFormat (CourseFormat format) |
The course format. More... | |
CourseBuilder | TryToRecoverFromSis (bool tryToRecover=true) |
Try to recover a deleted course from SIS with a matching SIS id before creating this course. More... | |
CourseBuilder | TakeAction (CourseEditAction action) |
Perform the action indicated by action when editing a course; publish, unpublish, conclude, delete, or undelete the course. More... | |
Task< Course > | Post () |
Creates the assignment using the fields in this builder. More... | |
Used to create courses using the builder pattern. When all desired fields are set, call Post to execute the operation.
|
strong |
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 |
Creates the assignment using the fields in this builder.
|
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 |
Apply assigment group weighting to final grades.
weight |
|
inline |
The course code of this course.
courseCode |
|
inline |
The course format.
format |
|
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 |
The grading standard for this course.
standard |
|
inline |
Hide final grades in the student summary.
hide |
|
inline |
The course's integration id.
integration |
|
inline |
The license type for this course.
license |
|
inline |
The name of this course.
name |
|
inline |
Allow open enrollment.
openEnrollment |
|
inline |
The course's public description.
description |
|
inline |
Make the syllabus public.
publicSyllabus |
|
inline |
Allow self enrollment.
selfEnrollment |
|
inline |
The course's SIS id.
sis |
|
inline |
The start date of this course.
start |
|
inline |
Allow students to attach files to forum posts.
allowed |
|
inline |
Allow students to edit the wiki.
allowed |
|
inline |
The course syllabus.
body |
|
inline |
The unique term id to create this course in.
termId |
|
inline |
The time zone of this course.
timeZone |
|
inline |
Allow wiki comments.
allowed |