123456789101112131415161718192021222324252627282930 |
- using System;
- 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")]
- public IReadOnlyList<MapDto> Map { get; set; } = Array.Empty<MapDto>();
- /// <summary>
- /// Gets or sets the list of stations.
- /// </summary>
- [JsonPropertyName("stations")]
- public IReadOnlyList<StationDto> Stations { get; set; } = Array.Empty<StationDto>();
- /// <summary>
- /// Gets or sets the metadata.
- /// </summary>
- [JsonPropertyName("metadata")]
- public MetadataDto? Metadata { get; set; }
- }
- }
|