commit pre-purge

This commit is contained in:
2023-01-04 20:26:15 -07:00
parent c28230691e
commit b9824a7327
16 changed files with 229 additions and 75 deletions

View File

@@ -1,8 +1,5 @@
namespace CanvasModel.Courses;
public struct CalendarLinkModel
{
[JsonPropertyName("ics")]
public string Ics { get; set; }
}
public record CalendarLinkModel
(
[property: JsonPropertyName("ics")] string Ics
);

View File

@@ -1,17 +1,8 @@
namespace CanvasModel.Courses;
public class TermModel
{
[JsonPropertyName("id")]
public ulong Id { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("start_at")]
public DateTime? StartAt { get; set; }
[JsonPropertyName("end_at")]
public DateTime? EndAt { get; set; }
}
public record TermModel
(
[property: JsonPropertyName("id")] ulong Id,
[property: JsonPropertyName("name")] string Name,
[property: JsonPropertyName("start_at")] DateTime? StartAt,
[property: JsonPropertyName("end_at")] DateTime? EndAt
);