ai_api_client_sdk.models.api_version module

class ai_api_client_sdk.models.api_version.APIVersion(version_id: str = None, url: str = None, description: str = None, **kwargs)

Bases: object

The APIVersion object represents the description of an API version

Parameters:
  • version_id (str, optional) – API version identifier, defaults to None

  • url (str, optional) – URL of the API version, defaults to None

  • description (str, optional) – API version description

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

__init__(version_id: str = None, url: str = None, description: str = None, **kwargs)
static from_dict(api_version_dict: Dict[str, str])

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

Parameters:

api_version_dict (Dict[str, str]) – 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.api_version.APIVersion