jellyfin-server/MediaBrowser.Model/Plugins/PluginPageInfo.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2020-12-18 20:37:35 +00:00
#nullable enable
2020-02-04 00:49:27 +00:00
namespace MediaBrowser.Model.Plugins
2018-12-27 23:27:57 +00:00
{
2020-12-18 20:37:35 +00:00
/// <summary>
/// Defines the <see cref="PluginPageInfo" />.
/// </summary>
2018-12-27 23:27:57 +00:00
public class PluginPageInfo
{
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; } = string.Empty;
2018-12-27 23:27:57 +00:00
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string? DisplayName { get; set; }
2018-12-27 23:27:57 +00:00
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets the resource path.
/// </summary>
public string EmbeddedResourcePath { get; set; } = string.Empty;
2018-12-27 23:27:57 +00:00
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets a value indicating whether this plugin should appear in the main menu.
/// </summary>
2018-12-27 23:27:57 +00:00
public bool EnableInMainMenu { get; set; }
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets the menu section.
/// </summary>
public string? MenuSection { get; set; }
2018-12-27 23:27:57 +00:00
2020-12-18 20:37:35 +00:00
/// <summary>
/// Gets or sets the menu icon.
/// </summary>
public string? MenuIcon { get; set; }
2018-12-27 23:27:57 +00:00
}
}