Class Queried<T>
A generic query response wrapper for paginated API responses.
Assembly: Glitch9.IO.dll
Syntax
[JsonObject]
public class Queried<T> : DataList<T>, IDataList<T>
Type Parameters
Properties
|
Edit this page
View Source
Created
The creation time of the query response (optional).
Declaration
public UnixTime? Created { get; set; }
Property Value
|
Edit this page
View Source
FirstId
The ID of the first item in the current page (optional).
Declaration
public string FirstId { get; set; }
Property Value
|
Edit this page
View Source
HasMore
Indicates if there are more items beyond the current page.
Declaration
public bool HasMore { get; set; }
Property Value
|
Edit this page
View Source
LastId
The ID of the last item in the current page (optional).
Declaration
public string LastId { get; set; }
Property Value
|
Edit this page
View Source
NextPageToken
The next page token for pagination (optional).
Declaration
public string NextPageToken { get; set; }
Property Value
|
Edit this page
View Source
TotalCount
Total number of items found (if requested).
Declaration
public int? TotalCount { get; set; }
Property Value
Operators
|
Edit this page
View Source
implicit operator T[](Queried<T>)
Declaration
public static implicit operator T[](Queried<T> response)
Parameters
| Type |
Name |
Description |
| Queried<T> |
response |
|
Returns
Implements
Extension Methods