py-gidb/pygidb/types/adventureranks.py

17 lines
271 B
Python
Raw Normal View History

2023-11-12 22:44:51 +03:00
from typing import List, Optional
from pydantic import BaseModel
class RewardItem(BaseModel):
name: str
count: int
type: str
class AdventureRank(BaseModel):
name: str
exp: Optional[int] = 0
unlockdescription: str
reward: List[RewardItem]