mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
passing canvas models tests
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using CanvasModel.Users;
|
||||
|
||||
namespace CanvasModel.Submissions;
|
||||
public record SubmissionCommentModel
|
||||
(
|
||||
[property: JsonPropertyName("id")]
|
||||
ulong Id,
|
||||
|
||||
[property: JsonPropertyName("author_id")]
|
||||
ulong AuthorId,
|
||||
|
||||
[property: JsonPropertyName("author_name")]
|
||||
string AuthorName,
|
||||
|
||||
[property: JsonPropertyName("author")]
|
||||
UserDisplayModel Author,
|
||||
|
||||
[property: JsonPropertyName("comment")]
|
||||
string Comment,
|
||||
|
||||
[property: JsonPropertyName("created_at")]
|
||||
DateTime CreatedAt,
|
||||
|
||||
[property: JsonPropertyName("edited_at")]
|
||||
DateTime? EditedAt = null,
|
||||
|
||||
[property: JsonPropertyName("media_comment")]
|
||||
MediaCommentModel? MediaComment = null
|
||||
);
|
||||
Reference in New Issue
Block a user