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