class Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse

Attributes

holidays[RW]

A list of holidays applicable for delivery guarantees. May be empty. Corresponds to the JSON property `holidays` @return [Array<Google::Apis::ContentV2::HolidaysHoliday>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “content# shippingsettingsGetSupportedHolidaysResponse”. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10830
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 10835
def update!(**args)
  @holidays = args[:holidays] if args.key?(:holidays)
  @kind = args[:kind] if args.key?(:kind)
end