jellyfin/MediaBrowser.Model/Branding/BrandingOptions.cs

37 lines
996 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
2022-01-04 10:37:57 -05:00
namespace MediaBrowser.Model.Branding;
2020-02-03 19:49:27 -05:00
2022-01-04 10:37:57 -05:00
/// <summary>
/// The branding options.
/// </summary>
public class BrandingOptions
2018-12-27 18:27:57 -05:00
{
2022-01-04 10:37:57 -05:00
/// <summary>
/// Gets or sets the login disclaimer.
/// </summary>
/// <value>The login disclaimer.</value>
public string? LoginDisclaimer { get; set; }
2022-01-04 10:37:57 -05:00
/// <summary>
/// Gets or sets the custom CSS.
/// </summary>
/// <value>The custom CSS.</value>
public string? CustomCss { get; set; }
2022-06-14 10:18:35 -04:00
/// <summary>
/// Gets or sets a value indicating whether to enable the splashscreen.
/// </summary>
public bool SplashscreenEnabled { get; set; } = false;
2022-06-14 10:18:35 -04:00
2022-01-04 10:37:57 -05:00
/// <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; }
2018-12-27 18:27:57 -05:00
}