summaryrefslogtreecommitdiff
path: root/ATRI/plugins/console/driver/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/console/driver/models.py')
-rw-r--r--ATRI/plugins/console/driver/models.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/ATRI/plugins/console/driver/models.py b/ATRI/plugins/console/driver/models.py
deleted file mode 100644
index cbc110d..0000000
--- a/ATRI/plugins/console/driver/models.py
+++ /dev/null
@@ -1,38 +0,0 @@
-from pydantic import BaseModel
-
-
-class PlatformRuntimeInfo(BaseModel):
- cpu_percent: str
- mem_percent: str
- disk_percent: str
- net_sent: str
- net_recv: str
- boot_time: str
-
-
-class BotRuntimeInfo(BaseModel):
- cpu_percent: str
- mem_percent: str
- run_time: str
-
-
-class RuntimeInfo(BaseModel):
- status_message: str
- platform_info: PlatformRuntimeInfo
- bot_info: BotRuntimeInfo
-
-
-class ServiceInfo(BaseModel):
- service: str
- docs: str
- permission: list
- cmd_list: dict
- enabled: bool
- only_admin: bool
- disable_user: list
- disable_group: list
-
-
-class BlockInfo(BaseModel):
- user: dict
- group: dict