| |
- ai_api_client_sdk.models.base_models.BasicResponse(builtins.object)
-
- DeploymentCreateResponse
class DeploymentCreateResponse(ai_api_client_sdk.models.base_models.BasicResponse) |
|
DeploymentCreateResponse(id: str, message: str, deployment_url: str, status: ai_api_client_sdk.models.status.Status, ttl: str = None, **kwargs)
The DeploymentCreateResponse object defines the response of the deployment create query
:param id: ID of the deployment
:type id: str
:param message: Response message from the server
:type message: str
:param deployment_url: URL of the running deployment
:type deployment_url: str
:param status: Status of the deployment
:type status: class:`ai_api_client_sdk.models.status.Status`
:param ttl: Time to live for deployment
:type ttl: str, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
- Method resolution order:
- DeploymentCreateResponse
- ai_api_client_sdk.models.base_models.BasicResponse
- builtins.object
Methods defined here:
- __init__(self, id: str, message: str, deployment_url: str, status: ai_api_client_sdk.models.status.Status, ttl: str = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(response_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.deployment_create_response.DeploymentCreateResponse` object,
created from the values in the dict provided as parameter
:param response_dict: Dict which includes the necessary values to create the object
:type response_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.deployment_create_response.DeploymentCreateResponse`
Methods inherited from ai_api_client_sdk.models.base_models.BasicResponse:
- __str__(self)
- Return str(self).
Data descriptors inherited from ai_api_client_sdk.models.base_models.BasicResponse:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |