Class: Google::Apis::DfareportingV2_3::ListPostalCodesResponse

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

Overview

Postal Code List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPostalCodesResponse

Returns a new instance of ListPostalCodesResponse.


8130
8131
8132
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8130

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#postalCodesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)

8123
8124
8125
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8123

def kind
  @kind
end

#postal_codesArray<Google::Apis::DfareportingV2_3::PostalCode>

Postal code collection. Corresponds to the JSON property postalCodes


8128
8129
8130
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8128

def postal_codes
  @postal_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


8135
8136
8137
8138
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8135

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