Module valolyticspy.dtos.valorant_api.gear

Expand source code
from pydantic import BaseModel
from valolyticspy.dtos.valorant_api.shop_data import ShopData

class Gear(BaseModel):
    """
    Represents a gear item in the Valorant API.

    Attributes:
        uuid (str): The unique identifier of the gear item.
        displayName (str): The display name of the gear item.
        description (str): The description of the gear item.
        displayIcon (str): The URL of the display icon for the gear item.
        assetPath (str): The path to the asset file for the gear item.
        shopData (ShopData): The shop data for the gear item.
    """
    uuid: str
    displayName: str
    description: str
    displayIcon: str
    assetPath: str
    shopData: ShopData

Classes

class Gear (**data: Any)

Represents a gear item in the Valorant API.

Attributes

uuid : str
The unique identifier of the gear item.
displayName : str
The display name of the gear item.
description : str
The description of the gear item.
displayIcon : str
The URL of the display icon for the gear item.
assetPath : str
The path to the asset file for the gear item.
shopData : ShopData
The shop data for the gear item.

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

    Attributes:
        uuid (str): The unique identifier of the gear item.
        displayName (str): The display name of the gear item.
        description (str): The description of the gear item.
        displayIcon (str): The URL of the display icon for the gear item.
        assetPath (str): The path to the asset file for the gear item.
        shopData (ShopData): The shop data for the gear item.
    """
    uuid: str
    displayName: str
    description: str
    displayIcon: str
    assetPath: str
    shopData: ShopData

Ancestors

  • pydantic.main.BaseModel

Class variables

var assetPath : str
var description : str
var displayIcon : str
var displayName : str
var model_computed_fields
var model_config
var model_fields
var shopDataShopData
var uuid : str