using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
{
    /// 
    /// Lineups dto.
    /// 
    public class LineupsDto
    {
        /// 
        /// Gets or sets the response code.
        /// 
        [JsonPropertyName("code")]
        public int Code { get; set; }
        /// 
        /// Gets or sets the server id.
        /// 
        [JsonPropertyName("serverID")]
        public string? ServerId { get; set; }
        /// 
        /// Gets or sets the datetime.
        /// 
        [JsonPropertyName("datetime")]
        public DateTime? LineupTimestamp { get; set; }
        /// 
        /// Gets or sets the list of lineups.
        /// 
        [JsonPropertyName("lineups")]
        public IReadOnlyList Lineups { get; set; } = Array.Empty();
    }
}