Class EncryptedCodeExecutionResultBlockParam
-
- All Implemented Interfaces:
public final class EncryptedCodeExecutionResultBlockParamCode execution result with encrypted stdout for PFC + web_search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEncryptedCodeExecutionResultBlockParam.BuilderA builder for EncryptedCodeExecutionResultBlockParam.
-
Method Summary
Modifier and Type Method Description final List<CodeExecutionOutputBlockParam>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<CodeExecutionOutputBlockParam>>_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 EncryptedCodeExecutionResultBlockParam.BuildertoBuilder()final EncryptedCodeExecutionResultBlockParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EncryptedCodeExecutionResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of EncryptedCodeExecutionResultBlockParam. -
-
Method Detail
-
content
final List<CodeExecutionOutputBlockParam> 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<CodeExecutionOutputBlockParam>> _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 EncryptedCodeExecutionResultBlockParam.Builder toBuilder()
-
validate
final EncryptedCodeExecutionResultBlockParam validate()
-
builder
final static EncryptedCodeExecutionResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of EncryptedCodeExecutionResultBlockParam.
The following fields are required:
.content() .encryptedStdout() .returnCode() .stderr()
-
-
-
-