Skip to content

Genshin Activity Calendar Models

act_calendar

Event calendar models.

Classes:

__all__ module-attribute

__all__ = ('AbyssDetail', 'Banner', 'BannerCharacter', 'BannerWeapon', 'DoubleRewardDetail', 'Event', 'EventExplorationDetail', 'EventReward', 'GenshinEventCalendar', 'TheaterDetail')

AbyssDetail pydantic-model

Spiral abyss detail.

Fields:

has_data pydantic-field

has_data: bool

max_star pydantic-field

max_star: int

total_star pydantic-field

total_star: int

unlocked pydantic-field

unlocked: bool

Banner pydantic-model

Banner model.

Fields:

characters pydantic-field

countdown_seconds pydantic-field

countdown_seconds: int

end_time pydantic-field

end_time: DateTime

end_timestamp pydantic-field

end_timestamp: int

id pydantic-field

id: int

jump_url pydantic-field

jump_url: str

name pydantic-field

name: str

pool_status pydantic-field

pool_status: int

start_time pydantic-field

start_time: DateTime

start_timestamp pydantic-field

start_timestamp: int

type pydantic-field

type: int

version pydantic-field

version: str

weapons pydantic-field

BannerCharacter pydantic-model

Banner character.

Fields:

element pydantic-field

element: str

icon pydantic-field

icon: str

id pydantic-field

id: int

name pydantic-field

name: str

rarity pydantic-field

rarity: Literal[4, 5]

BannerWeapon pydantic-model

Banner weapon.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: int

name pydantic-field

name: str

rarity pydantic-field

rarity: Literal[4, 5]

wiki_url pydantic-field

wiki_url: str

DoubleRewardDetail pydantic-model

Double reward detail.

Fields:

remaining pydantic-field

remaining: int

total pydantic-field

total: int

Event pydantic-model

Event model.

Fields:

Validators:

abyss_detail pydantic-field

abyss_detail: Optional[AbyssDetail] = None

countdown_seconds pydantic-field

countdown_seconds: int

description pydantic-field

description: str

double_reward_detail pydantic-field

double_reward_detail: Optional[DoubleRewardDetail] = None

end_time pydantic-field

end_time: Optional[DateTime] = None

end_timestamp pydantic-field

end_timestamp: int

exploration_detail pydantic-field

exploration_detail: Optional[EventExplorationDetail] = None

id pydantic-field

id: int

is_finished pydantic-field

is_finished: bool

name pydantic-field

name: str

rewards pydantic-field

start_time pydantic-field

start_time: Optional[DateTime] = None

start_timestamp pydantic-field

start_timestamp: int

status pydantic-field

status: int

strategy pydantic-field

strategy: str

theater_detail pydantic-field

theater_detail: Optional[TheaterDetail] = None

type pydantic-field

type: str

__format_description pydantic-validator

__format_description(v: str) -> str

EventExplorationDetail pydantic-model

Event exploration detail.

Fields:

explored_percentage pydantic-field

explored_percentage: float

is_finished pydantic-field

is_finished: bool

EventReward pydantic-model

Event reward model.

Fields:

homepage_show pydantic-field

homepage_show: bool

icon pydantic-field

icon: str

id pydantic-field

id: int

name pydantic-field

name: str

num pydantic-field

num: int

rarity pydantic-field

rarity: int

wiki_url pydantic-field

wiki_url: str

GenshinEventCalendar pydantic-model

Genshin event calendar.

Fields:

challenges pydantic-field

challenges: Sequence[Event]

character_banners pydantic-field

character_banners: Sequence[Banner]

chronicled_banners pydantic-field

chronicled_banners: Sequence[Banner]

events pydantic-field

events: Sequence[Event]

weapon_banners pydantic-field

weapon_banners: Sequence[Banner]

TheaterDetail pydantic-model

Imaginarium theater detail.

Fields:

has_data pydantic-field

has_data: bool

max_round pydantic-field

max_round: int

unlocked pydantic-field

unlocked: bool