2014-04-28 06:34:29 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NzbDrone.Api.REST;
|
|
|
|
|
using NzbDrone.Core.Update;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Update
|
|
|
|
|
{
|
|
|
|
|
public class UpdateResource : RestResource
|
|
|
|
|
{
|
|
|
|
|
[JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))]
|
|
|
|
|
public Version Version { get; set; }
|
|
|
|
|
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public string Branch { get; set; }
|
2014-04-28 06:34:29 +00:00
|
|
|
|
public DateTime ReleaseDate { get; set; }
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
public bool Installed { get; set; }
|
|
|
|
|
public bool Installable { get; set; }
|
|
|
|
|
public bool Latest { get; set; }
|
2014-04-28 06:34:29 +00:00
|
|
|
|
public UpdateChanges Changes { get; set; }
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public string Hash { get; set; }
|
2014-04-28 06:34:29 +00:00
|
|
|
|
}
|
|
|
|
|
}
|