Package com.smartsheet.api.models
Class ReportSortingCriterion
- java.lang.Object
-
- com.smartsheet.api.models.ReportSortingCriterion
-
public class ReportSortingCriterion extends java.lang.ObjectRepresents a sorting criterion for a report.
-
-
Constructor Summary
Constructors Constructor Description ReportSortingCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportColumnIdentifiergetColumn()Gets the column to sort by.SortDirectiongetSortingDirection()Gets the sorting direction.ReportSortingCriterionsetColumn(ReportColumnIdentifier column)Sets the column to sort by.ReportSortingCriterionsetSortingDirection(SortDirection sortingDirection)Sets the sorting direction.
-
-
-
Method Detail
-
getColumn
public ReportColumnIdentifier getColumn()
Gets the column to sort by.- Returns:
- the column
-
setColumn
public ReportSortingCriterion setColumn(ReportColumnIdentifier column)
Sets the column to sort by.- Parameters:
column- the column
-
getSortingDirection
public SortDirection getSortingDirection()
Gets the sorting direction.- Returns:
- the sorting direction
-
setSortingDirection
public ReportSortingCriterion setSortingDirection(SortDirection sortingDirection)
Sets the sorting direction.- Parameters:
sortingDirection- the sorting direction
-
-