Module valolyticspy.dtos.riot.active_shard
Expand source code
from pydantic import BaseModel
class ActiveShardDto(BaseModel):
"""
Represents the data transfer object for an active shard.
Attributes:
puuid (str): The unique identifier for the player.
game (str): The game name.
activeShard (str): The active shard name.
"""
puuid: str
game: str
activeShard: str
Classes
class ActiveShardDto (**data: Any)-
Represents the data transfer object for an active shard.
Attributes
puuid:str- The unique identifier for the player.
game:str- The game name.
activeShard:str- The active shard name.
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 ActiveShardDto(BaseModel): """ Represents the data transfer object for an active shard. Attributes: puuid (str): The unique identifier for the player. game (str): The game name. activeShard (str): The active shard name. """ puuid: str game: str activeShard: strAncestors
- pydantic.main.BaseModel
Class variables
var activeShard : strvar game : strvar model_computed_fieldsvar model_configvar model_fieldsvar puuid : str