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
-
-
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()
-
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()
-
-
-
-