Class ResponseReasoningSummaryTextDeltaEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseReasoningSummaryTextDeltaEvent.Builder
A builder for ResponseReasoningSummaryTextDeltaEvent.
-
-
Method Summary
-
-
Method Detail
-
delta
final ResponseReasoningSummaryTextDeltaEvent.Builder delta(String delta)
The text delta that was added to the summary.
-
delta
final ResponseReasoningSummaryTextDeltaEvent.Builder delta(JsonField<String> delta)
Sets Builder.delta to an arbitrary JSON value.
You should usually call Builder.delta with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
itemId
final ResponseReasoningSummaryTextDeltaEvent.Builder itemId(String itemId)
The ID of the item this summary text delta is associated with.
-
itemId
final ResponseReasoningSummaryTextDeltaEvent.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 ResponseReasoningSummaryTextDeltaEvent.Builder outputIndex(Long outputIndex)
The index of the output item this summary text delta is associated with.
-
outputIndex
final ResponseReasoningSummaryTextDeltaEvent.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.
-
summaryIndex
final ResponseReasoningSummaryTextDeltaEvent.Builder summaryIndex(Long summaryIndex)
The index of the summary part within the reasoning summary.
-
summaryIndex
final ResponseReasoningSummaryTextDeltaEvent.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.
-
type
final ResponseReasoningSummaryTextDeltaEvent.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.delta")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseReasoningSummaryTextDeltaEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseReasoningSummaryTextDeltaEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseReasoningSummaryTextDeltaEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseReasoningSummaryTextDeltaEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseReasoningSummaryTextDeltaEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseReasoningSummaryTextDeltaEvent build()
Returns an immutable instance of ResponseReasoningSummaryTextDeltaEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.delta() .itemId() .outputIndex() .summaryIndex()
-
-
-
-