Class: Google::Apis::DfareportingV5::PostalCodesListResponse

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

Overview

Postal Code List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostalCodesListResponse

Returns a new instance of PostalCodesListResponse.



10347
10348
10349
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10347

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)


10340
10341
10342
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10340

def kind
  @kind
end

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

Postal code collection. Corresponds to the JSON property postalCodes



10345
10346
10347
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10345

def postal_codes
  @postal_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10352
10353
10354
10355
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10352

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