Package com.openai.models.responses
Class ResponseReasoningItem.Summary.Builder
-
- All Implemented Interfaces:
public final class ResponseReasoningItem.Summary.BuilderA builder for Summary.
-
-
Method Summary
Modifier and Type Method Description final ResponseReasoningItem.Summary.Buildertext(String text)A short summary of the reasoning used by the model when generating the response. final ResponseReasoningItem.Summary.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final ResponseReasoningItem.Summary.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseReasoningItem.Summary.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseReasoningItem.Summary.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseReasoningItem.Summary.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseReasoningItem.Summary.BuilderremoveAdditionalProperty(String key)final ResponseReasoningItem.Summary.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseReasoningItem.Summarybuild()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()
-
-
-
-