mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
passing canvas models tests
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
namespace CanvasModel.Discussions;
|
||||
|
||||
public record TopicEntryModel
|
||||
(
|
||||
[property: JsonPropertyName("id")]
|
||||
ulong Id,
|
||||
|
||||
[property: JsonPropertyName("user_id")]
|
||||
ulong UserId,
|
||||
|
||||
[property: JsonPropertyName("user_name")]
|
||||
string UserName,
|
||||
|
||||
[property: JsonPropertyName("message")]
|
||||
string Message,
|
||||
|
||||
[property: JsonPropertyName("read_state")]
|
||||
string ReadState,
|
||||
|
||||
[property: JsonPropertyName("forced_read_state")]
|
||||
bool ForcedReadState,
|
||||
|
||||
[property: JsonPropertyName("created_at")]
|
||||
DateTime CreatedAt,
|
||||
|
||||
[property: JsonPropertyName("editor_id")]
|
||||
ulong? EditorId = null,
|
||||
|
||||
[property: JsonPropertyName("updated_at")]
|
||||
DateTime? UpdatedAt = null,
|
||||
|
||||
[property: JsonPropertyName("attachment")]
|
||||
FileAttachmentModel? Attachment = null,
|
||||
|
||||
[property: JsonPropertyName("recent_replies")]
|
||||
IEnumerable<TopicReplyModel>? RecentReplies = null,
|
||||
|
||||
[property: JsonPropertyName("has_more_replies")]
|
||||
bool? HasMoreReplies = null
|
||||
);
|
||||
Reference in New Issue
Block a user