ChannelQuery.cs 1.9 KB

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