View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreOpeningHoursProto (google_api_content_warehouse v0.2.0)
Message to represent opening hours including regular weekly hours and a set of exceptions.
Attributes
-
exception(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto.t), default:nil) - Date delimited exceptions to the typical recurring opening hours. May only be present if regular weekly hours are also specified. -
regularHours(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t, default:nil) - Typical recurring opening hours, expressed as a weekly schedule. NOTE: this field was introduced to have a more client-friendly format for representing weekly hours but, as of November 2018, it's not used for the main opening hours of TYPE_ESTABLISHMENT features (instead, the data is stored in theEstablishmentProto.hoursfield, see b/23105782 tracking the possible schema migration). It is however used in other contexts whereOpeningHoursProtoappears in the Geo Schema. In openinghours.h there is a utility functionGetOpeningHoursFromFeaturethat mergesEstablishmentProto.hoursinto this proto.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreOpeningHoursProto{ exception: [GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto.t()] | nil, regularHours: GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.