Package com.openai.models.responses
Class ResponseContentPartAddedEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseContentPartAddedEvent.Builder
A builder for ResponseContentPartAddedEvent.
-
-
Method Summary
-
-
Method Detail
-
contentIndex
final ResponseContentPartAddedEvent.Builder contentIndex(Long contentIndex)
The index of the content part that was added.
-
contentIndex
final ResponseContentPartAddedEvent.Builder contentIndex(JsonField<Long> contentIndex)
The index of the content part that was added.
-
itemId
final ResponseContentPartAddedEvent.Builder itemId(String itemId)
The ID of the output item that the content part was added to.
-
itemId
final ResponseContentPartAddedEvent.Builder itemId(JsonField<String> itemId)
The ID of the output item that the content part was added to.
-
outputIndex
final ResponseContentPartAddedEvent.Builder outputIndex(Long outputIndex)
The index of the output item that the content part was added to.
-
outputIndex
final ResponseContentPartAddedEvent.Builder outputIndex(JsonField<Long> outputIndex)
The index of the output item that the content part was added to.
-
part
final ResponseContentPartAddedEvent.Builder part(ResponseContentPartAddedEvent.Part part)
The content part that was added.
-
part
final ResponseContentPartAddedEvent.Builder part(JsonField<ResponseContentPartAddedEvent.Part> part)
The content part that was added.
-
part
final ResponseContentPartAddedEvent.Builder part(ResponseOutputText outputText)
A text output from the model.
-
part
final ResponseContentPartAddedEvent.Builder part(ResponseOutputRefusal refusal)
A refusal from the model.
-
refusalPart
final ResponseContentPartAddedEvent.Builder refusalPart(String refusal)
A refusal from the model.
-
type
final ResponseContentPartAddedEvent.Builder type(JsonValue type)
The type of the event. Always
response.content_part.added
.
-
additionalProperties
final ResponseContentPartAddedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseContentPartAddedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseContentPartAddedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseContentPartAddedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseContentPartAddedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseContentPartAddedEvent build()
-
-
-
-