ai_api_client_sdk.models.dataset_capabilities module

class ai_api_client_sdk.models.dataset_capabilities.DatasetCapabilities(upload: bool = True, download: bool = True, delete: bool = True, **kwargs)

Bases: object

The DatasetCapabilities object represents the capabilities of the Dataset API

Parameters:
  • upload (bool, optional) – indicates whether uploading files is supported, defaults to True

  • download (bool, optional) – indicates whether downloading files is supported, defaults to True

  • delete (bool, optional) – indicates whether deleting files is supported, defaults to True

  • **kwargs – The keyword arguments are there in case there are additional attributes returned from server

__init__(upload: bool = True, download: bool = True, delete: bool = True, **kwargs)
static from_dict(dataset_capabilities_dict: Dict[str, bool])

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

Parameters:

dataset_capabilities_dict (Dict[str, bool]) – 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.dataset_capabilities.DatasetCapabilities