21 lines
No EOL
467 B
C#
21 lines
No EOL
467 B
C#
using isnd.Data;
|
|
using isnd.Data.Packages;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace isnd.ViewModels
|
|
{
|
|
public class PackageIndexViewModel
|
|
{
|
|
[JsonProperty("prerelease")]
|
|
public bool Prerelease { get; set; }
|
|
|
|
[JsonProperty("data")]
|
|
public Package[] Data {get; set;}
|
|
|
|
[JsonProperty("query")]
|
|
public string Query { get; set; }
|
|
|
|
[JsonProperty("totalHits")]
|
|
public int TotalHits { get; internal set; }
|
|
}
|
|
} |