aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Plugins/BasePluginConfiguration.cs
blob: 4c7b8812fc9a1c54ebdda1c07686d7e0a53f8fb1 (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
using MediaBrowser.Model.Updates;

namespace MediaBrowser.Model.Plugins
{
    /// <summary>
    /// Class BasePluginConfiguration
    /// </summary>
    public class BasePluginConfiguration
    {
        /// <summary>
        /// Whether or not this plug-in should be automatically updated when a
        /// compatible new version is released
        /// </summary>
        /// <value><c>true</c> if [enable auto update]; otherwise, <c>false</c>.</value>
        public bool EnableAutoUpdate { get; set; }

        /// <summary>
        /// The classification of updates to which to subscribe.
        /// Options are: Dev, Beta or Release
        /// </summary>
        /// <value>The update class.</value>
        public PackageVersionClass UpdateClass { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="BasePluginConfiguration" /> class.
        /// </summary>
        public BasePluginConfiguration()
        {
            EnableAutoUpdate = true;
        }
    }
}