SuggestListItem

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

Bases: object

Details of a potential match returned from the suggest operation for the given input text. by the limit parameter.

Methods

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

Attributes

object_count Gets the object_count of this SuggestListItem.
suggestion Gets the suggestion of this SuggestListItem.
__init__(**kwargs)

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

Parameters:
  • suggestion (str) – The value to assign to the suggestion property of this SuggestListItem.
  • object_count (int) – The value to assign to the object_count property of this SuggestListItem.
object_count

Gets the object_count of this SuggestListItem. The number of objects which contain this suggestion.

Returns:The object_count of this SuggestListItem.
Return type:int
suggestion

Gets the suggestion of this SuggestListItem. Potential string match. Matching is based on the frequency of usage within the catalog.

Returns:The suggestion of this SuggestListItem.
Return type:str