OrderClause¶
- class oci.fleet_apps_management.models.OrderClause(**kwargs)¶
Bases:
objectreport filters.
Attributes:
A constant which can be used with the sort_order property of a OrderClause.
A constant which can be used with the sort_order property of a OrderClause.
[Required] Gets the sort_by of this OrderClause.
Gets the sort_order of this OrderClause.
Methods:
__init__(**kwargs)Initializes a new OrderClause object with values from keyword arguments.
- SORT_ORDER_ASC = 'ASC'¶
A constant which can be used with the sort_order property of a OrderClause. This constant has a value of “ASC”
- SORT_ORDER_DESC = 'DESC'¶
A constant which can be used with the sort_order property of a OrderClause. This constant has a value of “DESC”
- __init__(**kwargs)¶
Initializes a new OrderClause 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 OrderClause.
sort_order (str) – The value to assign to the sort_order property of this OrderClause. 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 sort_by¶
[Required] Gets the sort_by of this OrderClause. Sort By.
- Returns
The sort_by of this OrderClause.
- Return type
str
- property sort_order¶
Gets the sort_order of this OrderClause. 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 sort_order of this OrderClause.
- Return type
str