mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
30 lines
845 B
C#
30 lines
845 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
|
|
{
|
|
/// <summary>
|
|
/// Day dto.
|
|
/// </summary>
|
|
public class DayDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the station id.
|
|
/// </summary>
|
|
[JsonPropertyName("stationID")]
|
|
public string? StationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the list of programs.
|
|
/// </summary>
|
|
[JsonPropertyName("programs")]
|
|
public IReadOnlyList<ProgramDto> Programs { get; set; } = Array.Empty<ProgramDto>();
|
|
|
|
/// <summary>
|
|
/// Gets or sets the metadata schedule.
|
|
/// </summary>
|
|
[JsonPropertyName("metadata")]
|
|
public MetadataScheduleDto? Metadata { get; set; }
|
|
}
|
|
}
|