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

31 lines
865 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>
/// Channel dto.
/// </summary>
public class ChannelDto
{
/// <summary>
/// Gets or sets the list of maps.
/// </summary>
[JsonPropertyName("map")]
2021-09-03 18:59:40 +02:00
public IReadOnlyList<MapDto> Map { get; set; } = Array.Empty<MapDto>();
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the list of stations.
/// </summary>
[JsonPropertyName("stations")]
2021-09-03 18:59:40 +02:00
public IReadOnlyList<StationDto> Stations { get; set; } = Array.Empty<StationDto>();
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the metadata.
/// </summary>
[JsonPropertyName("metadata")]
2021-09-03 18:59:40 +02:00
public MetadataDto? Metadata { get; set; }
2021-08-29 00:32:50 +02:00
}
}