Iceshrimp.NET/Iceshrimp.Backend/Controllers/Mastodon/Schemas/MastodonPaginationQuery.cs
2024-07-04 18:17:50 +02:00

13 lines
No EOL
551 B
C#

using Iceshrimp.Backend.Controllers.Shared.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; }
}