Class
ThreadInfo
Represents a chat thread summary.
Inheritance
- Object
- ThreadInfo
Constructors
public ThreadInfo(String id, String preview, String modelProvider, Nullable<DateTimeOffset> createdAt, Nullable<DateTimeOffset> updatedAt, JsonObject raw, JsonObject additional) #Initializes a new thread info model.
Parameters
- id System.String
- preview System.String
- modelProvider System.String
- createdAt System.Nullable{System.DateTimeOffset}
- updatedAt System.Nullable{System.DateTimeOffset}
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
public static ThreadInfo FromJson(JsonObject threadObj) #Returns:
ThreadInfoParses a thread info model from JSON.
Parameters
- threadObj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed thread info.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Id { get; } #Gets the thread id.
public String Preview { get; } #Gets the preview text.
public String ModelProvider { get; } #Gets the model provider identifier.
public Nullable<DateTimeOffset> CreatedAt { get; } #Gets the creation time (UTC).
public Nullable<DateTimeOffset> UpdatedAt { get; } #Gets the last update time (UTC).
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.