UVACanvasAccess
Public Member Functions | Properties | List of all members
UVACanvasAccess.Structures.Discussions.DiscussionTopic Class Reference

Represents a discussion topic. More...

Inheritance diagram for UVACanvasAccess.Structures.Discussions.DiscussionTopic:
Inheritance graph
[legend]
Collaboration diagram for UVACanvasAccess.Structures.Discussions.DiscussionTopic:
Collaboration graph
[legend]

Public Member Functions

Task< IEnumerable< TopicEntry > > GetEntries ()
 Gets the list of entries for this topic. More...
 
string ToPrettyString ()
 Returns a pretty, formatted string representation of the object.
 

Properties

DiscussionHome Home [get]
 Which type of entity the discussion belongs to. More...
 
ulong HomeId [get]
 The id of the entity the discussion belongs to. More...
 
ulong Id [get]
 The discussion id. More...
 
string Title [get]
 The discussion title. More...
 
string Message [get]
 The content of the discussion topic. More...
 
string HtmlUrl [get]
 The webpage url of the discussion topic. More...
 
DateTime? PostedAt [get]
 When the topic was posted. More...
 
DateTime? LastReplyAt [get]
 When the last reply was made to the topic. More...
 
bool? RequireInitialPost [get]
 Whether a user must first post a reply before being allowed to respond to other replies. More...
 
bool? UserCanSeePosts [get]
 Whether a user can see other replies. More...
 
uint? DiscussionSubentryCount [get]
 The amount of entries in the topic. More...
 
string ReadState [get]
 The read state of the topic for the current user. More...
 
uint? UnreadCount [get]
 The amount of unread entries in the topic for the current user. More...
 
bool? Subscribed [get]
 Whether the user is subscribed to the topic. More...
 
string SubscriptionHold [get]
 If the user is forbidden from subscribing to the topic, the reason. More...
 
ulong? AssignmentId [get]
 If this topic is for grading an assignment, the assignment id. More...
 
DateTime? DelayedPostAt [get]
 If the topic is set to be posted after a delay, when the topic will be posted. More...
 
bool? Published [get]
 Whether the topic is published. More...
 
DateTime? LockAt [get]
 When the topic will lock. More...
 
bool? Locked [get]
 Whether the topic is locked. More...
 
bool? Pinned [get]
 Whether the topic is pinned. More...
 
bool? LockedForUser [get]
 Whether the topic is locked for the current user. More...
 
object LockInfo [get]
 Present if the topic is locked for the current user. More...
 
string LockExplanation [get]
 If the topic is locked for the current user, the reason. More...
 
string UserName [get]
 The name of the topic creator. More...
 
IEnumerable< uint > TopicChildren [get]
 
object GroupTopicChildren [get]
 
ulong? RootTopicId [get]
 The root topic id, if a root topic exists. More...
 
string PodcastUrl [get]
 If the topic is a podcast, the podcast url. More...
 
DiscussionTypeDiscussionType [get]
 The discussion type, i. e. whether replies may themselves have nested replies. More...
 
ulong? GroupCategoryId [get]
 If this is a group discussion, the group category id. More...
 
IEnumerable< FileAttachmentAttachments [get]
 Any attachments to the discussion. More...
 
Dictionary< string, bool > Permissions [get]
 The current user's permissions for the discussion. More...
 
bool? AllowRating [get]
 Whether users can rate replies. More...
 
bool? OnlyGradersCanRate [get]
 Whether rating is restricted to graders. More...
 
bool? SortByRating [get]
 Whether replies should be sorted by rating. More...
 
UserDisplay Author [get, set]
 The author of the topic. More...
 

Detailed Description

Represents a discussion topic.

Member Function Documentation

◆ GetEntries()

Task<IEnumerable<TopicEntry> > UVACanvasAccess.Structures.Discussions.DiscussionTopic.GetEntries ( )
inline

Gets the list of entries for this topic.

Returns
The list of entries.

Property Documentation

◆ AllowRating

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.AllowRating
get

Whether users can rate replies.

◆ AssignmentId

ulong? UVACanvasAccess.Structures.Discussions.DiscussionTopic.AssignmentId
get

If this topic is for grading an assignment, the assignment id.

◆ Attachments

