Class: Google::Apis::ContentV2_1::BusinessDayConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::BusinessDayConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#business_days ⇒ Array<String>
Regular business days, such as '"monday"'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BusinessDayConfig
constructor
A new instance of BusinessDayConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BusinessDayConfig
Returns a new instance of BusinessDayConfig.
2713 2714 2715 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_days ⇒ Array<String>
Regular business days, such as '"monday"'. May not be empty.
Corresponds to the JSON property businessDays
2711 2712 2713 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2711 def business_days @business_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2718 2719 2720 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2718 def update!(**args) @business_days = args[:business_days] if args.key?(:business_days) end |