2025-10-14 16:11:12 +05:00
|
|
|
# models.request
|
|
|
|
|
|
|
|
|
|
### *class* models.request.NoteRequest(, note: str)
|
|
|
|
|
|
|
|
|
|
Bases: `BaseModel`
|
|
|
|
|
|
2025-10-21 10:51:32 +05:00
|
|
|
Модель запроса на добавление заметки к устройству.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
Атрибуты:
|
2025-10-21 10:51:32 +05:00
|
|
|
|
|
|
|
|
- `note` (str): Текст заметки.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
#### 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)
|
|
|
|
|
|
|
|
|
|
Bases: `BaseModel`
|
|
|
|
|
|
2025-10-21 10:51:32 +05:00
|
|
|
Модель запроса на подключение к Wi-Fi.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
Атрибуты:
|
2025-10-21 10:51:32 +05:00
|
|
|
|
|
|
|
|
- `ssid` (str): Название точки доступа.
|
|
|
|
|
- `password` (str): Пароль доступа.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
#### 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)
|
|
|
|
|
|
|
|
|
|
Bases: `BaseModel`
|
|
|
|
|
|
2025-10-21 10:51:32 +05:00
|
|
|
Модель запроса на отключение от Wi-Fi.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
Атрибуты:
|
2025-10-21 10:51:32 +05:00
|
|
|
|
|
|
|
|
- `ssid` (str): Название точки доступа.
|
2025-10-14 16:11:12 +05:00
|
|
|
|
|
|
|
|
#### model_config *: ClassVar[ConfigDict]* *= {}*
|
|
|
|
|
|
|
|
|
|
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
|
|
|
|
|
|
|
|
|
|
#### ssid *: str*
|