ai_api_client_sdk.models.version module

class ai_api_client_sdk.models.version.Version(id: str, scenario_id: str, created_at: datetime, modified_at: datetime, description: str = None, **kwargs)

Bases: object

The Version object defines a scenario :param id: ID of the version :type id: str :param scenario_id: ID of the scenario the version belongs to :type scenario_id: str :param created_at: Time when the scenario was created :type created_at: datetime :param modified_at: Time when the scenario was last modified :type modified_at: datetime :param description: Description of the scenario, defaults to None :type description: str, optional :param **kwargs: The keyword arguments are there in case there are additional attributes returned from server

__init__(id: str, scenario_id: str, created_at: datetime, modified_at: datetime, description: str = None, **kwargs)
static from_dict(version_dict: Dict[str, Any])

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

Parameters:

version_dict (Dict[str, Any]) – 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.version.Version