Search Results for

    Show / Hide Table of Contents

    Class Queried<T>

    A generic query response wrapper for paginated API responses.

    Inheritance
    object
    DataList<T>
    Queried<T>
    Implements
    IDataList<T>
    Inherited Members
    DataList<T>.Data
    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
    [JsonObject]
    public class Queried<T> : DataList<T>, IDataList<T>
    Type Parameters
    Name Description
    T

    Properties

    | Edit this page View Source

    Created

    The creation time of the query response (optional).

    Declaration
    public UnixTime? Created { get; set; }
    Property Value
    Type Description
    UnixTime?
    | 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
    Type Description
    string
    | Edit this page View Source

    HasMore

    Indicates if there are more items beyond the current page.

    Declaration
    public bool HasMore { get; set; }
    Property Value
    Type Description
    bool
    | 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
    Type Description
    string
    | Edit this page View Source

    NextPageToken

    The next page token for pagination (optional).

    Declaration
    public string NextPageToken { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TotalCount

    Total number of items found (if requested).

    Declaration
    public int? TotalCount { get; set; }
    Property Value
    Type Description
    int?

    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
    Type Description
    T[]

    Implements

    IDataList<T>

    Extension Methods

    DataListExtensions.IsNotNullOrEmpty<T>(IDataList<T>)
    DataListExtensions.IsNullOrEmpty<T>(IDataList<T>)
    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