A JSON object that describes the store hour for each day.
Name | Type | Description | Notes |
---|---|---|---|
mon | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
tue | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
wed | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
thu | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
fri | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
sat | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. | |
sun | List[OpenPeriod] | An array of open periods. Maximum of 3 periods. Blank indicates store close. |
from grabfood.models.store_hour import StoreHour
# TODO update the JSON string below
json = "{}"
# create an instance of StoreHour from a JSON string
store_hour_instance = StoreHour.from_json(json)
# print the JSON string representation of the object
print(StoreHour.to_json())
# convert the object into a dict
store_hour_dict = store_hour_instance.to_dict()
# create an instance of StoreHour from a dict
store_hour_from_dict = StoreHour.from_dict(store_hour_dict)