Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.02 KB

WorkingHourDay.md

File metadata and controls

30 lines (21 loc) · 1.02 KB

WorkingHourDay

A JSON object for workingHour for a day.

Properties

Name Type Description Notes
periods List[OpenPeriod] An array of open periods. `null` if the campaign period is closed all day. [optional]

Example

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)

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