SandboxCommandStdoutEvent¶
-
class
oci.generative_ai_sandbox.models.SandboxCommandStdoutEvent(**kwargs)¶ Bases:
oci.generative_ai_sandbox.models.sandbox_command_event.SandboxCommandEventEvent containing a standard output chunk.
Attributes
EVENT_FINISHEDstr(object=’’) -> str EVENT_STARTEDstr(object=’’) -> str EVENT_STDERRstr(object=’’) -> str EVENT_STDOUTstr(object=’’) -> str command_id[Required] Gets the command_id of this SandboxCommandEvent. dataGets the data of this SandboxCommandEvent. event[Required] Gets the event of this SandboxCommandEvent. seq[Required] Gets the seq of this SandboxCommandEvent. timestamp[Required] Gets the timestamp of this SandboxCommandEvent. Methods
__init__(**kwargs)Initializes a new SandboxCommandStdoutEvent object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
EVENT_FINISHED= 'FINISHED'¶
-
EVENT_STARTED= 'STARTED'¶
-
EVENT_STDERR= 'STDERR'¶
-
EVENT_STDOUT= 'STDOUT'¶
-
__init__(**kwargs)¶ Initializes a new SandboxCommandStdoutEvent object with values from keyword arguments. The default value of the
eventattribute of this class isSTDOUTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - event (str) – The value to assign to the event property of this SandboxCommandStdoutEvent. Allowed values for this property are: “STARTED”, “STDOUT”, “STDERR”, “FINISHED”
- seq (int) – The value to assign to the seq property of this SandboxCommandStdoutEvent.
- timestamp (datetime) – The value to assign to the timestamp property of this SandboxCommandStdoutEvent.
- command_id (str) – The value to assign to the command_id property of this SandboxCommandStdoutEvent.
- data (str) – The value to assign to the data property of this SandboxCommandStdoutEvent.
-
command_id¶ [Required] Gets the command_id of this SandboxCommandEvent. Sandbox command identifier.
Returns: The command_id of this SandboxCommandEvent. Return type: str
-
data¶ Gets the data of this SandboxCommandEvent. Event payload.
Returns: The data of this SandboxCommandEvent. Return type: str
-
event¶ [Required] Gets the event of this SandboxCommandEvent. Command event type.
Allowed values for this property are: “STARTED”, “STDOUT”, “STDERR”, “FINISHED”
Returns: The event of this SandboxCommandEvent. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
seq¶ [Required] Gets the seq of this SandboxCommandEvent. Monotonically increasing command event sequence number.
Returns: The seq of this SandboxCommandEvent. Return type: int
-
timestamp¶ [Required] Gets the timestamp of this SandboxCommandEvent. The date and time the command event was emitted, in RFC 3339 format.
Returns: The timestamp of this SandboxCommandEvent. Return type: datetime
-