Module valolyticspy.dtos.valorant_api.currency

Expand source code
from pydantic import BaseModel

class Currency(BaseModel):
    """
    Represents a currency in the Valorant API.

    Attributes:
        uuid (str): The unique identifier of the currency.
        displayName (str): The display name of the currency.
        displayNameSingular (str): The singular form of the display name of the currency.
        displayIcon (str): The display icon of the currency.
        largeIcon (str): The large icon of the currency.
        assetPath (str): The asset path of the currency.
    """
    uuid:str
    displayName:str
    displayNameSingular:str
    displayIcon:str
    largeIcon:str
    assetPath:str

Classes

class Currency (**data: Any)

Represents a currency in the Valorant API.

Attributes

uuid : str
The unique identifier of the currency.
displayName : str
The display name of the currency.
displayNameSingular : str
The singular form of the display name of the currency.
displayIcon : str
The display icon of the currency.
largeIcon : str
The large icon of the currency.
assetPath : str
The asset path of the currency.

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 Currency(BaseModel):
    """
    Represents a currency in the Valorant API.

    Attributes:
        uuid (str): The unique identifier of the currency.
        displayName (str): The display name of the currency.
        displayNameSingular (str): The singular form of the display name of the currency.
        displayIcon (str): The display icon of the currency.
        largeIcon (str): The large icon of the currency.
        assetPath (str): The asset path of the currency.
    """
    uuid:str
    displayName:str
    displayNameSingular:str
    displayIcon:str
    largeIcon:str
    assetPath:str

Ancestors

  • pydantic.main.BaseModel

Class variables

var assetPath : str
var displayIcon : str
var displayName : str
var displayNameSingular : str
var largeIcon : str
var model_computed_fields
var model_config
var model_fields
var uuid : str