Package com.smartsheet.api.models
Class Criteria
- java.lang.Object
-
- com.smartsheet.api.models.Criteria
-
public class Criteria extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Criteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getColumnId()
Gets the column IDOperator
getOperator()
Gets the operatorCriteriaTarget
getTarget()
Gets the criteria targetjava.util.List<java.lang.Object>
getValues()
Gets the values if this criteria's operator has argumentsCriteria
setColumnId(java.lang.Long columnId)
Sets the operatorCriteria
setOperator(Operator operator)
Sets the operatorCriteria
setTarget(CriteriaTarget target)
Sets the criteria targetCriteria
setValues(java.util.List<java.lang.Object> values)
Sets the values if this criteria's operator has arguments
-
-
-
Method Detail
-
getColumnId
public java.lang.Long getColumnId()
Gets the column ID- Returns:
- the column ID
-
setColumnId
public Criteria setColumnId(java.lang.Long columnId)
Sets the operator- Parameters:
columnId
- the column ID
-
getOperator
public Operator getOperator()
Gets the operator- Returns:
- the operator
-
setOperator
public Criteria setOperator(Operator operator)
Sets the operator- Parameters:
operator
- the operator
-
getTarget
public CriteriaTarget getTarget()
Gets the criteria target- Returns:
- the criteria target
-
setTarget
public Criteria setTarget(CriteriaTarget target)
Sets the criteria target- Parameters:
target
- the criteria target
-
getValues
public java.util.List<java.lang.Object> getValues()
Gets the values if this criteria's operator has arguments- Returns:
- the values array
-
setValues
public Criteria setValues(java.util.List<java.lang.Object> values)
Sets the values if this criteria's operator has arguments- Parameters:
values
- the criteria target
-
-