Package io.constructor.client.models
Class SortOption
java.lang.Object
io.constructor.client.models.SortOption
Constructor.io Sort Option ... uses Gson/Reflection to load data in
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDisplayName(String displayName) voidvoidsetPathInMetadata(String pathInMetadata) voidsetPosition(Integer position) voidvoidsetSortOrder(SortOption.SortOrder sortOrder)
-
Constructor Details
-
SortOption
-
-
Method Details
-
getDisplayName
- Returns:
- the display name
-
setDisplayName
- Parameters:
displayName- the display name to set
-
getSortBy
- Returns:
- the sort by field
-
setSortBy
- Parameters:
sortBy- the sort by field to set
-
getSortOrder
- Returns:
- the sort order (ascending or descending)
-
setSortOrder
- Parameters:
sortOrder- the sort order to set (ascending or descending)
-
getPathInMetadata
- Returns:
- the path in metadata
-
setPathInMetadata
- Parameters:
pathInMetadata- the path in metadata to set
-
getPosition
- Returns:
- the position
-
setPosition
- Parameters:
position- the position to set
-
getHidden
- Returns:
- whether the sort option is hidden
-
setHidden
- Parameters:
hidden- whether the sort option is hidden
-