Package com.openai.models.responses
Class ResponseTextDeltaEvent
-
- All Implemented Interfaces:
public final class ResponseTextDeltaEvent
Emitted when there is an additional text delta.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseTextDeltaEvent.Builder
A builder for ResponseTextDeltaEvent.
-
Method Summary
Modifier and Type Method Description final Long
contentIndex()
The index of the content part that the text delta was added to. final String
delta()
The text delta that was added. final String
itemId()
The ID of the output item that the text delta was added to. final Long
outputIndex()
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 ResponseTextDeltaEvent
validate()
final ResponseTextDeltaEvent.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseTextDeltaEvent.Builder
builder()
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()
-
-
-
-