IntelligenceX

API Reference

Class

AccountInfo

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

Represents account metadata returned by the app-server.

Inheritance

  • Object
  • AccountInfo

Constructors

public AccountInfo(String email, String planType, String accountId, JsonObject raw, JsonObject additional) #

Initializes a new account info model.

Parameters

email System.String requiredposition: 0
planType System.String requiredposition: 1
accountId System.String requiredposition: 2
raw IntelligenceX.Json.JsonObject requiredposition: 3
additional IntelligenceX.Json.JsonObject requiredposition: 4

Methods

public static AccountInfo FromJson(JsonObject obj) #
Returns: AccountInfo

Parses account info from JSON.

Parameters

obj IntelligenceX.Json.JsonObject requiredposition: 0
Source JSON object.

Returns

The parsed account info.

Properties

public String Email { get; } #

Gets the account email.

public String PlanType { get; } #

Gets the plan type identifier.

public String AccountId { get; } #

Gets the account id.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.