2022-04-27 12:14:58 -07:00
|
|
|
|
2024-07-28 15:21:51 -07:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
2022-04-27 12:14:58 -07:00
|
|
|
|
|
|
|
|
2023-11-29 00:39:14 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class Gateway(BaseModel):
|
|
|
|
"""Gateway information."""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2024-08-20 13:10:56 -04:00
|
|
|
auth_timeout: int = 0
|
2022-04-27 12:14:58 -07:00
|
|
|
|
2024-08-20 13:10:56 -04:00
|
|
|
host: str = ""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2024-08-20 13:10:56 -04:00
|
|
|
name: str = ""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2024-08-20 13:10:56 -04:00
|
|
|
port: int = 0
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2024-08-20 13:10:56 -04:00
|
|
|
tls_timeout: int = 0
|
2024-01-06 18:32:21 -08:00
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|