ImageDataDto.cs 1.8 KB

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