| |
- builtins.object
-
- Capabilities
class Capabilities(builtins.object) |
|
Capabilities(ai_api: ai_api_client_sdk.models.ai_api_meta.AIAPIMeta, runtime_identifier: str = None, runtime_api_version: str = None, description: str = None, extensions: ai_api_client_sdk.models.extensions.Extensions = None, **kwargs)
The Capabilities object represents the metadata and capabilities of, and extensions to the AI API
:param ai_api: Metadata and capabilities of the AI API
:type ai_api: class:`ai_api_client_sdk.models.ai_api_meta.AIAPIMeta`
:param runtime_identifier: The name of runtime, defaults to None
:type runtime_identifier: str, optional
:param runtime_api_version: The version of the runtime, defaults to None
:type runtime_api_version: str, optional
:param description: description, defaults to None
:type description: str, optional
:param extensions: Extensions to the AI API, defaults to None
:type extensions: class:`ai_api_client_sdk.models.extensions.Extensions`, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, ai_api: ai_api_client_sdk.models.ai_api_meta.AIAPIMeta, runtime_identifier: str = None, runtime_api_version: str = None, description: str = None, extensions: ai_api_client_sdk.models.extensions.Extensions = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(capabilities_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.capabilities.Capabilities` object, created
from the values in the dict provided as parameter
:param capabilities_dict: Dict which includes the necessary values to create the object
:type capabilities_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.capabilities.Capabilities`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |