Module genshin.models.zzz.chronicle.challenge.common

ZZZ challenge models shared between game modes.

Classes

class ChallengeBangboo (**data: Any)
Expand source code
class ChallengeBangboo(APIModel):
    """Shiyu Defense bangboo model."""

    id: int
    rarity: typing.Literal["S", "A"]
    level: int
    icon: str = Aliased("bangboo_rectangle_url")

Shiyu Defense bangboo 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.

self is explicitly positional-only to allow self as a field name.

Ancestors

Subclasses

Class variables

var icon : str
var id : int
var level : int
var model_config : pydantic.config.ConfigDict
var rarity : Literal['S', 'A']