mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
reformatted models
This commit is contained in:
@@ -1,37 +1,36 @@
|
||||
|
||||
|
||||
using Model.Assignments;
|
||||
using Model.Quizzes;
|
||||
using CanvasModel.Assignments;
|
||||
using CanvasModel.Quizzes;
|
||||
|
||||
namespace CanvasModel.ToDos;
|
||||
|
||||
public class ToDoItemModel
|
||||
{
|
||||
|
||||
[JsonPropertyName("context_type")]
|
||||
public string ContextType { get; set; }
|
||||
|
||||
[JsonPropertyName("course_id")]
|
||||
public ulong? CourseId { get; set; }
|
||||
|
||||
[JsonPropertyName("group_id")]
|
||||
public ulong? GroupId { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[JsonPropertyName("ignore")]
|
||||
public string IgnoreUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("ignore_permanently")]
|
||||
public string PermanentIgnoreUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("assignment")]
|
||||
public AssignmentModel? Assignment { get; set; }
|
||||
|
||||
[JsonPropertyName("quiz")]
|
||||
public QuizModel? Quiz { get; set; }
|
||||
|
||||
|
||||
namespace Model.ToDos {
|
||||
|
||||
|
||||
public class ToDoItemModel {
|
||||
|
||||
[JsonPropertyName("context_type")]
|
||||
public string ContextType { get; set; }
|
||||
|
||||
[JsonPropertyName("course_id")]
|
||||
public ulong? CourseId { get; set; }
|
||||
|
||||
[JsonPropertyName("group_id")]
|
||||
public ulong? GroupId { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[JsonPropertyName("ignore")]
|
||||
public string IgnoreUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("ignore_permanently")]
|
||||
public string PermanentIgnoreUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("assignment")]
|
||||
public AssignmentModel? Assignment { get; set; }
|
||||
|
||||
[JsonPropertyName("quiz")]
|
||||
public QuizModel? Quiz { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user