Package com.openai.models.responses
Class Response.Conversation
-
- All Implemented Interfaces:
public final class Response.ConversationThe conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponse.Conversation.BuilderA builder for Conversation.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the conversation that this response was associated with. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final Response.Conversation.BuildertoBuilder()final Response.Conversationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Response.Conversation.Builderbuilder()Returns a mutable builder for constructing an instance of Conversation. -
-
Method Detail
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Response.Conversation.Builder toBuilder()
-
validate
final Response.Conversation validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static Response.Conversation.Builder builder()
Returns a mutable builder for constructing an instance of Conversation.
The following fields are required:
.id()
-
-
-
-