ai_api_client_sdk.models.enactment module¶
- class ai_api_client_sdk.models.enactment.Enactment(id: str, configuration_id: str, configuration_name, scenario_id: str, status: Status, target_status: TargetStatus, created_at: datetime, modified_at: datetime, status_message: str = None, status_details: Dict[str, Any] = None, submission_time: datetime = None, start_time: datetime = None, completion_time: datetime = None, **kwargs)¶
Bases:
objectEnactment object is base class for Execution/Deployment, defining their common attributes
- Parameters:
id (str) – ID of the enactment
configuration_id (str) – ID of the configuration which configured the enactment
configuration_name (str) – Name of the configuration which configured the enactment
scenario_id (str) – ID of the scenario which the enactment belongs to
status (class:ai_api_client_sdk.models.status.Status) – Status of the enactment
target_status (class:ai_api_client_sdk.models.target_status.TargetStatus) – Target status of the enactment
created_at (datetime) – Time when the enactment was created
modified_at (datetime) – Time when the enactment was last modified
status_message (str, optional) – A string, which gives information about the status of the enactment, defaults to None
status_details (Dict[str, Any], optional) – A dict, which gives detailed information about the status of the enactment, defaults to None
submission_time (datetime, optional) – Time when the enactment was submitted
start_time (datetime, optional) – Time when the enactment status changed to RUNNING
completion_time (datetime, optional) – Time when the enactment status changed to COMPLETED/DEAD/STOPPED
**kwargs – The keyword arguments are there in case there are additional attributes returned from server
- __init__(id: str, configuration_id: str, configuration_name, scenario_id: str, status: Status, target_status: TargetStatus, created_at: datetime, modified_at: datetime, status_message: str = None, status_details: Dict[str, Any] = None, submission_time: datetime = None, start_time: datetime = None, completion_time: datetime = None, **kwargs)¶