jellyfin-server/MediaBrowser.Model/Library/UserViewQuery.cs
2019-01-03 23:19:02 +01:00

34 lines
1004 B
C#

using System;
namespace MediaBrowser.Model.Library
{
public class UserViewQuery
{
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public Guid UserId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [include external content].
/// </summary>
/// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
public bool IncludeExternalContent { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [include hidden].
/// </summary>
/// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
public bool IncludeHidden { get; set; }
public string[] PresetViews { get; set; }
public UserViewQuery()
{
IncludeExternalContent = true;
PresetViews = Array.Empty<string>();
}
}
}