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