Package com.openai.models.responses
Class Response.Conversation
-
- All Implemented Interfaces:
public final class Response.ConversationThe conversation that this response belongs to. Input items and output items from this response are 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. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final Response.Conversation.BuildertoBuilder()final Response.Conversationvalidate()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()
-
builder
final static Response.Conversation.Builder builder()
Returns a mutable builder for constructing an instance of Conversation.
The following fields are required:
.id()
-
-
-
-