jellyfin/MediaBrowser.Model/Library/UserViewQuery.cs

38 lines
1.1 KiB
C#
Raw Permalink Normal View History

2020-02-04 00:49:27 +00:00
#pragma warning disable CS1591
using System;
using Jellyfin.Data.Entities;
using Jellyfin.Data.Enums;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.Library
{
public class UserViewQuery
{
public UserViewQuery()
{
IncludeExternalContent = true;
PresetViews = Array.Empty<CollectionType?>();
}
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the user.
2018-12-27 23:27:57 +00:00
/// </summary>
/// <value>The user.</value>
public required User User { get; set; }
2018-12-27 23:27:57 +00:00
/// <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 CollectionType?[] PresetViews { get; set; }
2018-12-27 23:27:57 +00:00
}
}