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.

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

Ancestors

  • pydantic.main.BaseModel

Class variables

var activeShard : str
var game : str
var model_computed_fields
var model_config
var model_fields
var puuid : str