Package com.openai.models.responses
Class ResponseReasoningItem.Summary
-
- All Implemented Interfaces:
public final class ResponseReasoningItem.SummaryA summary text from the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseReasoningItem.Summary.BuilderA builder for Summary.
-
Method Summary
Modifier and Type Method Description final Stringtext()A summary of the reasoning output from the model so far. final JsonValue_type()The type of the object. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final ResponseReasoningItem.Summary.BuildertoBuilder()final ResponseReasoningItem.Summaryvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseReasoningItem.Summary.Builderbuilder()Returns a mutable builder for constructing an instance of Summary. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the object. Always
summary_text.Expected to always return the following:
JsonValue.from("summary_text")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseReasoningItem.Summary.Builder toBuilder()
-
validate
final ResponseReasoningItem.Summary validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseReasoningItem.Summary.Builder builder()
Returns a mutable builder for constructing an instance of Summary.
The following fields are required:
.text()
-
-
-
-