Book Models
book
Classes:
-
Book–Represents a book summary.
-
BookDetail–Represents detailed information about a book, including its volumes.
-
BookVolume–Represents a single volume or chapter within a book.
Book
pydantic-model
Represents a book summary.
Attributes:
-
id(int) –The unique ID of the book.
-
name(str) –The name or title of the book.
-
rarity(int) –The rarity rank of the book item.
-
icon(str) –The icon URL for the book item.
-
route(str) –The route identifier for the book.
Fields:
Validators:
-
_convert_icon_url→icon
BookDetail
pydantic-model
Represents detailed information about a book, including its volumes.
Attributes:
-
id(int) –The unique ID of the book.
-
name(str) –The name or title of the book.
-
rarity(int) –The rarity rank of the book item.
-
icon(str) –The icon URL for the book item.
-
volumes(list[BookVolume]) –A list of volumes contained within the book.
Fields:
Validators:
-
_convert_icon_url→icon