Class: Google::Apis::ContentV2::BusinessDayConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BusinessDayConfig

Returns a new instance of BusinessDayConfig.



1563
1564
1565
# File 'generated/google/apis/content_v2/classes.rb', line 1563

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

Instance Attribute Details

#business_daysArray<String>

Regular business days. May not be empty. Corresponds to the JSON property businessDays

Returns:

  • (Array<String>)


1561
1562
1563
# File 'generated/google/apis/content_v2/classes.rb', line 1561

def business_days
  @business_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1568
1569
1570
# File 'generated/google/apis/content_v2/classes.rb', line 1568

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