Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.47 KB

File metadata and controls

37 lines (28 loc) · 1.47 KB

MenuItemList

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[MenuItem] 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.menu_item_list import MenuItemList

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

# convert the object into a dict
menu_item_list_dict = menu_item_list_instance.to_dict()
# create an instance of MenuItemList from a dict
menu_item_list_from_dict = MenuItemList.from_dict(menu_item_list_dict)

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