Class: Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
- 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
-
#holidays ⇒ Array<Google::Apis::ContentV2::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShippingsettingsGetSupportedHolidaysResponse
Returns a new instance of ShippingsettingsGetSupportedHolidaysResponse
8324 8325 8326 |
# File 'generated/google/apis/content_v2/classes.rb', line 8324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#holidays ⇒ Array<Google::Apis::ContentV2::HolidaysHoliday>
A list of holidays applicable for delivery guarantees. May be empty.
Corresponds to the JSON property holidays
8316 8317 8318 |
# File 'generated/google/apis/content_v2/classes.rb', line 8316 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
8322 8323 8324 |
# File 'generated/google/apis/content_v2/classes.rb', line 8322 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8329 8330 8331 8332 |
# File 'generated/google/apis/content_v2/classes.rb', line 8329 def update!(**args) @holidays = args[:holidays] if args.key?(:holidays) @kind = args[:kind] if args.key?(:kind) end |