Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.2 KB

ServiceHours.md

File metadata and controls

36 lines (27 loc) · 1.2 KB

ServiceHours

A JSON object with serviceHours for each day of the week.

Properties

Name Type Description Notes
mon ServiceHour
tue ServiceHour
wed ServiceHour
thu ServiceHour
fri ServiceHour
sat ServiceHour
sun ServiceHour

Example

from grabfood.models.service_hours import ServiceHours

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

# convert the object into a dict
service_hours_dict = service_hours_instance.to_dict()
# create an instance of ServiceHours from a dict
service_hours_from_dict = ServiceHours.from_dict(service_hours_dict)

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