mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-02 23:06:31 +01:00
Upgraded Protobuf, and added api support for it
This commit is contained in:
parent
de74609784
commit
cb7f04e4d3
@@ -1,17 +1,30 @@
|
||||
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 string Path { get; set; }
|
||||
|
||||
[ProtoMember(3)]
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
[ProtoMember(4)]
|
||||
public bool DownloadToUI { get; set; }
|
||||
|
||||
[ProtoMember(5)]
|
||||
public DateTime ConfigurationDateLastModified { get; set; }
|
||||
|
||||
[ProtoMember(6)]
|
||||
public Version Version { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user