by Nuget version
parent
e49db8e1a1
commit
c147eaf54a
@ -1,20 +1,27 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace isnd.Data.Catalog
|
namespace isnd.Data.Catalog
|
||||||
{
|
{
|
||||||
public class PackageRegistrationIndexQuery : RegistrationPageIndex
|
public class RegistrationPageIndexQuery : RegistrationPageIndex
|
||||||
{
|
{
|
||||||
public PackageRegistrationIndexQuery(string id) : base(id)
|
|
||||||
|
public RegistrationPageIndexQuery() : base("")
|
||||||
|
{
|
||||||
|
}
|
||||||
|
public RegistrationPageIndexQuery(string bid, IEnumerable<RegistrationLeaf> leaves) : base(bid, leaves)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[JsonProperty("prerelease")]
|
|
||||||
public bool Prerelease { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("query")]
|
[JsonProperty("query")]
|
||||||
public string Query { get; set; }
|
public string Query { get; set; }
|
||||||
|
|
||||||
[JsonProperty("totalHits")]
|
[JsonProperty("prerelease")]
|
||||||
public int TotalHits { get; internal set; }
|
public bool Prerelease { get; set; }
|
||||||
|
|
||||||
|
public int Skip { get; set; }
|
||||||
|
|
||||||
|
public int Take { get; set; } = 25;
|
||||||
|
public int TotalHits { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue