MCPcopy Create free account
hub / github.com/Rushifakami/csfloat_api / StickerReference

Class StickerReference

models/stickers.py:4–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class StickerReference:
5 __slots__ = (
6 "_price",
7 "_quantity",
8 "_updated_at"
9 )
10
11 def __init__(self, *, data: Dict[str, Any]):
12 self._price = data.get("price", "")
13 self._quantity = data.get("quantity")
14 self._updated_at = data.get("updated_at")
15
16 @property
17 def price(self) -> Optional[float]:
18 return self._price
19
20 @property
21 def quantity(self) -> Optional[int]:
22 return self._quantity
23
24 @property
25 def updated_at(self) -> Optional[str]:
26 return self._updated_at
27
28
29class Sticker:

Callers 1

referenceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected