Search Results for

    Show / Hide Table of Contents

    Class TokenQuery

    Token-based pagination query parameters.

    Inheritance
    object
    TokenQuery
    Implements
    IQuery
    IRequestParameterProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public class TokenQuery : IQuery, IRequestParameterProvider

    Constructors

    | Edit this page View Source

    TokenQuery()

    Declaration
    public TokenQuery()
    | 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
    Type Description
    bool?
    | 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
    Type Description
    int?
    | 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
    Type Description
    string

    Methods

    | Edit this page View Source

    GetRequestParameters()

    Declaration
    public IEnumerable<RequestParameter> GetRequestParameters()
    Returns
    Type Description
    IEnumerable<RequestParameter>

    Implements

    IQuery
    IRequestParameterProvider

    Extension Methods

    ResponseCastingExtensions.ToParams(IRequestParameterProvider)
    ResponseCastingExtensions.ToParams(IRequestParameterProvider, params RequestParameter[])
    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation