mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
scafolded project
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
|
||||
namespace Model.GradeChangelog {
|
||||
|
||||
public class GradeChangeEventLinksModel {
|
||||
|
||||
[JsonPropertyName("assignment")]
|
||||
public ulong Assignment { get; set; }
|
||||
|
||||
[JsonPropertyName("course")]
|
||||
public ulong Course { get; set; }
|
||||
|
||||
[JsonPropertyName("student")]
|
||||
public ulong Student { get; set; }
|
||||
|
||||
[JsonPropertyName("grader")]
|
||||
public ulong Grader { get; set; }
|
||||
|
||||
[JsonPropertyName("page_view")]
|
||||
public string? PageView { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
|
||||
|
||||
|
||||
namespace Model.GradeChangelog {
|
||||
|
||||
public class GradeChangeEventModel {
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonPropertyName("created_at")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("event_type")]
|
||||
public string EventType { get; set; }
|
||||
|
||||
[JsonPropertyName("excused_after")]
|
||||
public bool ExcusedAfter { get; set; }
|
||||
|
||||
[JsonPropertyName("excused_before")]
|
||||
public bool ExcusedBefore { get; set; }
|
||||
|
||||
[JsonPropertyName("grade_after")]
|
||||
public string GradeAfter { get; set; }
|
||||
|
||||
[JsonPropertyName("grade_before")]
|
||||
public string GradeBefore { get; set; }
|
||||
|
||||
[JsonPropertyName("graded_anonymously")]
|
||||
public bool? GradedAnonymously { get; set; }
|
||||
|
||||
[JsonPropertyName("version_number")]
|
||||
public string VersionNumber { get; set; }
|
||||
|
||||
[JsonPropertyName("request_id")]
|
||||
public string RequestId { get; set; }
|
||||
|
||||
[JsonPropertyName("links")]
|
||||
public GradeChangeEventLinksModel? Links { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace Model.GradeChangelog {
|
||||
|
||||
public class RedundantGradeChangeEventResponse {
|
||||
|
||||
[JsonPropertyName("events")]
|
||||
public IEnumerable<GradeChangeEventModel> Events { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user