Package com.openai.models.responses
Class ResponseTextDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseTextDoneEvent.BuilderA builder for ResponseTextDoneEvent.
-
-
Method Summary
Modifier and Type Method Description final ResponseTextDoneEvent.BuildercontentIndex(Long contentIndex)The index of the content part that the text content is finalized. final ResponseTextDoneEvent.BuildercontentIndex(JsonField<Long> contentIndex)The index of the content part that the text content is finalized. final ResponseTextDoneEvent.BuilderitemId(String itemId)The ID of the output item that the text content is finalized. final ResponseTextDoneEvent.BuilderitemId(JsonField<String> itemId)The ID of the output item that the text content is finalized. final ResponseTextDoneEvent.BuilderoutputIndex(Long outputIndex)The index of the output item that the text content is finalized. final ResponseTextDoneEvent.BuilderoutputIndex(JsonField<Long> outputIndex)The index of the output item that the text content is finalized. final ResponseTextDoneEvent.Buildertext(String text)The text content that is finalized. final ResponseTextDoneEvent.Buildertext(JsonField<String> text)The text content that is finalized. final ResponseTextDoneEvent.Buildertype(JsonValue type)The type of the event. final ResponseTextDoneEvent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseTextDoneEvent.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseTextDoneEvent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseTextDoneEvent.BuilderremoveAdditionalProperty(String key)final ResponseTextDoneEvent.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseTextDoneEventbuild()-
-
Method Detail
-
contentIndex
final ResponseTextDoneEvent.Builder contentIndex(Long contentIndex)
The index of the content part that the text content is finalized.
-
contentIndex
final ResponseTextDoneEvent.Builder contentIndex(JsonField<Long> contentIndex)
The index of the content part that the text content is finalized.
-
itemId
final ResponseTextDoneEvent.Builder itemId(String itemId)
The ID of the output item that the text content is finalized.
-
itemId
final ResponseTextDoneEvent.Builder itemId(JsonField<String> itemId)
The ID of the output item that the text content is finalized.
-
outputIndex
final ResponseTextDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item that the text content is finalized.
-
outputIndex
final ResponseTextDoneEvent.Builder outputIndex(JsonField<Long> outputIndex)
The index of the output item that the text content is finalized.
-
text
final ResponseTextDoneEvent.Builder text(String text)
The text content that is finalized.
-
text
final ResponseTextDoneEvent.Builder text(JsonField<String> text)
The text content that is finalized.
-
type
final ResponseTextDoneEvent.Builder type(JsonValue type)
The type of the event. Always
response.output_text.done.
-
additionalProperties
final ResponseTextDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseTextDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseTextDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseTextDoneEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseTextDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseTextDoneEvent build()
-
-
-
-