1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-06 10:32:49 -05:00

event paging

This commit is contained in:
Kyle Spearrin
2017-12-15 15:23:57 -05:00
parent 79d46578b0
commit 125eab11dc
8 changed files with 114 additions and 58 deletions

View File

@ -0,0 +1,8 @@
namespace Bit.Core.Models.Data
{
public class PageOptions
{
public string ContinuationToken { get; set; }
public int PageSize { get; set; } = 100;
}
}

View File

@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace Bit.Core.Models.Data
{
public class PagedResult<T>
{
public List<T> Data { get; set; } = new List<T>();
public string ContinuationToken { get; set; }
}
}