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 =
[:id, :name, :localized_name, :primary]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The category ID.

Returns:

  • (String)


731
732
733
734
735
736
737
738
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 731

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

#localized_nameString

Localized name of the category type.

Returns:

  • (String)


731
732
733
734
735
736
737
738
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 731

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

#nameString

The category name.

Returns:

  • (String)


731
732
733
734
735
736
737
738
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 731

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

#primaryBoolean

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

Returns:

  • (Boolean)


731
732
733
734
735
736
737
738
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 731

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