Moved DashboardAPIKey to its own file

This commit is contained in:
Donald Zou
2025-05-08 19:05:46 +08:00
parent f7bf709295
commit 8367cba259
2 changed files with 12 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
"""
Dashboard API Key
"""
class DashboardAPIKey:
def __init__(self, Key: str, CreatedAt: str, ExpiredAt: str):
self.Key = Key
self.CreatedAt = CreatedAt
self.ExpiredAt = ExpiredAt
def toJson(self):
return self.__dict__