Class EncryptedCodeExecutionResultBlock
-
- All Implemented Interfaces:
public final class EncryptedCodeExecutionResultBlockCode execution result with encrypted stdout for PFC + web_search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEncryptedCodeExecutionResultBlock.BuilderA builder for EncryptedCodeExecutionResultBlock.
-
Method Summary
Modifier and Type Method Description final EncryptedCodeExecutionResultBlockParamtoParam()final List<CodeExecutionOutputBlock>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<CodeExecutionOutputBlock>>_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 EncryptedCodeExecutionResultBlock.BuildertoBuilder()final EncryptedCodeExecutionResultBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EncryptedCodeExecutionResultBlock.Builderbuilder()Returns a mutable builder for constructing an instance of EncryptedCodeExecutionResultBlock. -
-
Method Detail
-
toParam
final EncryptedCodeExecutionResultBlockParam toParam()
-
content
final List<CodeExecutionOutputBlock> 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<CodeExecutionOutputBlock>> _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 EncryptedCodeExecutionResultBlock.Builder toBuilder()
-
validate
final EncryptedCodeExecutionResultBlock 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 EncryptedCodeExecutionResultBlock.Builder builder()
Returns a mutable builder for constructing an instance of EncryptedCodeExecutionResultBlock.
The following fields are required:
.content() .encryptedStdout() .returnCode() .stderr()
-
-
-
-