Module valolyticspy.dtos.valorant_api.content_tier
Expand source code
from pydantic import BaseModel
class ContentTier(BaseModel):
"""
Represents a content tier in the Valorant API.
Attributes:
uuid (str): The unique identifier of the content tier.
displayName (str): The display name of the content tier.
devName (str): The development name of the content tier.
rank (int): The rank of the content tier.
juiceValue (int): The juice value of the content tier.
juiceCost (int): The juice cost of the content tier.
highlightColor (str): The highlight color of the content tier.
displayIcon (str): The display icon of the content tier.
assetPath (str): The asset path of the content tier.
"""
uuid:str
displayName:str
devName:str
rank:int
juiceValue:int
juiceCost:int
highlightColor:str
displayIcon:str
assetPath:str
Classes
class ContentTier (**data: Any)-
Represents a content tier in the Valorant API.
Attributes
uuid:str- The unique identifier of the content tier.
displayName:str- The display name of the content tier.
devName:str- The development name of the content tier.
rank:int- The rank of the content tier.
juiceValue:int- The juice value of the content tier.
juiceCost:int- The juice cost of the content tier.
highlightColor:str- The highlight color of the content tier.
displayIcon:str- The display icon of the content tier.
assetPath:str- The asset path of the content tier.
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 ContentTier(BaseModel): """ Represents a content tier in the Valorant API. Attributes: uuid (str): The unique identifier of the content tier. displayName (str): The display name of the content tier. devName (str): The development name of the content tier. rank (int): The rank of the content tier. juiceValue (int): The juice value of the content tier. juiceCost (int): The juice cost of the content tier. highlightColor (str): The highlight color of the content tier. displayIcon (str): The display icon of the content tier. assetPath (str): The asset path of the content tier. """ uuid:str displayName:str devName:str rank:int juiceValue:int juiceCost:int highlightColor:str displayIcon:str assetPath:strAncestors
- pydantic.main.BaseModel
Class variables
var assetPath : strvar devName : strvar displayIcon : strvar displayName : strvar highlightColor : strvar juiceCost : intvar juiceValue : intvar model_computed_fieldsvar model_configvar model_fieldsvar rank : intvar uuid : str