ChannelQuery.cs 1.9 KB

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