Class: Google::Apis::DfareportingV2_5::ListPostalCodesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::ListPostalCodesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Postal Code List Response
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#postal_codes ⇒ Array<Google::Apis::DfareportingV2_5::PostalCode>
Postal code collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPostalCodesResponse
constructor
A new instance of ListPostalCodesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListPostalCodesResponse
Returns a new instance of ListPostalCodesResponse.
8516 8517 8518 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#postalCodesListResponse".
Corresponds to the JSON property kind
8509 8510 8511 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8509 def kind @kind end |
#postal_codes ⇒ Array<Google::Apis::DfareportingV2_5::PostalCode>
Postal code collection.
Corresponds to the JSON property postalCodes
8514 8515 8516 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8514 def postal_codes @postal_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8521 8522 8523 8524 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8521 def update!(**args) @kind = args[:kind] if args.key?(:kind) @postal_codes = args[:postal_codes] if args.key?(:postal_codes) end |