models.request¶
- class models.request.NoteRequest(*, note: str)[source]
Bases:
BaseModelМодель запроса на добавление заметки к устройству.
Атрибуты:
note(str): Текст заметки.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- note: str
- class models.request.WifiConnectRequest(*, ssid: str, password: str)[source]
Bases:
BaseModelМодель запроса на подключение к Wi-Fi.
Атрибуты:
ssid(str): Название точки доступа.password(str): Пароль доступа.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- password: str
- ssid: str
- class models.request.WifiDisconnectRequest(*, ssid: str)[source]
Bases:
BaseModelМодель запроса на отключение от Wi-Fi.
Атрибуты:
ssid(str): Название точки доступа.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- ssid: str