aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.cs
blob: 0cd05709b354d0652847e4b4f0a78b4ad3d5416b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
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")]
        public string? StationId { get; set; }

        /// <summary>
        /// Gets or sets the list of dates.
        /// </summary>
        [JsonPropertyName("date")]
        public IReadOnlyList<string> Date { get; set; } = Array.Empty<string>();
    }
}