SortData

data class SortData(val direction: Int = DEFAULT_SORT_DIRECTION, val sortField: String)

Represents the data required to apply a sorting method to queries.

Parameters

direction

The direction of sorting. -1 for descending, 1 for ascending.

sortField

The property by which to apply sorting. Options depend on the object you're querying.

Constructors

Link copied to clipboard
constructor(direction: Int = DEFAULT_SORT_DIRECTION, sortField: String)

Properties

Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard

Maps the data to the request for the BE.