Skip to main content

PageTool

Description: PageTool

Attributes

NameTypeDescription
itemsList[Tool]
totalOptional[Annotated[int, Field(strict=True, ge=0)]]
pageOptional[Annotated[int, Field(strict=True, ge=1)]]
sizeOptional[Annotated[int, Field(strict=True, ge=1)]]
pagesOptional[Annotated[int, Field(strict=True, ge=0)]]

Methods

NameDescription
to_strReturns the string representation of the model using alias
to_jsonReturns the JSON representation of the model using alias
from_jsonCreate an instance of PageTool from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of PageTool from a dict