ai_api_client_sdk.models.metric_tag module

class ai_api_client_sdk.models.metric_tag.MetricTag(name: str, value: str, **kwargs)

Bases: NameValue

The MetricTag object defines a tag as a name-value pair. Refer to ai_api_client_sdk.models.base_models.NameValue, for the object definition

static from_dict(metric_tag_dict: Dict[str, str])

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

Parameters:

metric_tag_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_tag.MetricTag