SandboxCommandOutput¶
-
class
oci.generative_ai_sandbox.models.SandboxCommandOutput(**kwargs)¶ Bases:
objectCaptured command output details.
Methods
__init__(**kwargs)Initializes a new SandboxCommandOutput object with values from keyword arguments. Attributes
command_id[Required] Gets the command_id of this SandboxCommandOutput. exit_codeGets the exit_code of this SandboxCommandOutput. last_seq[Required] Gets the last_seq of this SandboxCommandOutput. stderrGets the stderr of this SandboxCommandOutput. stdoutGets the stdout of this SandboxCommandOutput. -
__init__(**kwargs)¶ Initializes a new SandboxCommandOutput object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - command_id (str) – The value to assign to the command_id property of this SandboxCommandOutput.
- exit_code (int) – The value to assign to the exit_code property of this SandboxCommandOutput.
- stdout (str) – The value to assign to the stdout property of this SandboxCommandOutput.
- stderr (str) – The value to assign to the stderr property of this SandboxCommandOutput.
- last_seq (int) – The value to assign to the last_seq property of this SandboxCommandOutput.
-
command_id¶ [Required] Gets the command_id of this SandboxCommandOutput. Sandbox command identifier.
Returns: The command_id of this SandboxCommandOutput. Return type: str
-
exit_code¶ Gets the exit_code of this SandboxCommandOutput. Process exit code when available.
Returns: The exit_code of this SandboxCommandOutput. Return type: int
-
last_seq¶ [Required] Gets the last_seq of this SandboxCommandOutput. Last command event sequence number included in the output.
Returns: The last_seq of this SandboxCommandOutput. Return type: int
-
stderr¶ Gets the stderr of this SandboxCommandOutput. Standard error captured from the requested event sequence.
Returns: The stderr of this SandboxCommandOutput. Return type: str
-
stdout¶ Gets the stdout of this SandboxCommandOutput. Standard output captured from the requested event sequence.
Returns: The stdout of this SandboxCommandOutput. Return type: str
-