Module valolyticspy.dtos.valorant_api.version

Expand source code
from pydantic import BaseModel
from datetime import datetime

class Version(BaseModel):
    """
    Represents the version information for the Valorant API.

    Attributes:
        manifestId (str): The ID of the manifest.
        branch (str): The branch of the version.
        version (str): The version number.
        buildVersion (str): The build version.
        engineVersion (str): The engine version.
        riotClientVersion (str): The Riot client version.
        riotClientBuild (str): The Riot client build.
        buildDate (datetime): The date of the build.
    """
    manifestId:str
    branch:str
    version:str
    buildVersion:str
    engineVersion:str
    riotClientVersion:str
    riotClientBuild:str
    buildDate:datetime

Classes

class Version (**data: Any)

Represents the version information for the Valorant API.

Attributes

manifestId : str
The ID of the manifest.
branch : str
The branch of the version.
version : str
The version number.
buildVersion : str
The build version.
engineVersion : str
The engine version.
riotClientVersion : str
The Riot client version.
riotClientBuild : str
The Riot client build.
buildDate : datetime
The date of the build.

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 Version(BaseModel):
    """
    Represents the version information for the Valorant API.

    Attributes:
        manifestId (str): The ID of the manifest.
        branch (str): The branch of the version.
        version (str): The version number.
        buildVersion (str): The build version.
        engineVersion (str): The engine version.
        riotClientVersion (str): The Riot client version.
        riotClientBuild (str): The Riot client build.
        buildDate (datetime): The date of the build.
    """
    manifestId:str
    branch:str
    version:str
    buildVersion:str
    engineVersion:str
    riotClientVersion:str
    riotClientBuild:str
    buildDate:datetime

Ancestors

  • pydantic.main.BaseModel

Class variables

var branch : str
var buildDate : datetime.datetime
var buildVersion : str
var engineVersion : str
var manifestId : str
var model_computed_fields
var model_config
var model_fields
var riotClientBuild : str
var riotClientVersion : str
var version : str