IntelligenceX
Class

ModelListResult

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

Represents the result of a model list request.

Inheritance

  • Object
  • ModelListResult

Constructors

public ModelListResult(IReadOnlyList<ModelInfo> models, String nextCursor, JsonObject raw, JsonObject additional) #

Initializes a new model list result.

Parameters

models System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.ModelInfo}
nextCursor System.String
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

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

Parses a model list result from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed model list result.

Properties

public IReadOnlyList<ModelInfo> Models { get; } #

Gets the list of models.

public String NextCursor { get; } #

Gets the pagination cursor for the next page.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.