Class: Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
- 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
-
#holidays ⇒ Array<Google::Apis::ContentV2_1::HolidaysHoliday>
A list of holidays applicable for delivery guarantees.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShippingsettingsGetSupportedHolidaysResponse
constructor
A new instance of ShippingsettingsGetSupportedHolidaysResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShippingsettingsGetSupportedHolidaysResponse
Returns a new instance of ShippingsettingsGetSupportedHolidaysResponse.
13801 13802 13803 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#holidays ⇒ Array<Google::Apis::ContentV2_1::HolidaysHoliday>
A list of holidays applicable for delivery guarantees. May be empty.
Corresponds to the JSON property holidays
13793 13794 13795 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13793 def holidays @holidays end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
shippingsettingsGetSupportedHolidaysResponse
".
Corresponds to the JSON property kind
13799 13800 13801 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13799 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13806 13807 13808 13809 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13806 def update!(**args) @holidays = args[:holidays] if args.key?(:holidays) @kind = args[:kind] if args.key?(:kind) end |