Class: Aws::GeoPlaces::Types::QueryRefinement

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

Overview

Suggestions for refining individual query terms. Suggestions are returned as objects which note the term, suggested replacement, and its index in the query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_indexInteger

End index of the parsed query.

Returns:

  • (Integer)


1532
1533
1534
1535
1536
1537
1538
1539
# File 'lib/aws-sdk-geoplaces/types.rb', line 1532

class QueryRefinement < Struct.new(
  :refined_term,
  :original_term,
  :start_index,
  :end_index)
  SENSITIVE = []
  include Aws::Structure
end

#original_termString

The sub-string of the original query that is replaced by this query term.

Returns:

  • (String)


1532
1533
1534
1535
1536
1537
1538
1539
# File 'lib/aws-sdk-geoplaces/types.rb', line 1532

class QueryRefinement < Struct.new(
  :refined_term,
  :original_term,
  :start_index,
  :end_index)
  SENSITIVE = []
  include Aws::Structure
end

#refined_termString

The term that will be suggested to the user.

Returns:

  • (String)


1532
1533
1534
1535
1536
1537
1538
1539
# File 'lib/aws-sdk-geoplaces/types.rb', line 1532

class QueryRefinement < Struct.new(
  :refined_term,
  :original_term,
  :start_index,
  :end_index)
  SENSITIVE = []
  include Aws::Structure
end

#start_indexInteger

Start index of the parsed component.

Returns:

  • (Integer)


1532
1533
1534
1535
1536
1537
1538
1539
# File 'lib/aws-sdk-geoplaces/types.rb', line 1532

class QueryRefinement < Struct.new(
  :refined_term,
  :original_term,
  :start_index,
  :end_index)
  SENSITIVE = []
  include Aws::Structure
end