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,26 +1,24 @@
namespace CanvasModel.Results;
public class ResultModel
{
// yes indeed the docs say this model specifically uses camelCase properties
namespace Model.Results {
public class ResultModel {
// yes indeed the docs say this model specifically uses camelCase properties
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("userId")]
public string UserId { get; set; }
[JsonPropertyName("resultScore")]
public string ResultScore { get; set; }
[JsonPropertyName("resultMaximum")]
public string ResultMaximum { get; set; }
[JsonPropertyName("comment")]
public string Comment { get; set; }
[JsonPropertyName("scoreOf")]
public string ScoreOf { get; set; }
}
[JsonPropertyName("userId")]
public string UserId { get; set; }
[JsonPropertyName("resultScore")]
public string ResultScore { get; set; }
[JsonPropertyName("resultMaximum")]
public string ResultMaximum { get; set; }
[JsonPropertyName("comment")]
public string Comment { get; set; }
[JsonPropertyName("scoreOf")]
public string ScoreOf { get; set; }
}