ChannelQuery.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using MediaBrowser.Model.Entities;
  2. using MediaBrowser.Model.Querying;
  3. namespace MediaBrowser.Model.Channels
  4. {
  5. public class ChannelQuery
  6. {
  7. /// <summary>
  8. /// Fields to return within the items, in addition to basic information
  9. /// </summary>
  10. /// <value>The fields.</value>
  11. public ItemFields[] Fields { get; set; }
  12. public bool? EnableImages { get; set; }
  13. public int? ImageTypeLimit { get; set; }
  14. public ImageType[] EnableImageTypes { get; set; }
  15. /// <summary>
  16. /// Gets or sets the user identifier.
  17. /// </summary>
  18. /// <value>The user identifier.</value>
  19. public string UserId { get; set; }
  20. /// <summary>
  21. /// Skips over a given number of items within the results. Use for paging.
  22. /// </summary>
  23. /// <value>The start index.</value>
  24. public int? StartIndex { get; set; }
  25. /// <summary>
  26. /// The maximum number of items to return
  27. /// </summary>
  28. /// <value>The limit.</value>
  29. public int? Limit { get; set; }
  30. /// <summary>
  31. /// Gets or sets a value indicating whether [supports latest items].
  32. /// </summary>
  33. /// <value><c>true</c> if [supports latest items]; otherwise, <c>false</c>.</value>
  34. public bool? SupportsLatestItems { get; set; }
  35. /// <summary>
  36. /// Gets or sets a value indicating whether this instance is favorite.
  37. /// </summary>
  38. /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
  39. public bool? IsFavorite { get; set; }
  40. }
  41. }