Files
isn/src/isnd/Data/Catalog/RegistrationPageIndexQuery.cs
2023-04-25 22:40:58 +01:00

25 lines
548 B
C#

using System.Collections.Generic;
using isnd.Data.Packages;
using Newtonsoft.Json;
namespace isnd.Data.Catalog
{
public class PackageRegistrationQuery
{
public PackageRegistrationQuery()
{
}
[JsonProperty("query")]
public string Query { get; set; }
[JsonProperty("prerelease")]
public bool Prerelease { get; set; } = true;
[JsonProperty("skip")]
public int Skip { get; set; } = 0;
[JsonProperty("take")]
public int Take { get; set; } = 25;
}
}