Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.71 KB

StoreHour.md

File metadata and controls

36 lines (27 loc) · 1.71 KB

StoreHour

A JSON object that describes the store hour for each day.

Properties

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.

Example

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)

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