| |
- builtins.object
-
- Scenario
class Scenario(builtins.object) |
|
Scenario(id: str, created_at: datetime.datetime, modified_at: datetime.datetime, name: str, description: str = None, labels: List[ai_api_client_sdk.models.label.Label] = None, **kwargs)
The Scenario object defines a scenario
:param id: ID of the scenario
:type 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 name: Name of the scenario
:type name: str
:param description: Description of the scenario, defaults to None
:type description: str, optional
:param labels: List of the labels of the scenario, defaults to None
:type labels: List[class:`ai_api_client_sdk.models.label.Label`]
: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, id: str, created_at: datetime.datetime, modified_at: datetime.datetime, name: str, description: str = None, labels: List[ai_api_client_sdk.models.label.Label] = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(scenario_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.scenario.Scenario` object, created from the values in the dict
provided as parameter
:param scenario_dict: Dict which includes the necessary values to create the object
:type scenario_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.scenario.Scenario`
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
| |