SuggestResults

class oci.data_catalog.models.SuggestResults(**kwargs)

Bases: object

The list of potential matches returned from the suggest operation for the given input text. The size of the list will be determined by the limit parameter.

Methods

__init__(**kwargs) Initializes a new SuggestResults object with values from keyword arguments.

Attributes

input_text [Required] Gets the input_text of this SuggestResults.
items Gets the items of this SuggestResults.
search_latency_in_ms Gets the search_latency_in_ms of this SuggestResults.
total_count [Required] Gets the total_count of this SuggestResults.
__init__(**kwargs)

Initializes a new SuggestResults object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • total_count (int) – The value to assign to the total_count property of this SuggestResults.
  • search_latency_in_ms (int) – The value to assign to the search_latency_in_ms property of this SuggestResults.
  • input_text (str) – The value to assign to the input_text property of this SuggestResults.
  • items (list[oci.data_catalog.models.SuggestListItem]) – The value to assign to the items property of this SuggestResults.
input_text

[Required] Gets the input_text of this SuggestResults. Input string for which the potential matches are computed.

Returns:The input_text of this SuggestResults.
Return type:str
items

Gets the items of this SuggestResults. List of suggestions.

Returns:The items of this SuggestResults.
Return type:list[oci.data_catalog.models.SuggestListItem]
search_latency_in_ms

Gets the search_latency_in_ms of this SuggestResults. Time taken to compute the result, in milliseconds.

Returns:The search_latency_in_ms of this SuggestResults.
Return type:int
total_count

[Required] Gets the total_count of this SuggestResults. Total number of items returned.

Returns:The total_count of this SuggestResults.
Return type:int