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