ai_api_client_sdk.models.label module

class ai_api_client_sdk.models.label.Label(key: str, value: str, **kwargs)

Bases: KeyValue

The Label object defines a label as a key-value pair. Refer to ai_api_client_sdk.models.base_models.KeyValue, for the object definition

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

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

Parameters:

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.label.Label