mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
restructured components so that there are more components in the pages
This commit is contained in:
32
Management/Models/CanvasModels/Pages/CanvasPage.cs
Normal file
32
Management/Models/CanvasModels/Pages/CanvasPage.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
namespace CanvasModel.Pages;
|
||||
public record PageModel (
|
||||
[property: JsonPropertyName("page_id")] string PageId,
|
||||
[property: JsonPropertyName("url")] string Url,
|
||||
[property: JsonPropertyName("title")] string Title,
|
||||
[property: JsonPropertyName("published")] bool Published,
|
||||
[property: JsonPropertyName("front_page")] bool FrontPage,
|
||||
[property: JsonPropertyName("body")] string? Body
|
||||
);
|
||||
// [JsonPropertyName("created_at")]
|
||||
// public DateTime CreatedAt { get; set; }
|
||||
|
||||
// [JsonPropertyName("updated_at")]
|
||||
// public DateTime UpdatedAt { get; set; }
|
||||
|
||||
// [JsonPropertyName("editing_roles")]
|
||||
// public string EditingRoles { get; set; }
|
||||
|
||||
// [JsonPropertyName("last_edited_by")]
|
||||
// public UserDisplayModel LastEditedBy { get; set; }
|
||||
|
||||
// [JsonPropertyName("locked_for_user")]
|
||||
// public bool LockedForUser { get; set; }
|
||||
|
||||
// [JsonPropertyName("lock_info")]
|
||||
// public LockInfoModel? LockInfo { get; set; }
|
||||
|
||||
// [JsonPropertyName("lock_explanation")]
|
||||
// public string? LockExplanation { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user