isn/src/isnd/ViewModels/PackageIndexViewModel.cs

20 lines
441 B
C#
Raw Normal View History

2021-08-15 19:09:01 +01:00
using isnd.Data;
2021-09-12 20:45:43 +01:00
using Newtonsoft.Json;
2021-08-11 23:25:15 +01:00
namespace isnd.ViewModels
{
public class PackageIndexViewModel
{
2021-09-12 20:45:43 +01:00
[JsonProperty("prerelease")]
2021-08-15 19:09:01 +01:00
public bool Prerelease { get; set; }
2021-09-12 20:45:43 +01:00
[JsonProperty("data")]
public Package[] Data {get; set;}
[JsonProperty("query")]
public string Query { get; set; }
[JsonProperty("totalHits")]
public int TotalHits { get; internal set; }
2021-08-11 23:25:15 +01:00
}
}