mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
reformatted models
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
|
||||
|
||||
namespace Model.Groups {
|
||||
|
||||
public class GroupMembershipModel {
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[JsonPropertyName("group_id")]
|
||||
public ulong GroupId { get; set; }
|
||||
|
||||
[JsonPropertyName("user_id")]
|
||||
public ulong UserId { get; set; }
|
||||
|
||||
[JsonPropertyName("workflow_state")]
|
||||
public string WorkflowState { get; set; }
|
||||
|
||||
[JsonPropertyName("moderator")]
|
||||
public bool Moderator { get; set; }
|
||||
|
||||
[JsonPropertyName("just_created")]
|
||||
public bool? JustCreated { get; set; }
|
||||
|
||||
[JsonPropertyName("sis_import_id")]
|
||||
public ulong? SisImportId { get; set; }
|
||||
}
|
||||
namespace CanvasModel.Groups;
|
||||
public class GroupMembershipModel
|
||||
{
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[JsonPropertyName("group_id")]
|
||||
public ulong GroupId { get; set; }
|
||||
|
||||
[JsonPropertyName("user_id")]
|
||||
public ulong UserId { get; set; }
|
||||
|
||||
[JsonPropertyName("workflow_state")]
|
||||
public string WorkflowState { get; set; }
|
||||
|
||||
[JsonPropertyName("moderator")]
|
||||
public bool Moderator { get; set; }
|
||||
|
||||
[JsonPropertyName("just_created")]
|
||||
public bool? JustCreated { get; set; }
|
||||
|
||||
[JsonPropertyName("sis_import_id")]
|
||||
public ulong? SisImportId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user