Class BetaAdvisorResultBlockParam
-
- All Implemented Interfaces:
public final class BetaAdvisorResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAdvisorResultBlockParam.BuilderA builder for BetaAdvisorResultBlockParam.
-
Method Summary
Modifier and Type Method Description final Stringtext()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("advisor_result")final Optional<String>stopReason()final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_stopReason()Returns the raw JSON value of stopReason. final Map<String, JsonValue>_additionalProperties()final BetaAdvisorResultBlockParam.BuildertoBuilder()final BetaAdvisorResultBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAdvisorResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAdvisorResultBlockParam. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("advisor_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
stopReason
final Optional<String> stopReason()
-
_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.
-
_stopReason
final JsonField<String> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAdvisorResultBlockParam.Builder toBuilder()
-
validate
final BetaAdvisorResultBlockParam 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 BetaAdvisorResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaAdvisorResultBlockParam.
The following fields are required:
.text()
-
-
-
-