2011-10-21 05:04:26 +00:00
|
|
|
|
using System;
|
2013-08-24 02:21:12 +00:00
|
|
|
|
using Newtonsoft.Json;
|
2013-09-11 06:33:47 +00:00
|
|
|
|
using Newtonsoft.Json.Converters;
|
2011-10-21 05:04:26 +00:00
|
|
|
|
|
2013-04-13 23:57:10 +00:00
|
|
|
|
namespace NzbDrone.Core.Update
|
2011-10-21 05:04:26 +00:00
|
|
|
|
{
|
|
|
|
|
public class UpdatePackage
|
|
|
|
|
{
|
2013-09-11 06:33:47 +00:00
|
|
|
|
public string Id { get; set; }
|
2013-08-24 02:21:12 +00:00
|
|
|
|
|
2013-09-11 06:33:47 +00:00
|
|
|
|
[JsonConverter(typeof(VersionConverter))]
|
2011-10-21 05:04:26 +00:00
|
|
|
|
public Version Version { get; set; }
|
2013-08-24 02:21:12 +00:00
|
|
|
|
|
|
|
|
|
public String Branch { get; set; }
|
|
|
|
|
public DateTime ReleaseDate { get; set; }
|
|
|
|
|
public String FileName { get; set; }
|
|
|
|
|
public String Url { get; set; }
|
2011-10-21 05:04:26 +00:00
|
|
|
|
}
|
|
|
|
|
}
|