SuggestResults¶
- class oci.data_catalog.models.SuggestResults(**kwargs)¶
Bases:
objectThe 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:
[Required] Gets the input_text of this SuggestResults.
Gets the items of this SuggestResults.
Gets the search_latency_in_ms of this SuggestResults.
[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.
- property 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
- property items¶
Gets the items of this SuggestResults. List of suggestions.
- Returns
The items of this SuggestResults.
- Return type
- property 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
- property 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