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.

self is explicitly positional-only to allow self as 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: str

Ancestors

  • pydantic.main.BaseModel

Class variables

var gameName : str
var model_computed_fields
var model_config
var model_fields
var puuid : str
var tagLine : str