using System.Text.Json.Serialization; namespace Jellyfin.Plugin.Simkl.API.Responses { /// /// Code response. /// public class CodeResponse { /// /// Gets or sets result. /// public string Result { get; set; } /// /// Gets or sets device code. /// [JsonPropertyName("device_code")] public string DeviceCode { get; set; } /// /// Gets or sets user code. /// [JsonPropertyName("user_code")] public string UserCode { get; set; } /// /// Gets or sets verification url. /// [JsonPropertyName("verification_url")] public string VerificationUrl { get; set; } /// /// Gets or sets expires in. /// [JsonPropertyName("expires_in")] public int ExpiresIn { get; set; } /// /// Gets or sets interval. /// public int Interval { get; set; } } }