Package com.openai.models.responses
Class ResponseTextDeltaEvent
-
- All Implemented Interfaces:
public final class ResponseTextDeltaEventEmitted when there is an additional text delta.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseTextDeltaEvent.BuilderA builder for ResponseTextDeltaEvent.
-
Method Summary
Modifier and Type Method Description final LongcontentIndex()The index of the content part that the text delta was added to. final Stringdelta()The text delta that was added. final StringitemId()The ID of the output item that the text delta was added to. final LongoutputIndex()The index of the output item that the text delta was added to. final JsonValue_type()The type of the event. final JsonField<Long>_contentIndex()The index of the content part that the text delta was added to. final JsonField<String>_delta()The text delta that was added. final JsonField<String>_itemId()The ID of the output item that the text delta was added to. final JsonField<Long>_outputIndex()The index of the output item that the text delta was added to. final Map<String, JsonValue>_additionalProperties()final ResponseTextDeltaEventvalidate()final ResponseTextDeltaEvent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseTextDeltaEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseTextDeltaEvent. -
-
Method Detail
-
contentIndex
final Long contentIndex()
The index of the content part that the text delta was added to.
-
outputIndex
final Long outputIndex()
The index of the output item that the text delta was added to.
-
_contentIndex
final JsonField<Long> _contentIndex()
The index of the content part that the text delta was added to.
-
_itemId
final JsonField<String> _itemId()
The ID of the output item that the text delta was added to.
-
_outputIndex
final JsonField<Long> _outputIndex()
The index of the output item that the text delta was added to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseTextDeltaEvent validate()
-
toBuilder
final ResponseTextDeltaEvent.Builder toBuilder()
-
builder
final static ResponseTextDeltaEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseTextDeltaEvent.
The following fields are required:
.contentIndex() .delta() .itemId() .outputIndex()
-
-
-
-