using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos
{
///
/// Show image dto.
///
public class ShowImagesDto
{
///
/// Gets or sets the program id.
///
[JsonPropertyName("programID")]
public string? ProgramId { get; set; }
///
/// Gets or sets the SD error code, if the request for this program failed.
///
[JsonPropertyName("code")]
public int? Code { get; set; }
///
/// Gets or sets the SD error message, if the request for this program failed.
///
[JsonPropertyName("message")]
public string? Message { get; set; }
///
/// Gets or sets the list of data.
///
[JsonPropertyName("data")]
[JsonConverter(typeof(ImageDataArrayConverter))]
public IReadOnlyList Data { get; set; } = Array.Empty();
}
}