Module valolyticspy.dtos.valorant_api.level_border
Expand source code
from pydantic import BaseModel
class LevelBorder(BaseModel):
"""
Represents a level border in the Valorant API.
Attributes:
uuid (str): The unique identifier of the level border.
displayName (str): The display name of the level border.
startingLevel (int): The starting level of the level border.
levelNumberAppearance (str): The appearance of the level number.
smallPlayerCardAppearance (str): The appearance of the small player card.
assetPath (str): The path to the asset of the level border.
"""
uuid: str
displayName: str
startingLevel: int
levelNumberAppearance: str
smallPlayerCardAppearance: str
assetPath: str
Classes
class LevelBorder (**data: Any)-
Represents a level border in the Valorant API.
Attributes
uuid:str- The unique identifier of the level border.
displayName:str- The display name of the level border.
startingLevel:int- The starting level of the level border.
levelNumberAppearance:str- The appearance of the level number.
smallPlayerCardAppearance:str- The appearance of the small player card.
assetPath:str- The path to the asset of the level border.
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 LevelBorder(BaseModel): """ Represents a level border in the Valorant API. Attributes: uuid (str): The unique identifier of the level border. displayName (str): The display name of the level border. startingLevel (int): The starting level of the level border. levelNumberAppearance (str): The appearance of the level number. smallPlayerCardAppearance (str): The appearance of the small player card. assetPath (str): The path to the asset of the level border. """ uuid: str displayName: str startingLevel: int levelNumberAppearance: str smallPlayerCardAppearance: str assetPath: strAncestors
- pydantic.main.BaseModel
Class variables
var assetPath : strvar displayName : strvar levelNumberAppearance : strvar model_computed_fieldsvar model_configvar model_fieldsvar smallPlayerCardAppearance : strvar startingLevel : intvar uuid : str