IntelligenceX
Class

ThreadListResult

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

Represents a list of chat threads.

Inheritance

  • Object
  • ThreadListResult

Constructors

public ThreadListResult(IReadOnlyList<ThreadInfo> data, String nextCursor, JsonObject raw, JsonObject additional) #

Initializes a new thread list result.

Parameters

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

Methods

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

Parses a thread list from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed thread list result.

Properties

public IReadOnlyList<ThreadInfo> Data { get; } #

Gets the thread list.

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.