reformatted models

This commit is contained in:
2023-01-04 17:22:36 -07:00
parent c8175971b7
commit c28230691e
122 changed files with 3812 additions and 4005 deletions

View File

@@ -1,30 +1,27 @@
using System;
using CanvasModel.Users;
namespace CanvasModel.Pages;
public class PageRevisionModel
{
using Model.Users;
[JsonPropertyName("revision_id")]
public ulong RevisionId { get; set; }
namespace Model.Pages {
public class PageRevisionModel {
[JsonPropertyName("revision_id")]
public ulong RevisionId { get; set; }
[JsonPropertyName("updated_at")]
public DateTime UpdatedAt { get; set; }
[JsonPropertyName("latest")]
public bool Latest { get; set; }
[JsonPropertyName("edited_by")]
public UserDisplayModel? EditedBy { get; set; }
[JsonPropertyName("url")]
public string? Url { get; set; }
[JsonPropertyName("title")]
public string? Title { get; set; }
[JsonPropertyName("body")]
public string? Body { get; set; }
}
[JsonPropertyName("updated_at")]
public DateTime UpdatedAt { get; set; }
[JsonPropertyName("latest")]
public bool Latest { get; set; }
[JsonPropertyName("edited_by")]
public UserDisplayModel? EditedBy { get; set; }
[JsonPropertyName("url")]
public string? Url { get; set; }
[JsonPropertyName("title")]
public string? Title { get; set; }
[JsonPropertyName("body")]
public string? Body { get; set; }
}