Class: Google::Apis::DfareportingV3_2::PostalCodesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/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) ⇒ PostalCodesListResponse

Returns a new instance of PostalCodesListResponse



9167
9168
9169
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9167

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)


9160
9161
9162
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9160

def kind
  @kind
end

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

Postal code collection. Corresponds to the JSON property postalCodes



9165
9166
9167
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9165

def postal_codes
  @postal_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9172
9173
9174
9175
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9172

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