Package com.openai.models.responses
Class ResponseRefusalDoneEvent
-
- All Implemented Interfaces:
public final class ResponseRefusalDoneEventEmitted when refusal text is finalized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseRefusalDoneEvent.BuilderA builder for ResponseRefusalDoneEvent.
-
Method Summary
Modifier and Type Method Description final LongcontentIndex()The index of the content part that the refusal text is finalized. final StringitemId()The ID of the output item that the refusal text is finalized. final LongoutputIndex()The index of the output item that the refusal text is finalized. final Stringrefusal()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 ResponseRefusalDoneEventvalidate()final ResponseRefusalDoneEvent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseRefusalDoneEvent.Builderbuilder()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()
-
-
-
-