jellyfin/MediaBrowser.Model/Library/UserViewQuery.cs

34 lines
1004 B
C#
Raw Normal View History

2018-12-27 18:27:57 -05:00
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;
2018-12-27 16:43:48 -05:00
PresetViews = Array.Empty<string>();
2018-12-27 18:27:57 -05:00
}
}
}