Class: Google::Apis::DfareportingV2_1::ListPostalCodesResponse

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

Overview

Postal Code List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPostalCodesResponse

Returns a new instance of ListPostalCodesResponse.



8049
8050
8051
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8049

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)


8042
8043
8044
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8042

def kind
  @kind
end

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

Postal code collection. Corresponds to the JSON property postalCodes



8047
8048
8049
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8047

def postal_codes
  @postal_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8054
8055
8056
8057
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8054

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