jellyfin/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupsDto.cs

37 lines
995 B
C#
Raw Normal View History

2021-09-03 18:59:40 +02:00
using System;
2021-08-29 00:32:50 +02:00
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
{
/// <summary>
/// Lineups dto.
/// </summary>
public class LineupsDto
{
/// <summary>
/// Gets or sets the response code.
/// </summary>
[JsonPropertyName("code")]
public int Code { get; set; }
/// <summary>
/// Gets or sets the server id.
/// </summary>
[JsonPropertyName("serverID")]
2021-09-03 18:59:40 +02:00
public string? ServerId { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the datetime.
/// </summary>
[JsonPropertyName("datetime")]
2021-09-12 21:56:26 +02:00
public DateTime? LineupTimestamp { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the list of lineups.
/// </summary>
[JsonPropertyName("lineups")]
2021-09-03 18:59:40 +02:00
public IReadOnlyList<LineupDto> Lineups { get; set; } = Array.Empty<LineupDto>();
2021-08-29 00:32:50 +02:00
}
}