You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System;
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The token dto.
|
|
|
|
/// </summary>
|
|
|
|
public class TokenDto
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the response code.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("code")]
|
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the response message.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("message")]
|
|
|
|
public string? Message { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the server id.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("serverID")]
|
|
|
|
public string? ServerId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the token.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("token")]
|
|
|
|
public string? Token { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the current datetime.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("datetime")]
|
|
|
|
public DateTime? TokenTimestamp { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the response message.
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("response")]
|
|
|
|
public string? Response { get; set; }
|
|
|
|
}
|
|
|
|
}
|