Package com.smartsheet.api.models
Class SortCriterion
- java.lang.Object
-
- com.smartsheet.api.models.IdentifiableModel<T>
-
- com.smartsheet.api.models.NamedModel<java.lang.Long>
-
- com.smartsheet.api.models.SortCriterion
-
public class SortCriterion extends NamedModel<java.lang.Long>
-
-
Constructor Summary
Constructors Constructor Description SortCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getColumnId()
Get the column ID of the column to sort onSortDirection
getDirection()
Get the sort directionSortCriterion
setColumnId(java.lang.Long columnId)
Set the column ID of the column to sort onSortCriterion
setDirection(SortDirection direction)
Set the sort direction-
Methods inherited from class com.smartsheet.api.models.NamedModel
getName, setName
-
Methods inherited from class com.smartsheet.api.models.IdentifiableModel
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getColumnId
public java.lang.Long getColumnId()
Get the column ID of the column to sort on- Returns:
- the column ID
-
setColumnId
public SortCriterion setColumnId(java.lang.Long columnId)
Set the column ID of the column to sort on- Parameters:
columnId
- the column ID
-
getDirection
public SortDirection getDirection()
Get the sort direction- Returns:
- the sort direction
-
setDirection
public SortCriterion setDirection(SortDirection direction)
Set the sort direction- Parameters:
direction
- the sort direction
-
-