diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-06-04 14:46:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-04 14:46:55 +0900 |
| commit | 44eebd77546d51d359d850ac2dc00135398cb9f1 (patch) | |
| tree | a253fb068967fa87020365beaff84963d8c4cac1 /MediaBrowser.Model/Updates | |
| parent | fc79833931daf29860872605c20a0e2940a23250 (diff) | |
| parent | 2ac111dedba416850d526f9f60dbf82f2bd28edd (diff) | |
Merge pull request #3164 from dkanada/install-plugin
Fix a few issues with the plugin manifest
Diffstat (limited to 'MediaBrowser.Model/Updates')
| -rw-r--r-- | MediaBrowser.Model/Updates/InstallationInfo.cs | 22 | ||||
| -rw-r--r-- | MediaBrowser.Model/Updates/VersionInfo.cs | 20 |
2 files changed, 24 insertions, 18 deletions
diff --git a/MediaBrowser.Model/Updates/InstallationInfo.cs b/MediaBrowser.Model/Updates/InstallationInfo.cs index 57dc746ac..a6d80dba6 100644 --- a/MediaBrowser.Model/Updates/InstallationInfo.cs +++ b/MediaBrowser.Model/Updates/InstallationInfo.cs @@ -12,7 +12,7 @@ namespace MediaBrowser.Model.Updates /// Gets or sets the guid. /// </summary> /// <value>The guid.</value> - public string Guid { get; set; } + public Guid Guid { get; set; } /// <summary> /// Gets or sets the name. @@ -24,6 +24,24 @@ namespace MediaBrowser.Model.Updates /// Gets or sets the version. /// </summary> /// <value>The version.</value> - public string Version { get; set; } + public Version Version { get; set; } + + /// <summary> + /// Gets or sets the changelog for this version. + /// </summary> + /// <value>The changelog.</value> + public string Changelog { get; set; } + + /// <summary> + /// Gets or sets the source URL. + /// </summary> + /// <value>The source URL.</value> + public string SourceUrl { get; set; } + + /// <summary> + /// Gets or sets a checksum for the binary. + /// </summary> + /// <value>The checksum.</value> + public string Checksum { get; set; } } } diff --git a/MediaBrowser.Model/Updates/VersionInfo.cs b/MediaBrowser.Model/Updates/VersionInfo.cs index 5ab276b89..a4aa0e75f 100644 --- a/MediaBrowser.Model/Updates/VersionInfo.cs +++ b/MediaBrowser.Model/Updates/VersionInfo.cs @@ -10,22 +10,10 @@ namespace MediaBrowser.Model.Updates public class VersionInfo { /// <summary> - /// Gets or sets the name. - /// </summary> - /// <value>The name.</value> - public string name { get; set; } - - /// <summary> - /// Gets or sets the guid. - /// </summary> - /// <value>The guid.</value> - public string guid { get; set; } - - /// <summary> /// Gets or sets the version. /// </summary> /// <value>The version.</value> - public Version version { get; set; } + public string version { get; set; } /// <summary> /// Gets or sets the changelog for this version. @@ -52,9 +40,9 @@ namespace MediaBrowser.Model.Updates public string checksum { get; set; } /// <summary> - /// Gets or sets the target filename for the downloaded binary. + /// Gets or sets a timestamp of when the binary was built. /// </summary> - /// <value>The target filename.</value> - public string filename { get; set; } + /// <value>The timestamp.</value> + public string timestamp { get; set; } } } |
