IntelligenceX
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
planType System.String
accountId System.String
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

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

Parses account info from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
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.