mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
am syncing assignment groups
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
|
||||
namespace CanvasModel.Assignments;
|
||||
|
||||
public record CanvasAssignmentGroup
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; init; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public required string Name { get; init; }
|
||||
|
||||
[JsonPropertyName("position")]
|
||||
public int Position { get; init; }
|
||||
|
||||
[JsonPropertyName("group_weight")]
|
||||
public double GroupWeight { get; init; }
|
||||
|
||||
// [JsonPropertyName("sis_source_id")]
|
||||
// public string? SisSourceId { get; init; } = null;
|
||||
|
||||
// [JsonPropertyName("integration_data")]
|
||||
// public Dictionary<string, string> IntegrationData { get; init; } = new Dictionary<string, string>();
|
||||
|
||||
// [JsonPropertyName("assignments")]
|
||||
// public List<CanvasAssignment> Assignments { get; init; }
|
||||
|
||||
// [JsonPropertyName("rules")]
|
||||
// public object Rules { get; init; } // The specific type for 'Rules' is not detailed in the spec, so using object for now.
|
||||
}
|
||||
Reference in New Issue
Block a user