aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Library/UserViewQuery.cs
blob: 643a1f9b1347ec2f8567b82fcf452ba592dd9da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma warning disable CS1591

using System;
using Jellyfin.Data.Entities;
using Jellyfin.Data.Enums;

namespace MediaBrowser.Model.Library
{
    public class UserViewQuery
    {
        public UserViewQuery()
        {
            IncludeExternalContent = true;
            PresetViews = Array.Empty<CollectionType?>();
        }

        /// <summary>
        /// Gets or sets the user.
        /// </summary>
        /// <value>The user.</value>
        public required User User { 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 CollectionType?[] PresetViews { get; set; }
    }
}