flatland.integrations.interactiveai.event_api.models.event_out module#
APIFlask
No description provided (generated by Openapi Generator openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0 Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class flatland.integrations.interactiveai.event_api.models.event_out.EventOut(*, criticality: Annotated[str, Strict(strict=True)] | None = None, data: MetadataSchemaRailway | None = None, description: Annotated[str, Strict(strict=True)] | None = None, end_date: datetime | None = None, id: Annotated[int, Strict(strict=True)] | None = None, id_event: Annotated[str, Strict(strict=True)] | None = None, is_active: Annotated[bool, Strict(strict=True)] | None = None, of_uid: Annotated[str, Strict(strict=True)] | None = None, parent_event_id: Annotated[str, Strict(strict=True)] | None = None, start_date: datetime | None = None, title: Annotated[str, Strict(strict=True)] | None = None, use_case: Annotated[str, Strict(strict=True)] | None = None)[source]#
Bases:
BaseModel
- criticality: StrictStr | None#
- data: MetadataSchemaRailway | None#
- description: StrictStr | None#
- end_date: datetime | None#
- classmethod from_dict(obj: Dict[str, Any] | None) Self | None [source]#
Create an instance of EventOut from a dict
- classmethod from_json(json_str: str) Self | None [source]#
Create an instance of EventOut from a JSON string
- id: StrictInt | None#
- id_event: StrictStr | None#
- is_active: StrictBool | None#
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- of_uid: StrictStr | None#
- parent_event_id: StrictStr | None#
- start_date: datetime | None#
- title: StrictStr | None#
- to_dict() Dict[str, Any] [source]#
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- use_case: StrictStr | None#