UserViewQuery.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma warning disable CS1591
  2. using System;
  3. using Jellyfin.Data.Enums;
  4. namespace MediaBrowser.Model.Library
  5. {
  6. public class UserViewQuery
  7. {
  8. public UserViewQuery()
  9. {
  10. IncludeExternalContent = true;
  11. PresetViews = Array.Empty<CollectionType?>();
  12. }
  13. /// <summary>
  14. /// Gets or sets the user identifier.
  15. /// </summary>
  16. /// <value>The user identifier.</value>
  17. public Guid UserId { get; set; }
  18. /// <summary>
  19. /// Gets or sets a value indicating whether [include external content].
  20. /// </summary>
  21. /// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
  22. public bool IncludeExternalContent { get; set; }
  23. /// <summary>
  24. /// Gets or sets a value indicating whether [include hidden].
  25. /// </summary>
  26. /// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
  27. public bool IncludeHidden { get; set; }
  28. public CollectionType?[] PresetViews { get; set; }
  29. }
  30. }