| |
- builtins.object
-
- Enactment
class Enactment(builtins.object) |
|
Enactment(id: str, configuration_id: str, configuration_name, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, status_details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, **kwargs)
Enactment object is base class for Execution/Deployment, defining their common attributes
:param id: ID of the enactment
:type id: str
:param configuration_id: ID of the configuration which configured the enactment
:type configuration_id: str
:param configuration_name: Name of the configuration which configured the enactment
:type configuration_name: str
:param scenario_id: ID of the scenario which the enactment belongs to
:type scenario_id: str
:param status: Status of the enactment
:type status: class:`ai_api_client_sdk.models.status.Status`
:param target_status: Target status of the enactment
:type target_status: class:`ai_api_client_sdk.models.target_status.TargetStatus`
:param created_at: Time when the enactment was created
:type created_at: datetime
:param modified_at: Time when the enactment was last modified
:type modified_at: datetime
:param status_details: A dict, which gives detailed information about the status of the enactment, defaults to None
:type status_details: Dict[str, Any], optional
:param submission_time: Time when the enactment was submitted
:type submission_time: datetime, optional
:param start_time: Time when the enactment status changed to RUNNING
:type start_time: datetime, optional
:param completion_time: Time when the enactment status changed to COMPLETED/DEAD/STOPPED
:type completion_time: datetime, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, id: str, configuration_id: str, configuration_name, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, status_details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |