ChannelInfoDto.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. using MediaBrowser.Model.Dto;
  2. using MediaBrowser.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Model.LiveTv
  6. {
  7. /// <summary>
  8. /// Class ChannelInfoDto
  9. /// </summary>
  10. public class ChannelInfoDto
  11. {
  12. /// <summary>
  13. /// Gets or sets the name.
  14. /// </summary>
  15. /// <value>The name.</value>
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// Gets or sets the identifier.
  19. /// </summary>
  20. /// <value>The identifier.</value>
  21. public string Id { get; set; }
  22. /// <summary>
  23. /// Gets or sets the external identifier.
  24. /// </summary>
  25. /// <value>The external identifier.</value>
  26. public string ExternalId { get; set; }
  27. /// <summary>
  28. /// Gets or sets the image tags.
  29. /// </summary>
  30. /// <value>The image tags.</value>
  31. public Dictionary<ImageType, Guid> ImageTags { get; set; }
  32. /// <summary>
  33. /// Gets or sets the number.
  34. /// </summary>
  35. /// <value>The number.</value>
  36. public string Number { get; set; }
  37. /// <summary>
  38. /// Gets or sets the name of the service.
  39. /// </summary>
  40. /// <value>The name of the service.</value>
  41. public string ServiceName { get; set; }
  42. /// <summary>
  43. /// Gets or sets the type of the channel.
  44. /// </summary>
  45. /// <value>The type of the channel.</value>
  46. public ChannelType ChannelType { get; set; }
  47. /// <summary>
  48. /// Gets or sets the type.
  49. /// </summary>
  50. /// <value>The type.</value>
  51. public string Type { get; set; }
  52. /// <summary>
  53. /// Gets or sets the type of the media.
  54. /// </summary>
  55. /// <value>The type of the media.</value>
  56. public string MediaType { get; set; }
  57. /// <summary>
  58. /// Gets or sets the user data.
  59. /// </summary>
  60. /// <value>The user data.</value>
  61. public UserItemDataDto UserData { get; set; }
  62. /// <summary>
  63. /// Gets or sets the now playing program.
  64. /// </summary>
  65. /// <value>The now playing program.</value>
  66. public ProgramInfoDto CurrentProgram { get; set; }
  67. public ChannelInfoDto()
  68. {
  69. ImageTags = new Dictionary<ImageType, Guid>();
  70. }
  71. }
  72. }