AllChannelMediaQuery.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.Entities;
  3. using MediaBrowser.Model.Querying;
  4. namespace MediaBrowser.Model.Channels
  5. {
  6. public class AllChannelMediaQuery
  7. {
  8. /// <summary>
  9. /// Gets or sets the channel ids.
  10. /// </summary>
  11. /// <value>The channel ids.</value>
  12. public string[] ChannelIds { get; set; }
  13. /// <summary>
  14. /// Gets or sets the user identifier.
  15. /// </summary>
  16. /// <value>The user identifier.</value>
  17. public string UserId { get; set; }
  18. /// <summary>
  19. /// Skips over a given number of items within the results. Use for paging.
  20. /// </summary>
  21. /// <value>The start index.</value>
  22. public int? StartIndex { get; set; }
  23. /// <summary>
  24. /// The maximum number of items to return
  25. /// </summary>
  26. /// <value>The limit.</value>
  27. public int? Limit { get; set; }
  28. /// <summary>
  29. /// Gets or sets the content types.
  30. /// </summary>
  31. /// <value>The content types.</value>
  32. public ChannelMediaContentType[] ContentTypes { get; set; }
  33. /// <summary>
  34. /// Gets or sets the extra types.
  35. /// </summary>
  36. /// <value>The extra types.</value>
  37. public ExtraType[] ExtraTypes { get; set; }
  38. public TrailerType[] TrailerTypes { get; set; }
  39. public AllChannelMediaQuery()
  40. {
  41. ChannelIds = new string[] { };
  42. ContentTypes = new ChannelMediaContentType[] { };
  43. ExtraTypes = new ExtraType[] { };
  44. TrailerTypes = new TrailerType[] { };
  45. Filters = new ItemFilter[] { };
  46. Fields = new List<ItemFields>();
  47. }
  48. public ItemFilter[] Filters { get; set; }
  49. public List<ItemFields> Fields { get; set; }
  50. }
  51. }