mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 11:52:18 +00:00
10 lines
314 B
Python
10 lines
314 B
Python
|
from pydantic import BaseModel, Field
|
||
|
from typing import List
|
||
|
|
||
|
from .players import PlayerInfo
|
||
|
from .character import CharacterInfo
|
||
|
|
||
|
class EnkaNetworkResponse(BaseModel):
|
||
|
player: PlayerInfo = Field({}, alias="playerInfo")
|
||
|
characters: List[CharacterInfo] = Field([], alias="avatarInfoList")
|
||
|
ttl: int = 0
|