Specifies the ordering of the results. It contains fields that define the sorting criteria, the collation for sorting, and the direction in which the results should be ordered.
| Name | Type | Description | Notes |
|---|---|---|---|
| by | str | If the granularity is set to `1` you can use the metric name eg. `latency.p95` to order by that value. | |
| collation | str | Language code used for sorting. Ignored for infrastructure queries. | [optional] |
| direction | str | The order in which results will be sorted, either `ASC` for ascending or `DESC` for descending. |
from instana_client.models.order import Order
# TODO update the JSON string below
json = "{}"
# create an instance of Order from a JSON string
order_instance = Order.from_json(json)
# print the JSON string representation of the object
print(Order.to_json())
# convert the object into a dict
order_dict = order_instance.to_dict()
# create an instance of Order from a dict
order_from_dict = Order.from_dict(order_dict)