ai_api_client_sdk.models.deployment_create_response module

class ai_api_client_sdk.models.deployment_create_response.DeploymentCreateResponse(id: str, message: str, deployment_url: str, status: Status, ttl: str = None, **kwargs)

Bases: BasicResponse

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

__init__(id: str, message: str, deployment_url: str, status: Status, ttl: str = None, **kwargs)
static from_dict(response_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.deployment_create_response.DeploymentCreateResponse object, created from the values in the dict provided as parameter

Parameters:

response_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.deployment_create_response.DeploymentCreateResponse