aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Plugins/PluginPageInfo.cs
blob: f4d83c28b190c25de85e8e1b19e3b507451bd1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
namespace MediaBrowser.Model.Plugins
{
    /// <summary>
    /// Defines the <see cref="PluginPageInfo" />.
    /// </summary>
    public class PluginPageInfo
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        public string? DisplayName { get; set; }

        /// <summary>
        /// Gets or sets the resource path.
        /// </summary>
        public string EmbeddedResourcePath { get; set; } = string.Empty;

        /// <summary>
        /// Gets or sets a value indicating whether this plugin should appear in the main menu.
        /// </summary>
        public bool EnableInMainMenu { get; set; }

        /// <summary>
        /// Gets or sets the menu section.
        /// </summary>
        public string? MenuSection { get; set; }

        /// <summary>
        /// Gets or sets the menu icon.
        /// </summary>
        public string? MenuIcon { get; set; }
    }
}