scafolded project

This commit is contained in:
2023-01-03 18:36:40 -07:00
parent b2e79697b8
commit 55cd8162ed
161 changed files with 5987 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using Model.Accounts;
namespace Model.Roles {
public class RoleModel {
[JsonPropertyName("label")]
public string Label { get; set; }
[JsonPropertyName("base_role_type")]
public string BaseRoleType { get; set; }
[JsonPropertyName("account")]
public AccountModel Account { get; set; }
[JsonPropertyName("workflow_state")]
public string WorkflowState { get; set; }
[JsonPropertyName("permissions")]
public Dictionary<string, RolePermissionsModel> Permissions { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
namespace Model.Roles {
public class RolePermissionsModel {
[JsonPropertyName("enabled")]
public bool Enabled { get; set; }
[JsonPropertyName("locked")]
public bool Locked { get; set; }
[JsonPropertyName("applies_to_self")]
public bool AppliesToSelf { get; set; }
[JsonPropertyName("applies_to_descendants")]
public bool AppliesToDescendants { get; set; }
[JsonPropertyName("readonly")]
public bool Readonly { get; set; }
[JsonPropertyName("explicit")]
public bool Explicit { get; set; }
[JsonPropertyName("prior_default")]
public bool PriorDefault { get; set; }
}
}