1.3 KiB
1.3 KiB
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): Название точки доступа.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)
Bases: BaseModel
Модель запроса на отключение от Wi-Fi.
Атрибуты:
ssid(str): Название точки доступа.
model_config : ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].