BrandingOptions.cs 996 B

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