Module valolyticspy.dtos.valorant_api.bundle
Expand source code
from pydantic import BaseModel
from typing import Optional
class Bundle(BaseModel):
"""
Represents a bundle in the Valorant API.
Attributes:
uuid (str): The unique identifier of the bundle.
displayName (str): The display name of the bundle.
displayNameSubText (str, optional): The subtext of the display name, if available.
description (str): The description of the bundle.
extraDescription (str, optional): An additional description of the bundle, if available.
promoDescription (str, optional): The promotional description of the bundle, if available.
useAdditionalContext (bool): Indicates whether additional context is used for the bundle.
displayIcon (str): The URL of the display icon for the bundle.
displayIcon2 (str): The URL of the secondary display icon for the bundle.
verticalPromoImage (str, optional): The URL of the vertical promotional image for the bundle, if available.
assetPath (str): The path to the asset for the bundle.
"""
uuid: str
displayName: str
displayNameSubText: Optional[str] = None
description: str
extraDescription: Optional[str] = None
promoDescription: Optional[str] = None
useAdditionalContext: bool
displayIcon: str
displayIcon2: str
verticalPromoImage: Optional[str] = None
assetPath: str
Classes
class Bundle (**data: Any)-
Represents a bundle in the Valorant API.
Attributes
uuid:str- The unique identifier of the bundle.
displayName:str- The display name of the bundle.
displayNameSubText:str, optional- The subtext of the display name, if available.
description:str- The description of the bundle.
extraDescription:str, optional- An additional description of the bundle, if available.
promoDescription:str, optional- The promotional description of the bundle, if available.
useAdditionalContext:bool- Indicates whether additional context is used for the bundle.
displayIcon:str- The URL of the display icon for the bundle.
displayIcon2:str- The URL of the secondary display icon for the bundle.
verticalPromoImage:str, optional- The URL of the vertical promotional image for the bundle, if available.
assetPath:str- The path to the asset for the bundle.
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 Bundle(BaseModel): """ Represents a bundle in the Valorant API. Attributes: uuid (str): The unique identifier of the bundle. displayName (str): The display name of the bundle. displayNameSubText (str, optional): The subtext of the display name, if available. description (str): The description of the bundle. extraDescription (str, optional): An additional description of the bundle, if available. promoDescription (str, optional): The promotional description of the bundle, if available. useAdditionalContext (bool): Indicates whether additional context is used for the bundle. displayIcon (str): The URL of the display icon for the bundle. displayIcon2 (str): The URL of the secondary display icon for the bundle. verticalPromoImage (str, optional): The URL of the vertical promotional image for the bundle, if available. assetPath (str): The path to the asset for the bundle. """ uuid: str displayName: str displayNameSubText: Optional[str] = None description: str extraDescription: Optional[str] = None promoDescription: Optional[str] = None useAdditionalContext: bool displayIcon: str displayIcon2: str verticalPromoImage: Optional[str] = None assetPath: strAncestors
- pydantic.main.BaseModel
Class variables
var assetPath : strvar description : strvar displayIcon : strvar displayIcon2 : strvar displayName : strvar displayNameSubText : Optional[str]var extraDescription : Optional[str]var model_computed_fieldsvar model_configvar model_fieldsvar promoDescription : Optional[str]var useAdditionalContext : boolvar uuid : strvar verticalPromoImage : Optional[str]