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. public UserViewQuery()
  8. {
  9. IncludeExternalContent = true;
  10. PresetViews = Array.Empty<string>();
  11. }
  12. /// <summary>
  13. /// Gets or sets the user identifier.
  14. /// </summary>
  15. /// <value>The user identifier.</value>
  16. public Guid UserId { get; set; }
  17. /// <summary>
  18. /// Gets or sets a value indicating whether [include external content].
  19. /// </summary>
  20. /// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
  21. public bool IncludeExternalContent { get; set; }
  22. /// <summary>
  23. /// Gets or sets a value indicating whether [include hidden].
  24. /// </summary>
  25. /// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
  26. public bool IncludeHidden { get; set; }
  27. public string[] PresetViews { get; set; }
  28. }
  29. }