py-gidb/pygidb/types/enemies.py

19 lines
347 B
Python
Raw Normal View History

2023-11-12 22:44:51 +03:00
from typing import List, Optional
from pydantic import BaseModel
class RewardpreviewItem(BaseModel):
name: str
count: Optional[float] = None
rarity: Optional[str] = None
class Enemy(BaseModel):
name: str
specialname: str
enemytype: str
category: str
description: str
rewardpreview: List[RewardpreviewItem]