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,19 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Model.Assignments;
|
||||
using CanvasModel.Assignments;
|
||||
|
||||
namespace Model.Gradebook {
|
||||
|
||||
public class GraderModel {
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
// the docs say this is a list of integers, but it isn't.
|
||||
[JsonPropertyName("assignments")]
|
||||
public IEnumerable<AssignmentModel> Assignments { get; set; }
|
||||
}
|
||||
namespace CanvasModel.Gradebook;
|
||||
public class GraderModel
|
||||
{
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
// the docs say this is a list of integers, but it isn't.
|
||||
[JsonPropertyName("assignments")]
|
||||
public IEnumerable<AssignmentModel> Assignments { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user