GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto
Table of Contents ▼
Jump to a specific part of the page:
Description
An ExceptionalHoursProto holds information about exceptional (non-regular) hours for a business, such as holiday hours.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
hours
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto
, 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
, default:nil
)
- Field-level metadata for this exception. -
range
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto
, 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
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto{
hours: GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
range: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto.t() | nil
}
hours: GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
range: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto