UserViewQuery.cs 1.0 KB

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