Module genshin.models.zzz.chronicle.month_info
Classes
class IncomeData (**data: Any)
-
Income 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 allowself
as a field name.Expand source code
class IncomeData(APIModel): """Income model.""" currencies: typing.Sequence[ZZZIncomeCurrency] = Aliased("list") polychrome_incomes: typing.Sequence[PolychromeIncome] = Aliased("income_components")
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var currencies : Sequence[ZZZIncomeCurrency]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var polychrome_incomes : Sequence[PolychromeIncome]
class PolychromeIncome (**data: Any)
-
Polychrome income 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 allowself
as a field name.Expand source code
class PolychromeIncome(APIModel): """Polychrome income model.""" source: PolychromeIncomeType = Aliased("action") num: int percent: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var num : int
var percent : int
var source : PolychromeIncomeType
class PolychromeIncomeType (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Polychrome income type enum.
Expand source code
class PolychromeIncomeType(Enum): """Polychrome income type enum.""" DAILY = "daily_activity_rewards" DEVELOPMENT = "growth_rewards" SHIYU_DEFENSE = "shiyu_rewards" MAIL = "mail_rewards" HOLLOW_ZERO = "hollow_rewards" EVENT = "event_rewards" OTHER = "other_rewards"
Ancestors
- enum.Enum
Class variables
var DAILY
var DEVELOPMENT
var EVENT
var HOLLOW_ZERO
var MAIL
var OTHER
var SHIYU_DEFENSE
class ZZZCurrencyType (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
Currency type enum.
Expand source code
class ZZZCurrencyType(Enum): """Currency type enum.""" POLYCHROME = "PolychromesData" MASTER_TAPE = "MatserTapeData" BOOPONS = "BooponsData"
Ancestors
- enum.Enum
Class variables
var BOOPONS
var MASTER_TAPE
var POLYCHROME
class ZZZDiary (**data: Any)
-
ZZZ monthly earnings 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 allowself
as a field name.Expand source code
class ZZZDiary(APIModel): """ZZZ monthly earnings model.""" uid: int region: str current_month: str data_month: str income: IncomeData = Aliased("month_data") month_options: typing.Sequence[str] = Aliased("optional_month") player: ZZZDiaryPlayerInfo = Aliased("role_info")
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var current_month : str
var data_month : str
var income : IncomeData
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var month_options : Sequence[str]
var player : ZZZDiaryPlayerInfo
var region : str
var uid : int
class ZZZDiaryDetail (**data: Any)
-
ZZZ monthly earning detail 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 allowself
as a field name.Expand source code
class ZZZDiaryDetail(APIModel): """ZZZ monthly earning detail model.""" uid: int region: str data_month: str current_page: int total: int items: typing.Sequence[ZZZDiaryDetailItem] = Aliased("list") currency_name: str = Aliased("data_name") currency_type: ZZZCurrencyType = Aliased("data_type")
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var currency_name : str
var currency_type : ZZZCurrencyType
var current_page : int
var data_month : str
var items : Sequence[ZZZDiaryDetailItem]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var region : str
var total : int
var uid : int
class ZZZDiaryDetailItem (**data: Any)
-
ZZZ monthly earning detail item 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 allowself
as a field name.Expand source code
class ZZZDiaryDetailItem(APIModel): """ZZZ monthly earning detail item model.""" id: str source: PolychromeIncomeType = Aliased("action") time: DateTimeField num: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var id : str
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var num : int
var source : PolychromeIncomeType
var time : datetime.datetime
class ZZZDiaryPlayerInfo (**data: Any)
-
Player info 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 allowself
as a field name.Expand source code
class ZZZDiaryPlayerInfo(APIModel): """Player info model.""" nickname: str avatar_url: str = Aliased("avatar")
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var avatar_url : str
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var nickname : str
class ZZZIncomeCurrency (**data: Any)
-
Currency 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 allowself
as a field name.Expand source code
class ZZZIncomeCurrency(APIModel): """Currency model.""" type: ZZZCurrencyType = Aliased("data_type") num: int = Aliased("count") name: str = Aliased("data_name")
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
var num : int
var type : ZZZCurrencyType