Class: Aws::GeoPlaces::Types::Country

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb

Overview

The alpha-2 or alpha-3 character code for the country that the results will be present in.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_2String

Country, represented by its alpha 2-character code.

Returns:

  • (String)


778
779
780
781
782
783
784
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 778

class Country < Struct.new(
  :code_2,
  :code_3,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#code_3String

Country, represented by its alpha t-character code.

Returns:

  • (String)


778
779
780
781
782
783
784
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 778

class Country < Struct.new(
  :code_2,
  :code_3,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Name of the country.

Returns:

  • (String)


778
779
780
781
782
783
784
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 778

class Country < Struct.new(
  :code_2,
  :code_3,
  :name)
  SENSITIVE = []
  include Aws::Structure
end