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