| |
- builtins.object
-
- Version
class Version(builtins.object) |
|
Version(id: str, scenario_id: str, created_at: datetime.datetime, modified_at: datetime.datetime, description: str = None, **kwargs)
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 |
|
Methods defined here:
- __init__(self, id: str, scenario_id: str, created_at: datetime.datetime, modified_at: datetime.datetime, description: str = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(version_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.version.Version` object, created from the values in the dict
provided as parameter
:param version_dict: Dict which includes the necessary values to create the object
:type version_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.version.Version`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |