ChannelQuery.cs 1.8 KB

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