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

39 lines
1.1 KiB
C#
Raw Normal View History

using System.Text.Json.Serialization;
using System.Xml.Serialization;
2020-02-04 00:49:27 +00:00
#pragma warning disable CS1591
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.Branding
{
public class BrandingOptions
{
/// <summary>
/// Gets or sets the login disclaimer.
/// </summary>
/// <value>The login disclaimer.</value>
2021-07-26 21:02:32 +00:00
public string? LoginDisclaimer { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the custom CSS.
/// </summary>
/// <value>The custom CSS.</value>
2021-07-26 21:02:32 +00:00
public string? CustomCss { get; set; }
/// <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; }
/// <summary>
/// Gets the splashscreen url.
/// </summary>
[XmlIgnore]
2021-08-18 12:22:01 +00:00
public string? SplashscreenUrl => "/Branding/Splashscreen";
2018-12-27 23:27:57 +00:00
}
}