Class: Aws::GeoPlaces::Types::Category

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

Overview

Category of the Place returned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The category ID.

Returns:

  • (String)


677
678
679
680
681
682
683
684
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 677

class Category < Struct.new(
  :id,
  :name,
  :localized_name,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end

#localized_nameString

Localized name of the category type.

Returns:

  • (String)


677
678
679
680
681
682
683
684
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 677

class Category < Struct.new(
  :id,
  :name,
  :localized_name,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The category name.

Returns:

  • (String)


677
678
679
680
681
682
683
684
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 677

class Category < Struct.new(
  :id,
  :name,
  :localized_name,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end

#primaryBoolean

Boolean which indicates if this category is the primary offered by the place.

Returns:

  • (Boolean)


677
678
679
680
681
682
683
684
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 677

class Category < Struct.new(
  :id,
  :name,
  :localized_name,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end