jellyfin/MediaBrowser.Model/Plugins/PluginPageInfo.cs

41 lines
1.1 KiB
C#
Raw Normal View History

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