ai_api_client_sdk.models.model_query_response module

class ai_api_client_sdk.models.model_query_response.ModelQueryResponse(resources: List[Model], count: int, **kwargs)

Bases: QueryResponse

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

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

Returns a ai_api_client_sdk.models.executable_query_response.ModelQueryResponse 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.executable_query_response.ModelQueryResponse