Package com.openai.models.responses
Class ResponseTextDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseTextDoneEvent.Builder
A builder for ResponseTextDoneEvent.
-
-
Method Summary
Modifier and Type Method Description final ResponseTextDoneEvent.Builder
contentIndex(Long contentIndex)
The index of the content part that the text content is finalized. final ResponseTextDoneEvent.Builder
contentIndex(JsonField<Long> contentIndex)
The index of the content part that the text content is finalized. final ResponseTextDoneEvent.Builder
itemId(String itemId)
The ID of the output item that the text content is finalized. final ResponseTextDoneEvent.Builder
itemId(JsonField<String> itemId)
The ID of the output item that the text content is finalized. final ResponseTextDoneEvent.Builder
outputIndex(Long outputIndex)
The index of the output item that the text content is finalized. final ResponseTextDoneEvent.Builder
outputIndex(JsonField<Long> outputIndex)
The index of the output item that the text content is finalized. final ResponseTextDoneEvent.Builder
text(String text)
The text content that is finalized. final ResponseTextDoneEvent.Builder
text(JsonField<String> text)
The text content that is finalized. final ResponseTextDoneEvent.Builder
type(JsonValue type)
The type of the event. final ResponseTextDoneEvent.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseTextDoneEvent.Builder
putAdditionalProperty(String key, JsonValue value)
final ResponseTextDoneEvent.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseTextDoneEvent.Builder
removeAdditionalProperty(String key)
final ResponseTextDoneEvent.Builder
removeAllAdditionalProperties(Set<String> keys)
final ResponseTextDoneEvent
build()
-
-
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()
-
-
-
-