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.selfis explicitly positional-only to allowselfas 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:datetimeAncestors
- pydantic.main.BaseModel
Class variables
var branch : strvar buildDate : datetime.datetimevar buildVersion : strvar engineVersion : strvar manifestId : strvar model_computed_fieldsvar model_configvar model_fieldsvar riotClientBuild : strvar riotClientVersion : strvar version : str