skytracker.models.aircraft.AircraftPhoto#
- class skytracker.models.aircraft.AircraftPhoto(*, image_url: str, detail_url: str)#
Bases:
BaseModelAircraft photo information
Properties
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
URL to image of aircraft
URL to aircraft detail page
Methods
- __init__(**data: Any) None#
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- detail_url: str#
URL to aircraft detail page
- image_url: str#
URL to image of aircraft
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].