aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Branding/BrandingOptions.cs
blob: c6580598b463422874daf7a6e81aa5b2129fd83d (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
using System.Text.Json.Serialization;

namespace MediaBrowser.Model.Branding;

/// <summary>
/// The branding options.
/// </summary>
public class BrandingOptions
{
    /// <summary>
    /// Gets or sets the login disclaimer.
    /// </summary>
    /// <value>The login disclaimer.</value>
    public string? LoginDisclaimer { get; set; }

    /// <summary>
    /// Gets or sets the custom CSS.
    /// </summary>
    /// <value>The custom CSS.</value>
    public string? CustomCss { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to enable the splashscreen.
    /// </summary>
    public bool SplashscreenEnabled { get; set; } = false;

    /// <summary>
    /// Gets or sets the splashscreen location on disk.
    /// </summary>
    /// <remarks>
    /// Not served via the API.
    /// Only used to save the custom uploaded user splashscreen in the configuration file.
    /// </remarks>
    [JsonIgnore]
    public string? SplashscreenLocation { get; set; }
}