Source code for wow.models.toy
1"""Models for the Toy API."""
2
3from wow.models._common import Document, IdRef, Ref, TypedName
4
5__all__ = ["Toy", "ToyIndex"]
6
7
12
13
[docs]
14class Toy(Document):
15 """A toy item that unlocks a toy-box entry."""
16
17 id: int
18 item: Ref
19 media: IdRef
20 source: TypedName
21 should_exclude_if_uncollected: bool
22 source_description: str | None = None