ai_api_client_sdk.models.deployment_query_response module

class ai_api_client_sdk.models.deployment_query_response.DeploymentQueryResponse(resources: List[Deployment], count: int, **kwargs)

Bases: QueryResponse

The DeploymentQueryResponse object defines the response of the deployment query request :param resources: List of the deployments returned from the server :type resources: List[class:ai_api_client_sdk.models.deployment.Deployment] :param count: Total number of the queried deployments :type count: int :param **kwargs: The keyword arguments are there in case there are additional attributes returned from server

__init__(resources: List[Deployment], count: int, **kwargs)
static from_dict(response_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.deployment_query_response.DeploymentQueryResponse 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_query_response.DeploymentQueryResponse