ShowImagesDto.cs 659 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  5. {
  6. /// <summary>
  7. /// Show image dto.
  8. /// </summary>
  9. public class ShowImagesDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the program id.
  13. /// </summary>
  14. [JsonPropertyName("programID")]
  15. public string? ProgramId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the list of data.
  18. /// </summary>
  19. [JsonPropertyName("data")]
  20. public IReadOnlyList<ImageDataDto> Data { get; set; } = Array.Empty<ImageDataDto>();
  21. }
  22. }