Module genshin.models.hoyolab.private
Private and confidential models.
All models will lack private data by design.
Classes
class AccountInfo (**data: Any)-
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_tokenAccount 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.selfis explicitly positional-only to allowselfas a field name.Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var account_id : intvar account_name : strvar model_config : pydantic.config.ConfigDictvar weblogin_token : str
Instance variables
prop login_ticket : str-
Expand source code
@property def login_ticket(self) -> str: return self.weblogin_token