IEnumerable<FileAttachment> UVACanvasAccess.Structures.Discussions.DiscussionTopic.Attachments
get

Any attachments to the discussion.

◆ Author

UserDisplay UVACanvasAccess.Structures.Discussions.DiscussionTopic.Author
getset

The author of the topic.

◆ DelayedPostAt

DateTime? UVACanvasAccess.Structures.Discussions.DiscussionTopic.DelayedPostAt
get

If the topic is set to be posted after a delay, when the topic will be posted.

◆ DiscussionSubentryCount

uint? UVACanvasAccess.Structures.Discussions.DiscussionTopic.DiscussionSubentryCount
get

The amount of entries in the topic.

◆ DiscussionType

DiscussionType? UVACanvasAccess.Structures.Discussions.DiscussionTopic.DiscussionType
get

The discussion type, i. e. whether replies may themselves have nested replies.

◆ GroupCategoryId

ulong? UVACanvasAccess.Structures.Discussions.DiscussionTopic.GroupCategoryId
get

If this is a group discussion, the group category id.

◆ Home

DiscussionHome UVACanvasAccess.Structures.Discussions.DiscussionTopic.Home
get

Which type of entity the discussion belongs to.

◆ HomeId

ulong UVACanvasAccess.Structures.Discussions.DiscussionTopic.HomeId
get

The id of the entity the discussion belongs to.

◆ HtmlUrl

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.HtmlUrl
get

The webpage url of the discussion topic.

◆ Id

ulong UVACanvasAccess.Structures.Discussions.DiscussionTopic.Id
get

The discussion id.

◆ LastReplyAt

DateTime? UVACanvasAccess.Structures.Discussions.DiscussionTopic.LastReplyAt
get

When the last reply was made to the topic.

◆ LockAt

DateTime? UVACanvasAccess.Structures.Discussions.DiscussionTopic.LockAt
get

When the topic will lock.

◆ Locked

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.Locked
get

Whether the topic is locked.

◆ LockedForUser

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.LockedForUser
get

Whether the topic is locked for the current user.

◆ LockExplanation

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.LockExplanation
get

If the topic is locked for the current user, the reason.

◆ LockInfo

object UVACanvasAccess.Structures.Discussions.DiscussionTopic.LockInfo
get

Present if the topic is locked for the current user.

◆ Message

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.Message
get

The content of the discussion topic.

◆ OnlyGradersCanRate

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.OnlyGradersCanRate
get

Whether rating is restricted to graders.

◆ Permissions

Dictionary<string, bool> UVACanvasAccess.Structures.Discussions.DiscussionTopic.Permissions
get

The current user's permissions for the discussion.

◆ Pinned

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.Pinned
get

Whether the topic is pinned.

◆ PodcastUrl

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.PodcastUrl
get

If the topic is a podcast, the podcast url.

◆ PostedAt

DateTime? UVACanvasAccess.Structures.Discussions.DiscussionTopic.PostedAt
get

When the topic was posted.

◆ Published

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.Published
get

Whether the topic is published.

◆ ReadState

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.ReadState
get

The read state of the topic for the current user.

◆ RequireInitialPost

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.RequireInitialPost
get

Whether a user must first post a reply before being allowed to respond to other replies.

◆ RootTopicId

ulong? UVACanvasAccess.Structures.Discussions.DiscussionTopic.RootTopicId
get

The root topic id, if a root topic exists.

◆ SortByRating

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.SortByRating
get

Whether replies should be sorted by rating.

◆ Subscribed

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.Subscribed
get

Whether the user is subscribed to the topic.

◆ SubscriptionHold

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.SubscriptionHold
get

If the user is forbidden from subscribing to the topic, the reason.

◆ Title

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.Title
get

The discussion title.

◆ UnreadCount

uint? UVACanvasAccess.Structures.Discussions.DiscussionTopic.UnreadCount
get

The amount of unread entries in the topic for the current user.

◆ UserCanSeePosts

bool? UVACanvasAccess.Structures.Discussions.DiscussionTopic.UserCanSeePosts
get

Whether a user can see other replies.

◆ UserName

string UVACanvasAccess.Structures.Discussions.DiscussionTopic.UserName
get

The name of the topic creator.


The documentation for this class was generated from the following file: