ChannelInfoDto.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 image tags.
  24. /// </summary>
  25. /// <value>The image tags.</value>
  26. public Dictionary<ImageType, Guid> ImageTags { get; set; }
  27. /// <summary>
  28. /// Gets or sets the number.
  29. /// </summary>
  30. /// <value>The number.</value>
  31. public string Number { get; set; }
  32. /// <summary>
  33. /// Gets or sets the name of the service.
  34. /// </summary>
  35. /// <value>The name of the service.</value>
  36. public string ServiceName { get; set; }
  37. /// <summary>
  38. /// Gets or sets the type of the channel.
  39. /// </summary>
  40. /// <value>The type of the channel.</value>
  41. public ChannelType ChannelType { get; set; }
  42. /// <summary>
  43. /// Gets or sets the type.
  44. /// </summary>
  45. /// <value>The type.</value>
  46. public string Type { get; set; }
  47. /// <summary>
  48. /// Gets or sets the type of the media.
  49. /// </summary>
  50. /// <value>The type of the media.</value>
  51. public string MediaType { get; set; }
  52. /// <summary>
  53. /// Gets or sets the user data.
  54. /// </summary>
  55. /// <value>The user data.</value>
  56. public UserItemDataDto UserData { get; set; }
  57. public ChannelInfoDto()
  58. {
  59. ImageTags = new Dictionary<ImageType, Guid>();
  60. }
  61. }
  62. }