UserViewQuery.cs 1001 B

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