|
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 | 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. | |
| 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 | 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 | 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 | 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 | WithDefaultView (CourseView defaultView) |
| The course's default view. | |
| CourseBuilder | WithSyllabusBody (string body) |
| The course syllabus. | |
| CourseBuilder | WithGradingStandard (ulong standard) |
| The grading standard for this course. | |
| CourseBuilder | WithCourseFormat (CourseFormat format) |
| The course format. | |
| CourseBuilder | TryToRecoverFromSis (bool tryToRecover=true) |
| Try to recover a deleted course from SIS with a matching SIS id before creating this course. | |
| 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 () |
| Creates the assignment using the fields in this builder. | |
Used to create 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 |
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 |