ColumnSorting¶
- class oci.data_safe.models.ColumnSorting(**kwargs)¶
Bases:
objectSorts the data at the column level.
Methods:
__init__(**kwargs)Initializes a new ColumnSorting object with values from keyword arguments.
Attributes:
[Required] Gets the field_name of this ColumnSorting.
[Required] Gets the is_ascending of this ColumnSorting.
[Required] Gets the sorting_order of this ColumnSorting.
- __init__(**kwargs)¶
Initializes a new ColumnSorting object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
field_name (str) – The value to assign to the field_name property of this ColumnSorting.
is_ascending (bool) – The value to assign to the is_ascending property of this ColumnSorting.
sorting_order (int) – The value to assign to the sorting_order property of this ColumnSorting.
- property field_name¶
[Required] Gets the field_name of this ColumnSorting. Name of the column that must be sorted.
- Returns
The field_name of this ColumnSorting.
- Return type
str
- property is_ascending¶
[Required] Gets the is_ascending of this ColumnSorting. Indicates if the column must be sorted in ascending order. Values can either be ‘true’ or ‘false’.
- Returns
The is_ascending of this ColumnSorting.
- Return type
bool
- property sorting_order¶
[Required] Gets the sorting_order of this ColumnSorting. Indicates the order at which column must be sorted.
- Returns
The sorting_order of this ColumnSorting.
- Return type
int