@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2023-07-13T01:30:51.265Z") public class SurveyRule extends Object
Constructor and Description |
---|
SurveyRule() |
Modifier and Type | Method and Description |
---|---|
SurveyRule |
addDataGroupsItem(String dataGroupsItem) |
SurveyRule |
assignDataGroup(String assignDataGroup) |
SurveyRule |
dataGroups(List<String> dataGroups) |
SurveyRule |
displayIf(Boolean displayIf) |
SurveyRule |
displayUnless(Boolean displayUnless) |
SurveyRule |
endSurvey(Boolean endSurvey) |
boolean |
equals(Object o) |
String |
getAssignDataGroup()
If specified, the value is a data group that should be added to the survey taker if the rule expression is true, or removed if the rule expression is false.
|
List<String> |
getDataGroups()
Some operators will test a set of data groups against the user's set of data groups.
|
Operator |
getOperator()
Get operator
|
String |
getSkipTo()
The property will reference an identifier for a question in the survey.
|
String |
getType()
SurveyRule
|
String |
getValue()
The answer submitted by the user to the question.
|
int |
hashCode() |
Boolean |
isDisplayIf()
**Before rules only.** If the rule expression is true, display this question or information screen.
|
Boolean |
isDisplayUnless()
**Before rules only.** If the rule expression is true, do not display this question or information.
|
Boolean |
isEndSurvey()
If specified, and the rule's expression is true, immediately stop evaluating rules and end the survey.
|
SurveyRule |
operator(Operator operator) |
void |
setAssignDataGroup(String assignDataGroup) |
void |
setDataGroups(List<String> dataGroups) |
void |
setDisplayIf(Boolean displayIf) |
void |
setDisplayUnless(Boolean displayUnless) |
void |
setEndSurvey(Boolean endSurvey) |
void |
setOperator(Operator operator) |
void |
setSkipTo(String skipTo) |
void |
setValue(String value) |
SurveyRule |
skipTo(String skipTo) |
String |
toString() |
SurveyRule |
value(String value) |
public SurveyRule operator(Operator operator)
public Operator getOperator()
public void setOperator(Operator operator)
public SurveyRule value(String value)
public String getValue()
public void setValue(String value)
public SurveyRule dataGroups(List<String> dataGroups)
public SurveyRule addDataGroupsItem(String dataGroupsItem)
public List<String> getDataGroups()
public SurveyRule skipTo(String skipTo)
public String getSkipTo()
public void setSkipTo(String skipTo)
public SurveyRule endSurvey(Boolean endSurvey)
public Boolean isEndSurvey()
public void setEndSurvey(Boolean endSurvey)
public SurveyRule displayIf(Boolean displayIf)
public Boolean isDisplayIf()
public void setDisplayIf(Boolean displayIf)
public SurveyRule displayUnless(Boolean displayUnless)
public Boolean isDisplayUnless()
public void setDisplayUnless(Boolean displayUnless)
public SurveyRule assignDataGroup(String assignDataGroup)
public String getAssignDataGroup()
public void setAssignDataGroup(String assignDataGroup)
public String getType()
Copyright © 2023 Sage Bionetworks. All rights reserved.