Class BetaAdvisorRedactedResultBlockParam
-
- All Implemented Interfaces:
public final class BetaAdvisorRedactedResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAdvisorRedactedResultBlockParam.BuilderA builder for BetaAdvisorRedactedResultBlockParam.
-
Method Summary
Modifier and Type Method Description final StringencryptedContent()Opaque blob produced by a prior response; must be round-tripped verbatim. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("advisor_redacted_result")final Optional<String>stopReason()final JsonField<String>_encryptedContent()Returns the raw JSON value of encryptedContent. final JsonField<String>_stopReason()Returns the raw JSON value of stopReason. final Map<String, JsonValue>_additionalProperties()final BetaAdvisorRedactedResultBlockParam.BuildertoBuilder()final BetaAdvisorRedactedResultBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAdvisorRedactedResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAdvisorRedactedResultBlockParam. -
-
Method Detail
-
encryptedContent
final String encryptedContent()
Opaque blob produced by a prior response; must be round-tripped verbatim.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("advisor_redacted_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()
-
_encryptedContent
final JsonField<String> _encryptedContent()
Returns the raw JSON value of encryptedContent.
Unlike encryptedContent, 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 BetaAdvisorRedactedResultBlockParam.Builder toBuilder()
-
validate
final BetaAdvisorRedactedResultBlockParam 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 BetaAdvisorRedactedResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaAdvisorRedactedResultBlockParam.
The following fields are required:
.encryptedContent()
-
-
-
-