simkl only likes snake_case

This commit is contained in:
crobibero
2020-09-08 16:35:21 -06:00
parent f823281059
commit 1458fd7534
18 changed files with 93 additions and 151 deletions
+2 -35
View File
@@ -1,6 +1,4 @@
using System;
using System.Text.Json.Serialization;
#pragma warning disable SA1300
#pragma warning disable SA1300
namespace Jellyfin.Plugin.Simkl.API.Objects
{
@@ -12,37 +10,6 @@ namespace Jellyfin.Plugin.Simkl.API.Objects
/// <summary>
/// Gets or sets name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets joined at.
/// </summary>
[JsonPropertyName("joined_at")]
public DateTime joined_at { get; set; }
/// <summary>
/// Gets or sets gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets avatar.
/// </summary>
public string Avatar { get; set; }
/// <summary>
/// Gets or sets bio.
/// </summary>
public string Bio { get; set; }
/// <summary>
/// Gets or sets loc.
/// </summary>
public string Loc { get; set; }
/// <summary>
/// Gets or sets age.
/// </summary>
public string Age { get; set; }
public string name { get; set; }
}
}