Class TokenQuery
Token-based pagination query parameters.
Assembly: Glitch9.IO.dll
Syntax
public class TokenQuery : IQuery, IRequestParameterProvider
Constructors
|
Edit this page
View Source
TokenQuery()
Declaration
|
Edit this page
View Source
TokenQuery(int, string, bool?)
Declaration
public TokenQuery(int pageSize, string pageToken = null, bool? includeArchived = null)
Parameters
| Type |
Name |
Description |
| int |
pageSize |
|
| string |
pageToken |
|
| bool? |
includeArchived |
|
Properties
|
Edit this page
View Source
IncludeArchived
If true returns all datas including those that have been archived.
Archived datas are not included by default.
Declaration
public bool? IncludeArchived { get; set; }
Property Value
|
Edit this page
View Source
PageSize
Optional. A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 20.
Declaration
public int? PageSize { get; set; }
Property Value
|
Edit this page
View Source
PageToken
Optional. A page token, received from a previous corpora.list call.
Provide the nextPageToken returned in the response as an argument to the next request to retrieve the next page.
When paginating, all other parameters provided to corpora.list must match the call that provided the page token.
Declaration
public string PageToken { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetRequestParameters()
Declaration
public IEnumerable<RequestParameter> GetRequestParameters()
Returns
Implements
Extension Methods