isn/src/isnd/Data/Catalog/PackageRegistrationIndexViewModel.cs

19 lines
446 B
C#
Raw Normal View History

2021-09-12 20:45:43 +01:00
using Newtonsoft.Json;
2021-08-11 23:25:15 +01:00
2022-08-20 12:54:24 +01:00
namespace isnd.Data.Catalog
2021-08-11 23:25:15 +01:00
{
2022-08-20 12:54:24 +01:00
public class PackageRegistrationIndexViewModel
2021-08-11 23:25:15 +01:00
{
2022-08-20 12:54:24 +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")]
2022-08-20 12:54:24 +01:00
public RegistrationLeaf[] Data {get; set;}
2021-09-12 20:45:43 +01:00
[JsonProperty("query")]
public string Query { get; set; }
[JsonProperty("totalHits")]
public int TotalHits { get; internal set; }
2021-08-11 23:25:15 +01:00
}
}