ai_api_client_sdk.models.deployment
index
/data/jenkins/workspace/ndation_ai-api-client-sdk_master/ai_api_client_sdk/models/deployment.py

 
Classes
       
ai_api_client_sdk.models.enactment.Enactment(builtins.object)
Deployment

 
class Deployment(ai_api_client_sdk.models.enactment.Enactment)
    Deployment(id: str, deployment_url: str, configuration_id: str, configuration_name: str, 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)
 
The Deployment object defines a deployment
:param id: ID of the deployment
:type id: str
:param deployment_url: URL of the running deployment
:type url: str
:param configuration_id: ID of the configuration which configured the deployment
:type configuration_id: str
:param configuration_name: Name of the configuration which configured the deployment
:type configuration_name: str
:param scenario_id: ID of the scenario which the deployment belongs to
:type scenario_id: str
:param status: Status of the deployment
:type status: class:`ai_api_client_sdk.models.status.Status`
:param target_status: Target status of the deployment
:type target_status: class:`ai_api_client_sdk.models.target_status.TargetStatus`
:param created_at: Time when the deployment was created
:type created_at: datetime
:param modified_at: Time when the deployment was last modified
:type modified_at: datetime
:param status_details: A dict, which gives detailed information about the status of the deployment, defaults to None
:type status_details: Dict[str, Any], optional
:param submission_time: Time when the deployment was submitted
:type submission_time: datetime, optional
:param start_time: Time when the deployment status changed to RUNNING
:type start_time: datetime, optional
:param completion_time: Time when the deployment status changed to DEAD/STOPPED
:type completion_time: datetime, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server
 
 
Method resolution order:
Deployment
ai_api_client_sdk.models.enactment.Enactment
builtins.object

Methods defined here:
__init__(self, id: str, deployment_url: str, configuration_id: str, configuration_name: str, 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.

Static methods defined here:
from_dict(deployment_dict: Dict[str, Any])
Returns a :class:`ai_api_client_sdk.models.deployment.Deployment` object, created from the values in the dict
provided as parameter
 
:param deployment_dict: Dict which includes the necessary values to create the object
:type deployment_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.deployment.Deployment`

Data descriptors inherited from ai_api_client_sdk.models.enactment.Enactment:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        Any = typing.Any
Dict = typing.Dict