gonets/SRV/docs/_build/markdown/api/models/request.md

53 lines
1.3 KiB
Markdown
Raw Normal View History

2025-10-14 16:11:12 +05:00
# models.request
### *class* models.request.NoteRequest(, note: str)
Bases: `BaseModel`
Модель запроса на добавление заметки к устройству.
2025-10-14 16:11:12 +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`
Модель запроса на подключение к Wi-Fi.
2025-10-14 16:11:12 +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`
Модель запроса на отключение от Wi-Fi.
2025-10-14 16:11:12 +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*