Class ResponseReasoningSummaryTextDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseReasoningSummaryTextDoneEvent.Builder
A builder for ResponseReasoningSummaryTextDoneEvent.
-
-
Method Summary
-
-
Method Detail
-
itemId
final ResponseReasoningSummaryTextDoneEvent.Builder itemId(String itemId)
The ID of the item this summary text is associated with.
-
itemId
final ResponseReasoningSummaryTextDoneEvent.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputIndex
final ResponseReasoningSummaryTextDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item this summary text is associated with.
-
outputIndex
final ResponseReasoningSummaryTextDoneEvent.Builder outputIndex(JsonField<Long> outputIndex)
Sets Builder.outputIndex to an arbitrary JSON value.
You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sequenceNumber
final ResponseReasoningSummaryTextDoneEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event.
-
sequenceNumber
final ResponseReasoningSummaryTextDoneEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
summaryIndex
final ResponseReasoningSummaryTextDoneEvent.Builder summaryIndex(Long summaryIndex)
The index of the summary part within the reasoning summary.
-
summaryIndex
final ResponseReasoningSummaryTextDoneEvent.Builder summaryIndex(JsonField<Long> summaryIndex)
Sets Builder.summaryIndex to an arbitrary JSON value.
You should usually call Builder.summaryIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final ResponseReasoningSummaryTextDoneEvent.Builder text(String text)
The full text of the completed reasoning summary.
-
text
final ResponseReasoningSummaryTextDoneEvent.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseReasoningSummaryTextDoneEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("response.reasoning_summary_text.done")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseReasoningSummaryTextDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseReasoningSummaryTextDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseReasoningSummaryTextDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseReasoningSummaryTextDoneEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseReasoningSummaryTextDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseReasoningSummaryTextDoneEvent build()
Returns an immutable instance of ResponseReasoningSummaryTextDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.itemId() .outputIndex() .sequenceNumber() .summaryIndex() .text()
-
-
-
-