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