mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
scafolded project
This commit is contained in:
52
Management/Models/CanvasModel/Modules/ModuleItemModel.cs
Normal file
52
Management/Models/CanvasModel/Modules/ModuleItemModel.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
|
||||
|
||||
namespace Model.Modules {
|
||||
|
||||
public class ModuleItemModel {
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[JsonPropertyName("module_id")]
|
||||
public ulong ModuleId { get; set; }
|
||||
|
||||
[JsonPropertyName("position")]
|
||||
public uint Position { get; set; }
|
||||
|
||||
[JsonPropertyName("title")]
|
||||
public string Title { get; set; }
|
||||
|
||||
[JsonPropertyName("indent")]
|
||||
public uint? Indent { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[JsonPropertyName("content_id")]
|
||||
public ulong? ContentId { get; set; }
|
||||
|
||||
[JsonPropertyName("html_url")]
|
||||
public string HtmlUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("url")]
|
||||
public string? Url { get; set; }
|
||||
|
||||
[JsonPropertyName("page_url")]
|
||||
public string? PageUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("external_url")]
|
||||
public string? ExternalUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("new_tab")]
|
||||
public bool NewTab { get; set; }
|
||||
|
||||
// [OptIn]
|
||||
[JsonPropertyName("completion_requirement")]
|
||||
public CompletionRequirementModel? CompletionRequirement { get; set; }
|
||||
|
||||
[JsonPropertyName("published")]
|
||||
public bool? Published { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user