Module valolyticspy.dtos.riot.account
Expand source code
from pydantic import BaseModel
class AccountDto(BaseModel):
"""
Represents an account in the game.
Attributes:
puuid (str): The unique identifier for the account.
gameName (str): The in-game name of the account.
tagLine (str): The tagline associated with the account.
"""
puuid: str
gameName: str
tagLine: str
Classes
class AccountDto (**data: Any)-
Represents an account in the game.
Attributes
puuid:str- The unique identifier for the account.
gameName:str- The in-game name of the account.
tagLine:str- The tagline associated with the account.
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.Expand source code
class AccountDto(BaseModel): """ Represents an account in the game. Attributes: puuid (str): The unique identifier for the account. gameName (str): The in-game name of the account. tagLine (str): The tagline associated with the account. """ puuid: str gameName: str tagLine: strAncestors
- pydantic.main.BaseModel
Class variables
var gameName : strvar model_computed_fieldsvar model_configvar model_fieldsvar puuid : strvar tagLine : str