MenuList
| 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[Menu] |
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. |
|
from halo_client.models.menu_list import MenuList
# TODO update the JSON string below
json = "{}"
# create an instance of MenuList from a JSON string
menu_list_instance = MenuList.from_json(json)
# print the JSON string representation of the object
print(MenuList.to_json())
# convert the object into a dict
menu_list_dict = menu_list_instance.to_dict()
# create an instance of MenuList from a dict
menu_list_from_dict = MenuList.from_dict(menu_list_dict)
[Back to Model list] [Back to API list] [Back to README]