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,51 +1,51 @@
namespace Model.Users {
public class ProfileModel {
[JsonPropertyName("id")]
public ulong Id { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("short_name")]
public string ShortName { get; set; }
[JsonPropertyName("sortable_name")]
public string SortableName { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("bio")]
public string Bio { get; set; }
[JsonPropertyName("primary_email")]
public string PrimaryEmail { get; set; }
[JsonPropertyName("login_id")]
public string LoginId { get; set; }
[JsonPropertyName("sis_user_id")]
public string SisUserId { get; set; }
[JsonPropertyName("lti_user_id")]
public string LtiUserId { get; set; }
[JsonPropertyName("avatar_url")]
public string AvatarUrl { get; set; }
[JsonPropertyName("calendar")]
public object Calendar { get; set; }
[JsonPropertyName("time_zone")]
public string TimeZone { get; set; }
[JsonPropertyName("locale")]
public string Locale { get; set; }
namespace CanvasModel.Users;
public class ProfileModel
{
[JsonPropertyName("id")]
public ulong Id { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("short_name")]
public string ShortName { get; set; }
[JsonPropertyName("sortable_name")]
public string SortableName { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("bio")]
public string Bio { get; set; }
[JsonPropertyName("primary_email")]
public string PrimaryEmail { get; set; }
[JsonPropertyName("login_id")]
public string LoginId { get; set; }
[JsonPropertyName("sis_user_id")]
public string SisUserId { get; set; }
[JsonPropertyName("lti_user_id")]
public string LtiUserId { get; set; }
[JsonPropertyName("avatar_url")]
public string AvatarUrl { get; set; }
[JsonPropertyName("calendar")]
public object Calendar { get; set; }
[JsonPropertyName("time_zone")]
public string TimeZone { get; set; }
[JsonPropertyName("locale")]
public string Locale { get; set; }
}
}