using System; using System.Text.Json.Serialization; namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos { /// /// The token dto. /// public class TokenDto { /// /// Gets or sets the response code. /// [JsonPropertyName("code")] public int Code { get; set; } /// /// Gets or sets the response message. /// [JsonPropertyName("message")] public string? Message { get; set; } /// /// Gets or sets the server id. /// [JsonPropertyName("serverID")] public string? ServerId { get; set; } /// /// Gets or sets the token. /// [JsonPropertyName("token")] public string? Token { get; set; } /// /// Gets or sets the current datetime. /// [JsonPropertyName("datetime")] public DateTime? TokenTimestamp { get; set; } /// /// Gets or sets the response message. /// [JsonPropertyName("response")] public string? Response { get; set; } } }