jellyfin-server/MediaBrowser.Model/Branding/BrandingOptions.cs

37 lines
996 B
C#
Raw Normal View History

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