Module valolyticspy.dtos.riot.recent_matches

Expand source code
from pydantic import BaseModel
from typing import List

class RecentMatchesDto(BaseModel):
    """
    Represents a data transfer object for recent matches.

    Attributes:
        currentTime (str): The current time.
        matchIds (List[str]): A list of match IDs.
    """
    currentTime: str
    matchIds: List[str]

Classes

class RecentMatchesDto (**data: Any)

Represents a data transfer object for recent matches.

Attributes

currentTime : str
The current time.
matchIds : List[str]
A list of match IDs.

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 RecentMatchesDto(BaseModel):
    """
    Represents a data transfer object for recent matches.

    Attributes:
        currentTime (str): The current time.
        matchIds (List[str]): A list of match IDs.
    """
    currentTime: str
    matchIds: List[str]

Ancestors

  • pydantic.main.BaseModel

Class variables

var currentTime : str
var matchIds : List[str]
var model_computed_fields
var model_config
var model_fields