FacetedSearchSortRequest¶
-
class
oci.data_catalog.models.FacetedSearchSortRequest(**kwargs)¶ Bases:
objectObject with sort criteria details
Attributes
SORT_ORDER_ASCA constant which can be used with the sort_order property of a FacetedSearchSortRequest. SORT_ORDER_DESCA constant which can be used with the sort_order property of a FacetedSearchSortRequest. sort_byGets the sort_by of this FacetedSearchSortRequest. sort_orderGets the sort_order of this FacetedSearchSortRequest. Methods
__init__(**kwargs)Initializes a new FacetedSearchSortRequest object with values from keyword arguments. -
SORT_ORDER_ASC= 'ASC'¶ A constant which can be used with the sort_order property of a FacetedSearchSortRequest. This constant has a value of “ASC”
-
SORT_ORDER_DESC= 'DESC'¶ A constant which can be used with the sort_order property of a FacetedSearchSortRequest. This constant has a value of “DESC”
-
__init__(**kwargs)¶ Initializes a new FacetedSearchSortRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - sort_by (str) – The value to assign to the sort_by property of this FacetedSearchSortRequest.
- sort_order (str) – The value to assign to the sort_order property of this FacetedSearchSortRequest. Allowed values for this property are: “ASC”, “DESC”
-
sort_by¶ Gets the sort_by of this FacetedSearchSortRequest. Filed name that needs to be sorted by.
Returns: The sort_by of this FacetedSearchSortRequest. Return type: str
-
sort_order¶ Gets the sort_order of this FacetedSearchSortRequest. Sort order for search results.
Allowed values for this property are: “ASC”, “DESC”
Returns: The sort_order of this FacetedSearchSortRequest. Return type: str
-