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.selfis explicitly positional-only to allowselfas 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:strAncestors
- pydantic.main.BaseModel
Class variables
var assetPath : strvar displayIcon : strvar displayName : strvar displayNameSingular : strvar largeIcon : strvar model_computed_fieldsvar model_configvar model_fieldsvar uuid : str