BrandingOptions.cs 1007 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Text.Json.Serialization;
  2. using System.Xml.Serialization;
  3. namespace MediaBrowser.Model.Branding;
  4. /// <summary>
  5. /// The branding options.
  6. /// </summary>
  7. public class BrandingOptions
  8. {
  9. /// <summary>
  10. /// Gets or sets the login disclaimer.
  11. /// </summary>
  12. /// <value>The login disclaimer.</value>
  13. public string? LoginDisclaimer { get; set; }
  14. /// <summary>
  15. /// Gets or sets the custom CSS.
  16. /// </summary>
  17. /// <value>The custom CSS.</value>
  18. public string? CustomCss { get; set; }
  19. /// <summary>
  20. /// Gets or sets the splashscreen location on disk.
  21. /// </summary>
  22. /// <remarks>
  23. /// Not served via the API.
  24. /// Only used to save the custom uploaded user splashscreen in the configuration file.
  25. /// </remarks>
  26. [JsonIgnore]
  27. public string? SplashscreenLocation { get; set; }
  28. /// <summary>
  29. /// Gets the splashscreen url.
  30. /// </summary>
  31. [XmlIgnore]
  32. public string SplashscreenUrl => "/Branding/Splashscreen";
  33. }