summaryrefslogtreecommitdiff
path: root/ATRI/plugins/status/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/status/models.py')
-rw-r--r--ATRI/plugins/status/models.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/ATRI/plugins/status/models.py b/ATRI/plugins/status/models.py
new file mode 100644
index 0000000..9026b2d
--- /dev/null
+++ b/ATRI/plugins/status/models.py
@@ -0,0 +1,32 @@
+from pydantic import BaseModel
+
+
+class ForAuthData(BaseModel):
+ ip: str
+ port: str
+ token: str
+
+
+class PlatfromRuntimeInfo(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
+
+
+class MessageDealerInfo(BaseModel):
+ recv_msg: str
+ deal_msg: str
+ failed_deal_msg: str
+ total_r_m: str
+ total_d_m: str
+ total_f_m: str