| |
- builtins.object
-
- DatasetCapabilities
class DatasetCapabilities(builtins.object) |
|
DatasetCapabilities(upload: bool = True, download: bool = True, delete: bool = True, **kwargs)
The DatasetCapabilities object represents the capabilities of the Dataset API
:param upload: indicates whether uploading files is supported, defaults to True
:type upload: bool, optional
:param download: indicates whether downloading files is supported, defaults to True
:type download: bool, optional
:param delete: indicates whether deleting files is supported, defaults to True
:type delete: bool, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __eq__(self, other)
- Return self==value.
- __init__(self, upload: bool = True, download: bool = True, delete: bool = True, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(dataset_capabilities_dict: Dict[str, bool])
- Returns a :class:`ai_api_client_sdk.models.dataset_capabilities.DatasetCapabilities` object, created from
the values in the dict provided as parameter
:param dataset_capabilities_dict: Dict which includes the necessary values to create the object
:type dataset_capabilities_dict: Dict[str, bool]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.dataset_capabilities.DatasetCapabilities`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- __hash__ = None
| |