ImageDataDto.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #nullable disable
  2. using System.Text.Json.Serialization;
  3. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  4. {
  5. /// <summary>
  6. /// Image data dto.
  7. /// </summary>
  8. public class ImageDataDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the width.
  12. /// </summary>
  13. [JsonPropertyName("width")]
  14. public string Width { get; set; }
  15. /// <summary>
  16. /// Gets or sets the height.
  17. /// </summary>
  18. [JsonPropertyName("height")]
  19. public string Height { get; set; }
  20. /// <summary>
  21. /// Gets or sets the uri.
  22. /// </summary>
  23. [JsonPropertyName("uri")]
  24. public string Uri { get; set; }
  25. /// <summary>
  26. /// Gets or sets the size.
  27. /// </summary>
  28. [JsonPropertyName("size")]
  29. public string Size { get; set; }
  30. /// <summary>
  31. /// Gets or sets the aspect.
  32. /// </summary>
  33. [JsonPropertyName("aspect")]
  34. public string aspect { get; set; }
  35. /// <summary>
  36. /// Gets or sets the category.
  37. /// </summary>
  38. [JsonPropertyName("category")]
  39. public string Category { get; set; }
  40. /// <summary>
  41. /// Gets or sets the text.
  42. /// </summary>
  43. [JsonPropertyName("text")]
  44. public string Text { get; set; }
  45. /// <summary>
  46. /// Gets or sets the primary.
  47. /// </summary>
  48. [JsonPropertyName("primary")]
  49. public string Primary { get; set; }
  50. /// <summary>
  51. /// Gets or sets the tier.
  52. /// </summary>
  53. [JsonPropertyName("tier")]
  54. public string Tier { get; set; }
  55. /// <summary>
  56. /// Gets or sets the caption.
  57. /// </summary>
  58. [JsonPropertyName("caption")]
  59. public CaptionDto Caption { get; set; }
  60. }
  61. }