Class BetaEncryptedCodeExecutionResultBlockParam
-
- All Implemented Interfaces:
public final class BetaEncryptedCodeExecutionResultBlockParamCode execution result with encrypted stdout for PFC + web_search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaEncryptedCodeExecutionResultBlockParam.BuilderA builder for BetaEncryptedCodeExecutionResultBlockParam.
-
Method Summary
Modifier and Type Method Description final List<BetaCodeExecutionOutputBlockParam>content()final StringencryptedStdout()final LongreturnCode()final Stringstderr()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("encrypted_code_execution_result")final JsonField<List<BetaCodeExecutionOutputBlockParam>>_content()Returns the raw JSON value of content. final JsonField<String>_encryptedStdout()Returns the raw JSON value of encryptedStdout. final JsonField<Long>_returnCode()Returns the raw JSON value of returnCode. final JsonField<String>_stderr()Returns the raw JSON value of stderr. final Map<String, JsonValue>_additionalProperties()final BetaEncryptedCodeExecutionResultBlockParam.BuildertoBuilder()final BetaEncryptedCodeExecutionResultBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaEncryptedCodeExecutionResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaEncryptedCodeExecutionResultBlockParam. -
-
Method Detail
-
content
final List<BetaCodeExecutionOutputBlockParam> content()
-
encryptedStdout
final String encryptedStdout()
-
returnCode
final Long returnCode()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("encrypted_code_execution_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<List<BetaCodeExecutionOutputBlockParam>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_encryptedStdout
final JsonField<String> _encryptedStdout()
Returns the raw JSON value of encryptedStdout.
Unlike encryptedStdout, this method doesn't throw if the JSON field has an unexpected type.
-
_returnCode
final JsonField<Long> _returnCode()
Returns the raw JSON value of returnCode.
Unlike returnCode, this method doesn't throw if the JSON field has an unexpected type.
-
_stderr
final JsonField<String> _stderr()
Returns the raw JSON value of stderr.
Unlike stderr, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaEncryptedCodeExecutionResultBlockParam.Builder toBuilder()
-
validate
final BetaEncryptedCodeExecutionResultBlockParam 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 BetaEncryptedCodeExecutionResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaEncryptedCodeExecutionResultBlockParam.
The following fields are required:
.content() .encryptedStdout() .returnCode() .stderr()
-
-
-
-