Package com.openai.models.responses
Class ResponseContentPartAddedEvent
-
- All Implemented Interfaces:
public final class ResponseContentPartAddedEventEmitted when a new content part is added.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseContentPartAddedEvent.BuilderA builder for ResponseContentPartAddedEvent.
public final classResponseContentPartAddedEvent.PartThe content part that was added.
-
Method Summary
Modifier and Type Method Description final LongcontentIndex()The index of the content part that was added. final StringitemId()The ID of the output item that the content part was added to. final LongoutputIndex()The index of the output item that the content part was added to. final ResponseContentPartAddedEvent.Partpart()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 ResponseContentPartAddedEventvalidate()final ResponseContentPartAddedEvent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseContentPartAddedEvent.Builderbuilder()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()
-
-
-
-