Package com.openai.models.responses
Class ResponseRefusalDeltaEvent
-
- All Implemented Interfaces:
public final class ResponseRefusalDeltaEvent
Emitted when there is a partial refusal text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseRefusalDeltaEvent.Builder
A builder for ResponseRefusalDeltaEvent.
-
Method Summary
Modifier and Type Method Description final Long
contentIndex()
The index of the content part that the refusal text is added to. final String
delta()
The refusal text that is added. final String
itemId()
The ID of the output item that the refusal text is added to. final Long
outputIndex()
The index of the output item that the refusal text is added to. final JsonValue
_type()
The type of the event. final JsonField<Long>
_contentIndex()
The index of the content part that the refusal text is added to. final JsonField<String>
_delta()
The refusal text that is added. final JsonField<String>
_itemId()
The ID of the output item that the refusal text is added to. final JsonField<Long>
_outputIndex()
The index of the output item that the refusal text is added to. final Map<String, JsonValue>
_additionalProperties()
final ResponseRefusalDeltaEvent
validate()
final ResponseRefusalDeltaEvent.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseRefusalDeltaEvent.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseRefusalDeltaEvent. -
-
Method Detail
-
contentIndex
final Long contentIndex()
The index of the content part that the refusal text is added to.
-
outputIndex
final Long outputIndex()
The index of the output item that the refusal text is added to.
-
_contentIndex
final JsonField<Long> _contentIndex()
The index of the content part that the refusal text is added to.
-
_itemId
final JsonField<String> _itemId()
The ID of the output item that the refusal text is added to.
-
_outputIndex
final JsonField<Long> _outputIndex()
The index of the output item that the refusal text is added to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseRefusalDeltaEvent validate()
-
toBuilder
final ResponseRefusalDeltaEvent.Builder toBuilder()
-
builder
final static ResponseRefusalDeltaEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseRefusalDeltaEvent.
The following fields are required:
.contentIndex() .delta() .itemId() .outputIndex()
-
-
-
-