ai_api_client_sdk.models.metric_label module¶
- class ai_api_client_sdk.models.metric_label.MetricLabel(name: str, value: str, **kwargs)¶
Bases:
NameValueThe MetricLabel object defines a metric label as a name-value pair. Refer to
ai_api_client_sdk.models.base_models.NameValue, for the object definition- static from_dict(metric_label_dict: Dict[str, str])¶
Returns a
ai_api_client_sdk.models.metric_label.MetricLabelobject, created from the values in the dict provided as parameter- Parameters:
metric_label_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.metric_label.MetricLabel
- to_dict()¶
Returns the attributes of the object as a dictionary
- Returns:
A dict, including all the attributes of the object
- Return type:
Dict[str, str]