Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.42 KB

File metadata and controls

37 lines (28 loc) · 1.42 KB

ThemeList

Properties

Name Type Description Notes
first bool Indicates whether current page is the first page.
has_next bool Indicates whether current page has previous page.
has_previous bool Indicates whether current page has previous page.
items List[Theme] A chunk of items.
last bool Indicates whether current page is the last page.
page int Page number, starts from 1. If not set or equal to 0, it means no pagination.
size int Size of each page. If not set or equal to 0, it means no pagination.
total int Total elements.
total_pages int Indicates total pages.

Example

from halo_client.models.theme_list import ThemeList

# TODO update the JSON string below
json = "{}"
# create an instance of ThemeList from a JSON string
theme_list_instance = ThemeList.from_json(json)
# print the JSON string representation of the object
print(ThemeList.to_json())

# convert the object into a dict
theme_list_dict = theme_list_instance.to_dict()
# create an instance of ThemeList from a dict
theme_list_from_dict = ThemeList.from_dict(theme_list_dict)

[Back to Model list] [Back to API list] [Back to README]