A class used to create new DiscussionTopics using the builder pattern. When all desired fields are set, call Post to create the topic.
More...
|
CreateDiscussionTopicBuilder | WithTitle (string title) |
| The title. More...
|
|
CreateDiscussionTopicBuilder | WithMessage (string message) |
| The message. More...
|
|
CreateDiscussionTopicBuilder | WithDiscussionType (string type) |
| The type of discussion. Defaults to side_comment if not value is given. Accepted values are 'side_comment', for discussions that only allow one level of nested comments, and 'threaded' for fully threaded discussions. More...
|
|
CreateDiscussionTopicBuilder | WithPublishedStatus (bool published=true) |
| If the topic should be published or remain a draft. By default, if the current user is a teacher or a TA, the topic will remain a draft. Otherwise, the topic will be published. More...
|
|
CreateDiscussionTopicBuilder | WithDelayedPosting (DateTime postAt) |
| If set, the topic will not be published until this time. More...
|
|
CreateDiscussionTopicBuilder | WithRatingsAllowed (bool allowed=true) |
| Whether or not users are allowed to rate entries under this topic. More...
|
|
CreateDiscussionTopicBuilder | WithScheduledLock (DateTime lockAt) |
| If set, the topic will lock itself at this time. More...
|
|
CreateDiscussionTopicBuilder | WithPodcastEnabled (bool enabled=true) |
| If enabled, the topic will have a podcast feed. More...
|
|
CreateDiscussionTopicBuilder | WithPodcastIncludingStudents (bool enabled=true) |
| If enabled, the topic will have a podcast feed that includes student posts. More...
|
|
CreateDiscussionTopicBuilder | WithRequiredInitialPost (bool require=true) |
| If enabled, users cannot reply to other replies until they themselves have posted a reply. More...
|
|
CreateDiscussionTopicBuilder | WithAssignment (object o) |
| Not yet supported. More...
|
|
CreateDiscussionTopicBuilder | AsAnnouncement (bool isAnnouncement=true) |
| If enabled, this topic will appear in students' announcements section. More...
|
|
CreateDiscussionTopicBuilder | AsPinned (bool pinned=true) |
| If true, this topic will appear in students' pinned discussions section. More...
|
|
CreateDiscussionTopicBuilder | WithPositionAfter (string id) |
| By default, topics are sorted chronologically. If set, this topic will instead appear after a specific topic. More...
|
|
CreateDiscussionTopicBuilder | WithGroupCategory (uint id) |
| If set, this topic will become a group discussion. More...
|
|
CreateDiscussionTopicBuilder | WithGraderRatingsOnly (bool graderRatingsOnly=true) |
| If set, only graders will be able to rate entries. More...
|
|
CreateDiscussionTopicBuilder | WithSortingByRating (bool sortByRating=true) |
| If set, entries will be sorted by rating. More...
|
|
CreateDiscussionTopicBuilder | WithAttachment () |
| Not yet supported. More...
|
|
CreateDiscussionTopicBuilder | WithSpecificSections (IEnumerable< ulong > sections) |
| If this topic is an announcement, lives in a course, and this is set, the topic will only appear to these specific sections. More...
|
|
Task< DiscussionTopic > | Post () |
| Creates the new discussion topic. More...
|
|
A class used to create new DiscussionTopics using the builder pattern. When all desired fields are set, call Post to create the topic.