Module genshin.models.hoyolab.private
Private and confidential models.
All models will lack private data by design.
Classes
class AccountInfo (**data: Any)
-
Account info.
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 AccountInfo(APIModel): """Account info.""" account_id: int account_name: str weblogin_token: str @property def login_ticket(self) -> str: return self.weblogin_token
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var account_id : int
var account_name : str
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var weblogin_token : str
Instance variables
prop login_ticket : str
-
Expand source code
@property def login_ticket(self) -> str: return self.weblogin_token