Package com.openai.models.responses
Class ResponseRefusalDeltaEvent
-
- All Implemented Interfaces:
public final class ResponseRefusalDeltaEventEmitted when there is a partial refusal text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseRefusalDeltaEvent.BuilderA builder for ResponseRefusalDeltaEvent.
-
Method Summary
Modifier and Type Method Description final LongcontentIndex()The index of the content part that the refusal text is added to. final Stringdelta()The refusal text that is added. final StringitemId()The ID of the output item that the refusal text is added to. final LongoutputIndex()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 ResponseRefusalDeltaEventvalidate()final ResponseRefusalDeltaEvent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseRefusalDeltaEvent.Builderbuilder()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()
-
-
-
-