aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/DTO/PluginInfo.cs
blob: 4819296f4b94dc85c6b3e6cd17d1cd58e240ed7b (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
using System;
using ProtoBuf;

namespace MediaBrowser.Model.DTO
{
    /// <summary>
    /// This is a serializable stub class that is used by the api to provide information about installed plugins.
    /// </summary>
    [ProtoContract]
    public class PluginInfo
    {
        [ProtoMember(1)]
        public string Name { get; set; }

        [ProtoMember(2)]
        public bool Enabled { get; set; }

        [ProtoMember(3)]
        public bool DownloadToUI { get; set; }

        [ProtoMember(4)]
        public DateTime ConfigurationDateLastModified { get; set; }

        [ProtoMember(5)]
        public Version Version { get; set; }
    }
}