| |
- ai_api_client_sdk.models.base_models.KeyValue(builtins.object)
-
- Label
class Label(ai_api_client_sdk.models.base_models.KeyValue) |
|
Label(key: str, value: str, **kwargs)
The Label object defines a label as a key-value pair. Refer to
:class:`ai_api_client_sdk.models.base_models.KeyValue`, for the object definition |
|
- Method resolution order:
- Label
- ai_api_client_sdk.models.base_models.KeyValue
- builtins.object
Static methods defined here:
- from_dict(label_dict: Dict[str, str])
- Returns a :class:`ai_api_client_sdk.models.label.Label` object, created from the values in the dict provided
as parameter
:param label_dict: Dict which includes the necessary values to create the object
:type label_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.label.Label`
Methods inherited from ai_api_client_sdk.models.base_models.KeyValue:
- __eq__(self, other)
- Return self==value.
- __init__(self, key: str, value: str, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- to_dict(self)
Data descriptors inherited from ai_api_client_sdk.models.base_models.KeyValue:
- __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.KeyValue:
- __hash__ = None
| |