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

25 lines
681 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>
/// Request schedule for channel dto.
/// </summary>
public class RequestScheduleForChannelDto
{
/// <summary>
/// Gets or sets the station id.
/// </summary>
[JsonPropertyName("stationID")]
2021-09-03 18:59:40 +02:00
public string? StationId { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the list of dates.
/// </summary>
[JsonPropertyName("date")]
2021-09-03 18:59:40 +02:00
public IReadOnlyList<string> Date { get; set; } = Array.Empty<string>();
2021-08-29 00:32:50 +02:00
}
}