ai_api_client_sdk.models.metrics_query_response module¶
- class ai_api_client_sdk.models.metrics_query_response.MetricsQueryResponse(resources: List[MetricResource], count: int, **kwargs)¶
Bases:
QueryResponseThe MetricsQueryResponse object defines the response of the metrics query request :param resources: List of the metrics returned from the server :type resources: List[class:ai_api_client_sdk.models.metrics_resource.MetricResource] :param count: Total number of the queried metrics :type count: int :param **kwargs: The keyword arguments are there in case there are additional attributes returned from server
- __init__(resources: List[MetricResource], count: int, **kwargs)¶
- static from_dict(response_dict: Dict[str, Any])¶
Returns a
ai_api_client_sdk.models.metrics_query_response.MetricsQueryResponseobject, 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.metrics_query_response.MetricsQueryResponse