Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.16 KB

MenuSection.md

File metadata and controls

32 lines (23 loc) · 1.16 KB

MenuSection

Properties

Name Type Description Notes
id str The section's ID in the partner system.
name str The name of the section.
service_hours ServiceHours
categories List[MenuSectionCategory] An array of category JSON objects. Max 100 allowed per section. Refer to Categories for more information.

Example

from grabfood.models.menu_section import MenuSection

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

# convert the object into a dict
menu_section_dict = menu_section_instance.to_dict()
# create an instance of MenuSection from a dict
menu_section_from_dict = MenuSection.from_dict(menu_section_dict)

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