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:
[Required] Gets the command_id of this SandboxCommandOutput.
Gets the exit_code of this SandboxCommandOutput.
[Required] Gets the last_seq of this SandboxCommandOutput.
Gets the stderr of this SandboxCommandOutput.
Gets 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.
- property command_id¶
[Required] Gets the command_id of this SandboxCommandOutput. Sandbox command identifier.
- Returns
The command_id of this SandboxCommandOutput.
- Return type
str
- property exit_code¶
Gets the exit_code of this SandboxCommandOutput. Process exit code when available.
- Returns
The exit_code of this SandboxCommandOutput.
- Return type
int
- property 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
- property stderr¶
Gets the stderr of this SandboxCommandOutput. Standard error captured from the requested event sequence.
- Returns
The stderr of this SandboxCommandOutput.
- Return type
str
- property stdout¶
Gets the stdout of this SandboxCommandOutput. Standard output captured from the requested event sequence.
- Returns
The stdout of this SandboxCommandOutput.
- Return type
str