Class PagedResults<T>
Container for paginated results used in search requests
Inherited Members
Namespace: Unity.Services.Ugc.Bridge
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class PagedResults<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
PagedResults(int, int, int, List<T>)
Construct a new PagedResults object.
Declaration
public PagedResults(int offset, int limit, int total, List<T> results)
Parameters
Type | Name | Description |
---|---|---|
int | offset | offset param |
int | limit | limit param |
int | total | total param |
List<T> | results | results param |
Properties
Limit
Limit on the number of results fetched
Declaration
public int Limit { get; }
Property Value
Type | Description |
---|---|
int |
Offset
Pagination offset of the results
Declaration
public int Offset { get; }
Property Value
Type | Description |
---|---|
int |
Results
List of results fetched
Declaration
public List<T> Results { get; }
Property Value
Type | Description |
---|---|
List<T> |
Total
Total number of results of the whole search request.
Filled only if IncludeTotal
was set to true
in the search request
Declaration
public int Total { get; }
Property Value
Type | Description |
---|---|
int |