Module genshin.models.zzz.chronicle.stats
ZZZ data overview models.
Classes
class HIACoin (**data: Any)-
Expand source code
class HIACoin(APIModel): """HIACoin model.""" num: int name: str icon: str = Aliased("url")HIACoin model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var icon : strvar model_config : pydantic.config.ConfigDictvar name : strvar num : int
class ZZZBaseBangboo (**data: Any)-
Expand source code
class ZZZBaseBangboo(APIModel): """Base bangboo (buddy) model.""" id: int name: str rarity: typing.Literal["S", "A"] level: int star: int icon: str = pydantic.Field( validation_alias=pydantic.aliases.AliasChoices("bangboo_square_url", "bangboo_rectangle_url") )Base bangboo (buddy) model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var icon : strvar id : intvar level : intvar model_config : pydantic.config.ConfigDictvar name : strvar rarity : Literal['S', 'A']var star : int
class ZZZCatNote (**data: Any)-
Expand source code
class ZZZCatNote(APIModel): """ZZZ Cat note model.""" icon: str id: int is_lock: bool name: str num: int total: intZZZ Cat note model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var icon : strvar id : intvar is_lock : boolvar model_config : pydantic.config.ConfigDictvar name : strvar num : intvar total : int
class ZZZGameData (**data: Any)-
Expand source code
class ZZZGameData(APIModel): """ZZZ game data model.""" personal_title: str title_main_color: str title_bottom_color: str title_bg_url: str medal_icons: typing.Sequence[str] = Aliased("medal_list") card_url: str medals: typing.Sequence[ZZZMedal] = Aliased("all_medal_list")ZZZ game data model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var card_url : strvar medal_icons : Sequence[str]var medals : Sequence[ZZZMedal]var model_config : pydantic.config.ConfigDictvar personal_title : strvar title_bg_url : strvar title_bottom_color : strvar title_main_color : str
class ZZZMedal (**data: Any)-
Expand source code
class ZZZMedal(APIModel): """ZZZ player medal model.""" icon: str = Aliased("medal_icon") number: int id: int = Aliased("medal_id") type: str = Aliased("medal_type") name: str is_show: boolZZZ player medal model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var icon : strvar id : intvar is_show : boolvar model_config : pydantic.config.ConfigDictvar name : strvar number : intvar type : str
class ZZZStats (**data: Any)-
Expand source code
class ZZZStats(APIModel): """ZZZ data overview stats.""" active_days: int character_num: int = Aliased("avatar_num") inter_knot_reputation: str = Aliased("world_level_name") shiyu_defense_frontiers: int = Aliased("cur_period_zone_layer_count") bangboo_obtained: int = Aliased("buddy_num") achievement_count: int hia_coin: typing.Optional[HIACoin] = Aliased("commemorative_coins_list") @pydantic.field_validator("hia_coin", mode="before") def __unnest_hia_coin( cls, v: typing.List[typing.Dict[str, typing.Any]] ) -> typing.Optional[typing.Dict[str, typing.Any]]: return v[0] if v else NoneZZZ data overview stats.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var achievement_count : intvar active_days : intvar bangboo_obtained : intvar character_num : intvar hia_coin : HIACoin | Nonevar inter_knot_reputation : strvar model_config : pydantic.config.ConfigDictvar shiyu_defense_frontiers : int
class ZZZUserStats (**data: Any)-
Expand source code
class ZZZUserStats(APIModel): """Zenless Zone Zero user model.""" stats: ZZZStats agents: typing.Sequence[ZZZPartialAgent] = Aliased("avatar_list") bangboos: typing.Sequence[ZZZBaseBangboo] = Aliased("buddy_list") in_game_avatar: str = Aliased("cur_head_icon_url") cat_notes: typing.Sequence[ZZZCatNote] = Aliased("cat_notes_list") in_game_data: ZZZGameData = Aliased("game_data_show")Zenless Zone Zero user model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var agents : Sequence[ZZZPartialAgent]var bangboos : Sequence[ZZZBaseBangboo]var cat_notes : Sequence[ZZZCatNote]var in_game_avatar : strvar in_game_data : ZZZGameDatavar model_config : pydantic.config.ConfigDictvar stats : ZZZStats