A JSON object with serviceHours for each day of the week.
| Name | Type | Description | Notes |
|---|---|---|---|
| mon | ServiceHour | ||
| tue | ServiceHour | ||
| wed | ServiceHour | ||
| thu | ServiceHour | ||
| fri | ServiceHour | ||
| sat | ServiceHour | ||
| sun | ServiceHour |
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)