View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto (google_api_content_warehouse v0.4.0)

An ExceptionalHoursProto holds information about exceptional (non-regular) hours for a business, such as holiday hours.

Attributes

  • hours (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t, default: nil) - The weekly schedule to be applied for the dates that fall within the range. The schedule may contain hours only for days of the week that occur during the date range specified in the range field.
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) - Field-level metadata for this exception.
  • range (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto.t, default: nil) - The dates for which this exception applies, expressed as a half open interval. For example, an exception that applies for the entire month of December 2015 should have a range December 1, 2015 to January 1, 2016. Any regular hours that start on days in this range are ignored and replaced by the exceptional hours for that day. The TimeIntervalProto for the range must be a fully specified, non-empty, and non-inverted range of dates. Concretely, the requirements are: the range must be a TYPE_RANGE interval the interval may not be inverted the endpoints of the interval must specify a year, month, and day the day_type of each endpoint must be type DAY_OF_MONTH the endpoints may not specify hour, minute, second, week, or week_type the begin endpoint must predate the end endpoint

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.