Iceshrimp.NET/Iceshrimp.Backend/Controllers/Mastodon/Schemas/MastodonPaginationQuery.cs
2024-02-24 21:03:29 +01:00

13 lines
No EOL
544 B
C#

using Iceshrimp.Backend.Controllers.Attributes;
using Microsoft.AspNetCore.Mvc;
namespace Iceshrimp.Backend.Controllers.Mastodon.Schemas;
public class MastodonPaginationQuery : IPaginationQuery
{
[FromQuery(Name = "max_id")] public string? MaxId { get; set; }
[FromQuery(Name = "since_id")] public string? SinceId { get; set; }
[FromQuery(Name = "offset")] public int? Offset { get; set; }
[FromQuery(Name = "min_id")] public string? MinId { get; set; }
[FromQuery(Name = "limit")] public int? Limit { get; set; }
}