UserViewQuery.cs 1.0 KB

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