49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
# models.request
|
|
|
|
### *class* models.request.NoteRequest(, note: str)
|
|
|
|
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)
|
|
|
|
Bases: `BaseModel`
|
|
|
|
Модель для подключения к точке доступа Wi-Fi
|
|
|
|
Атрибуты:
|
|
: ssid (str): Название точки доступа Wi-Fi
|
|
password (str): Пароль точки доступа Wi-Fi
|
|
|
|
#### 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
|
|
|
|
Атрибуты:
|
|
: ssid (str): Название точки доступа Wi-Fi
|
|
|
|
#### model_config *: ClassVar[ConfigDict]* *= {}*
|
|
|
|
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
|
|
|
|
#### ssid *: str*
|