SortingCapability

class oci.psql.models.SortingCapability(**kwargs)

Bases: object

Describes sorting support for an insight type.

Methods:

__init__(**kwargs)

Initializes a new SortingCapability object with values from keyword arguments.

Attributes:

default_sort

Gets the default_sort of this SortingCapability.

fields

Gets the fields of this SortingCapability.

is_supported

[Required] Gets the is_supported of this SortingCapability.

__init__(**kwargs)

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

Parameters
  • is_supported (bool) – The value to assign to the is_supported property of this SortingCapability.

  • fields (list[str]) – The value to assign to the fields property of this SortingCapability.

  • default_sort (oci.psql.models.SortingDefault) – The value to assign to the default_sort property of this SortingCapability.

property default_sort

Gets the default_sort of this SortingCapability.

Returns

The default_sort of this SortingCapability.

Return type

oci.psql.models.SortingDefault

property fields

Gets the fields of this SortingCapability. Fields that can be used for sorting.

Returns

The fields of this SortingCapability.

Return type

list[str]

property is_supported

[Required] Gets the is_supported of this SortingCapability. Indicates whether sorting is supported.

Returns

The is_supported of this SortingCapability.

Return type

bool