Package com.smartsheet.api.models
Class ReportGroupingCriterion
- java.lang.Object
-
- com.smartsheet.api.models.ReportGroupingCriterion
-
public class ReportGroupingCriterion extends java.lang.ObjectRepresents a grouping criterion for a report.
-
-
Constructor Summary
Constructors Constructor Description ReportGroupingCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportColumnIdentifiergetColumn()Gets the column to group by.java.lang.BooleangetIsExpanded()Gets whether the group is expanded in the UI.SortDirectiongetSortingDirection()Gets the sorting direction within the group.ReportGroupingCriterionsetColumn(ReportColumnIdentifier column)Sets the column to group by.ReportGroupingCriterionsetIsExpanded(java.lang.Boolean isExpanded)Sets whether the group is expanded in the UI.ReportGroupingCriterionsetSortingDirection(SortDirection sortingDirection)Sets the sorting direction within the group.
-
-
-
Method Detail
-
getColumn
public ReportColumnIdentifier getColumn()
Gets the column to group by.- Returns:
- the column
-
setColumn
public ReportGroupingCriterion setColumn(ReportColumnIdentifier column)
Sets the column to group by.- Parameters:
column- the column
-
getSortingDirection
public SortDirection getSortingDirection()
Gets the sorting direction within the group.- Returns:
- the sorting direction
-
setSortingDirection
public ReportGroupingCriterion setSortingDirection(SortDirection sortingDirection)
Sets the sorting direction within the group.- Parameters:
sortingDirection- the sorting direction
-
getIsExpanded
public java.lang.Boolean getIsExpanded()
Gets whether the group is expanded in the UI.- Returns:
- true if expanded, false otherwise
-
setIsExpanded
public ReportGroupingCriterion setIsExpanded(java.lang.Boolean isExpanded)
Sets whether the group is expanded in the UI.- Parameters:
isExpanded- true if expanded, false otherwise
-
-