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.

self is explicitly positional-only to allow self as 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:str

Ancestors

  • pydantic.main.BaseModel

Class variables

var assetPath : str
var devName : str
var displayIcon : str
var displayName : str
var highlightColor : str
var juiceCost : int
var juiceValue : int
var model_computed_fields
var model_config
var model_fields
var rank : int
var uuid : str