ChannelInfo.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Channels
  3. {
  4. public class ChannelInfo
  5. {
  6. /// <summary>
  7. /// Gets the home page URL.
  8. /// </summary>
  9. /// <value>The home page URL.</value>
  10. public string HomePageUrl { get; set; }
  11. /// <summary>
  12. /// Gets or sets a value indicating whether this instance can search.
  13. /// </summary>
  14. /// <value><c>true</c> if this instance can search; otherwise, <c>false</c>.</value>
  15. public bool CanSearch { get; set; }
  16. public List<ChannelMediaType> MediaTypes { get; set; }
  17. public List<ChannelMediaContentType> ContentTypes { get; set; }
  18. /// <summary>
  19. /// Represents the maximum number of records the channel allows retrieving at a time
  20. /// </summary>
  21. public int? MaxPageSize { get; set; }
  22. public ChannelInfo()
  23. {
  24. MediaTypes = new List<ChannelMediaType>();
  25. ContentTypes = new List<ChannelMediaContentType>();
  26. }
  27. }
  28. }