Class: Google::Apis::ContentV2_1::BusinessDayConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BusinessDayConfig

Returns a new instance of BusinessDayConfig.



1660
1661
1662
# File 'lib/google/apis/content_v2_1/classes.rb', line 1660

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#business_daysArray<String>

Regular business days, such as '"monday"'. May not be empty. Corresponds to the JSON property businessDays

Returns:

  • (Array<String>)


1658
1659
1660
# File 'lib/google/apis/content_v2_1/classes.rb', line 1658

def business_days
  @business_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1665
1666
1667
# File 'lib/google/apis/content_v2_1/classes.rb', line 1665

def update!(**args)
  @business_days = args[:business_days] if args.key?(:business_days)
end