mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
Change artifactType to artifact_type
This commit is contained in:
parent
21b5b23ab9
commit
cfa2b51bd4
@ -39,17 +39,11 @@ class EquipmentsStats(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class EquipmentsDetail(BaseModel):
|
class EquipmentsDetail(BaseModel):
|
||||||
"""
|
|
||||||
API Response
|
|
||||||
"""
|
|
||||||
nameTextMapHash: str = ""
|
|
||||||
setnameTextMapHash: str = ""
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Custom data
|
Custom data
|
||||||
"""
|
"""
|
||||||
name: str = "" # Get from name hash map
|
name: str = "" # Get from name hash map
|
||||||
artifactType: EquipType = EquipType.Unknown # Type of artifact
|
artifact_type: EquipType = EquipType.Unknown # Type of artifact
|
||||||
icon: str = ""
|
icon: str = ""
|
||||||
rarity: int = Field(0, alias="rankLevel")
|
rarity: int = Field(0, alias="rankLevel")
|
||||||
mainstats: EquipmentsStats = Field(None, alias="reliquaryMainstat")
|
mainstats: EquipmentsStats = Field(None, alias="reliquaryMainstat")
|
||||||
|
Loading…
Reference in New Issue
Block a user