SortingDefault

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

Bases: object

Default sorting behavior for an insight type.

Attributes:

ORDER_ASC

A constant which can be used with the order property of a SortingDefault.

ORDER_DESC

A constant which can be used with the order property of a SortingDefault.

field

Gets the field of this SortingDefault.

order

Gets the order of this SortingDefault.

Methods:

__init__(**kwargs)

Initializes a new SortingDefault object with values from keyword arguments.

ORDER_ASC = 'ASC'

A constant which can be used with the order property of a SortingDefault. This constant has a value of “ASC”

ORDER_DESC = 'DESC'

A constant which can be used with the order property of a SortingDefault. This constant has a value of “DESC”

__init__(**kwargs)

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

Parameters
  • field (str) – The value to assign to the field property of this SortingDefault.

  • order (str) – The value to assign to the order property of this SortingDefault. Allowed values for this property are: “ASC”, “DESC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property field

Gets the field of this SortingDefault. Default field used for sorting.

Returns

The field of this SortingDefault.

Return type

str

property order

Gets the order of this SortingDefault. Default sort order.

Allowed values for this property are: “ASC”, “DESC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The order of this SortingDefault.

Return type

str