jellyfin/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 01:49:27 +01:00
#pragma warning disable CS1591
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Model.Branding
{
public class BrandingOptions
{
/// <summary>
/// Gets or sets the login disclaimer.
/// </summary>
/// <value>The login disclaimer.</value>
2021-07-26 23:02:32 +02:00
public string? LoginDisclaimer { get; set; }
2018-12-28 00:27:57 +01:00
/// <summary>
/// Gets or sets the custom CSS.
/// </summary>
/// <value>The custom CSS.</value>
2021-07-26 23:02:32 +02: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 14:22:01 +02:00
public string? SplashscreenUrl => "/Branding/Splashscreen";
2018-12-28 00:27:57 +01:00
}
}