mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
reformatted models
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user