| |
- builtins.object
-
- APIVersion
class APIVersion(builtins.object) |
|
APIVersion(version_id: str = None, url: str = None, description: str = None, **kwargs)
The APIVersion object represents the description of an API version
:param version_id: API version identifier, defaults to None
:type version_id: str, optional
:param url: URL of the API version, defaults to None
:type url: str, optional
:param description: API version description
:type description: str, 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, version_id: str = None, url: str = None, description: str = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(api_version_dict: Dict[str, str])
- Returns a :class:`ai_api_client_sdk.models.api_version.APIVersion` object, created from the
values in the dict provided as parameter
:param api_version_dict: Dict which includes the necessary values to create the object
:type api_version_dict: Dict[str, str]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.api_version.APIVersion`
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
| |