|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NzbDrone.Api.REST;
|
|
|
|
|
using NzbDrone.Core.Update;
|
|
|
|
|
using NzbDrone.Api.Mapping;
|
|
|
|
@ -32,7 +33,13 @@ namespace NzbDrone.Api.Update
|
|
|
|
|
|
|
|
|
|
public class UpdateResource : RestResource
|
|
|
|
|
{
|
|
|
|
|
public String Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(Newtonsoft.Json.Converters.VersionConverter))]
|
|
|
|
|
public Version Version { get; set; }
|
|
|
|
|
|
|
|
|
|
public String Branch { get; set; }
|
|
|
|
|
public DateTime ReleaseDate { get; set; }
|
|
|
|
|
public String FileName { get; set; }
|
|
|
|
|
public String Url { get; set; }
|
|
|
|
|
}
|
|
|
|
|