// <copyright file="HeadendsDto.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos
{
    using System;
    using System.Collections.Generic;
    using System.Text.Json.Serialization;

    /// <summary>
    /// Headends dto.
    /// </summary>
    public class HeadendsDto
    {
        /// <summary>
        /// Gets or sets the headend.
        /// </summary>
        [JsonPropertyName("headend")]
        public string? Headend { get; set; }

        /// <summary>
        /// Gets or sets the transport.
        /// </summary>
        [JsonPropertyName("transport")]
        public string? Transport { get; set; }

        /// <summary>
        /// Gets or sets the location.
        /// </summary>
        [JsonPropertyName("location")]
        public string? Location { get; set; }

        /// <summary>
        /// Gets or sets the list of lineups.
        /// </summary>
        [JsonPropertyName("lineups")]
        public IReadOnlyList<LineupDto> Lineups { get; set; } = Array.Empty<LineupDto>();
    }
}
