ai_api_client_sdk.models.metric_label
index
/data/jenkins/workspace/ndation_ai-api-client-sdk_master/ai_api_client_sdk/models/metric_label.py

 
Classes
       
ai_api_client_sdk.models.base_models.NameValue(builtins.object)
MetricLabel

 
class MetricLabel(ai_api_client_sdk.models.base_models.NameValue)
    MetricLabel(name: str, value: str, **kwargs)
 
The MetricLabel object defines a metric label as a name-value pair. Refer to
:class:`ai_api_client_sdk.models.base_models.NameValue`, for the object definition
 
 
Method resolution order:
MetricLabel
ai_api_client_sdk.models.base_models.NameValue
builtins.object

Methods defined here:
to_dict(self)
Returns the attributes of the object as a dictionary
 
:return: A dict, including all the attributes of the object
:rtype: Dict[str, str]

Static methods defined here:
from_dict(metric_label_dict: Dict[str, str])
Returns a :class:`ai_api_client_sdk.models.metric_label.MetricLabel` object, created from the values in the
dict provided as parameter
 
:param metric_label_dict: Dict which includes the necessary values to create the object
:type metric_label_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.metric_label.MetricLabel`

Methods inherited from ai_api_client_sdk.models.base_models.NameValue:
__eq__(self, other)
Return self==value.
__init__(self, name: str, value: str, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors inherited from ai_api_client_sdk.models.base_models.NameValue:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from ai_api_client_sdk.models.base_models.NameValue:
__hash__ = None

 
Data
        Dict = typing.Dict