summaryrefslogtreecommitdiff
path: root/ATRI/plugins/console/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/console/models.py')
-rw-r--r--ATRI/plugins/console/models.py27
1 files changed, 2 insertions, 25 deletions
diff --git a/ATRI/plugins/console/models.py b/ATRI/plugins/console/models.py
index 92371f8..f7ddf8d 100644
--- a/ATRI/plugins/console/models.py
+++ b/ATRI/plugins/console/models.py
@@ -3,23 +3,8 @@ from pydantic import BaseModel
class AuthData(BaseModel):
token: str
- dead_time: float
-
-
-class PlatformRuntimeInfo(BaseModel):
- stat_msg: str
- cpu_percent: str
- mem_percent: str
- disk_percent: str
- inte_send: str
- inte_recv: str
- boot_time: str
-
-
-class BotRuntimeInfo(BaseModel):
- cpu_percent: str
- mem_percent: str
- bot_run_time: str
+ md5: str
+ dead_time: int
class MessageDealerInfo(BaseModel):
@@ -29,11 +14,3 @@ class MessageDealerInfo(BaseModel):
total_r_m: str
total_d_m: str
total_f_m: str
-
-
-class ServiceInfo(BaseModel):
- service_name: str
- service_docs: str
- is_enabled: bool
- disable_user: list
- disable_group: list