A JSON object for workingHour for a day.
Name | Type | Description | Notes |
---|---|---|---|
periods | List[OpenPeriod] | An array of open periods. `null` if the campaign period is closed all day. | [optional] |
from grabfood.models.working_hour_day import WorkingHourDay
# TODO update the JSON string below
json = "{}"
# create an instance of WorkingHourDay from a JSON string
working_hour_day_instance = WorkingHourDay.from_json(json)
# print the JSON string representation of the object
print(WorkingHourDay.to_json())
# convert the object into a dict
working_hour_day_dict = working_hour_day_instance.to_dict()
# create an instance of WorkingHourDay from a dict
working_hour_day_from_dict = WorkingHourDay.from_dict(working_hour_day_dict)