Package com.openai.models.responses
Class ResponseReasoningItem.Summary.Builder
-
- All Implemented Interfaces:
public final class ResponseReasoningItem.Summary.Builder
A builder for Summary.
-
-
Method Summary
Modifier and Type Method Description final ResponseReasoningItem.Summary.Builder
text(String text)
A short summary of the reasoning used by the model when generating the response. final ResponseReasoningItem.Summary.Builder
text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value. final ResponseReasoningItem.Summary.Builder
type(JsonValue type)
Sets the field to an arbitrary JSON value. final ResponseReasoningItem.Summary.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseReasoningItem.Summary.Builder
putAdditionalProperty(String key, JsonValue value)
final ResponseReasoningItem.Summary.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseReasoningItem.Summary.Builder
removeAdditionalProperty(String key)
final ResponseReasoningItem.Summary.Builder
removeAllAdditionalProperties(Set<String> keys)
final ResponseReasoningItem.Summary
build()
Returns an immutable instance of Summary. -
-
Method Detail
-
text
final ResponseReasoningItem.Summary.Builder text(String text)
A short summary of the reasoning used by the model when generating the response.
-
text
final ResponseReasoningItem.Summary.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 ResponseReasoningItem.Summary.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("summary_text")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseReasoningItem.Summary.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseReasoningItem.Summary.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseReasoningItem.Summary.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseReasoningItem.Summary.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseReasoningItem.Summary.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseReasoningItem.Summary build()
Returns an immutable instance of Summary.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text()
-
-
-
-