Class: Aws::GeoPlaces::Types::StreetComponents

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

Overview

Components of a street.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_nameString

Base name part of the street name.

Example: Younge from the “Younge street“.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#directionString

Indicates the official directional identifiers assigned to highways.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#languageString

A [BCP 47] compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.

[1]: en.wikipedia.org/wiki/IETF_language_tag

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

A prefix is a directional identifier that precedes, but is not included in, the base name of a road.

Example: E for East.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#suffixString

A suffix is a directional identifier that follows, but is not included in, the base name of a road.

Example W for West.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Street type part of the street name.

Example: ‘“avenue“`.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#type_placementString

Defines if the street type is before or after the base name.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end

#type_separatorString

What character(s) separates the string from its type.

Returns:

  • (String)


2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/aws-sdk-geoplaces/types.rb', line 2365

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = []
  include Aws::Structure
end