Search Results for

    Show / Hide Table of Contents

    Class XAIPrepaidBalance

    Inheritance
    object
    XAIPrepaidBalance
    Implements
    ICreditInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.xAI
    Assembly: Glitch9.AIDevKit.Provider.XAI.dll
    Syntax
    public sealed class XAIPrepaidBalance : ICreditInfo

    Properties

    | Edit this page View Source

    Changes

    Declaration
    [JsonProperty("changes")]
    public XAIPrepaidBalance.XAIBalanceChange[] Changes { get; set; }
    Property Value
    Type Description
    XAIBalanceChange[]
    | Edit this page View Source

    Total

    Declaration
    [JsonProperty("total")]
    public XAIPrepaidBalance.Amount Total { get; set; }
    Property Value
    Type Description
    XAIPrepaidBalance.Amount
    | Edit this page View Source

    TotalCredits

    Total credits purchased by the user

    Declaration
    public double TotalCredits { get; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    UsedCredits

    Total credits used by the user

    Declaration
    public double UsedCredits { get; }
    Property Value
    Type Description
    double

    Implements

    ICreditInfo

    Extension Methods

    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