Class: Google::Apis::CivicinfoV2::DivisionByAddressResponse
- Inherits:
-
Object
- Object
- Google::Apis::CivicinfoV2::DivisionByAddressResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/civicinfo_v2/classes.rb,
lib/google/apis/civicinfo_v2/representations.rb,
lib/google/apis/civicinfo_v2/representations.rb
Instance Attribute Summary collapse
-
#divisions ⇒ Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>
Corresponds to the JSON property
divisions
. -
#normalized_input ⇒ Google::Apis::CivicinfoV2::SimpleAddressType
A simple representation of an address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DivisionByAddressResponse
constructor
A new instance of DivisionByAddressResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DivisionByAddressResponse
Returns a new instance of DivisionByAddressResponse.
458 459 460 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#divisions ⇒ Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>
Corresponds to the JSON property divisions
451 452 453 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 451 def divisions @divisions end |
#normalized_input ⇒ Google::Apis::CivicinfoV2::SimpleAddressType
A simple representation of an address.
Corresponds to the JSON property normalizedInput
456 457 458 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 456 def normalized_input @normalized_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
463 464 465 466 |
# File 'lib/google/apis/civicinfo_v2/classes.rb', line 463 def update!(**args) @divisions = args[:divisions] if args.key?(:divisions) @normalized_input = args[:normalized_input] if args.key?(:normalized_input) end |