Package com.openai.models.beta.responses
Class BetaResponseReasoningSummaryPartAddedEvent.Part
-
- All Implemented Interfaces:
public final class BetaResponseReasoningSummaryPartAddedEvent.PartThe summary part that was added.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseReasoningSummaryPartAddedEvent.Part.BuilderA builder for Part.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text of the summary part. final JsonValue_type()The type of the summary part. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final BetaResponseReasoningSummaryPartAddedEvent.Part.BuildertoBuilder()final BetaResponseReasoningSummaryPartAddedEvent.Partvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseReasoningSummaryPartAddedEvent.Part.Builderbuilder()Returns a mutable builder for constructing an instance of Part. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the summary part. 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 BetaResponseReasoningSummaryPartAddedEvent.Part.Builder toBuilder()
-
validate
final BetaResponseReasoningSummaryPartAddedEvent.Part 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 BetaResponseReasoningSummaryPartAddedEvent.Part.Builder builder()
Returns a mutable builder for constructing an instance of Part.
The following fields are required:
.text()
-
-
-
-