public class SingleSelectQuestionRuleCategoryAutomation
extends java.lang.Object
implements java.io.Serializable
Information about the automation option based on a rule category for a single select question.
| Constructor and Description |
|---|
SingleSelectQuestionRuleCategoryAutomation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategory()
The category name, as defined in Rules.
|
java.lang.String |
getCondition()
The condition to apply for the automation option.
|
java.lang.String |
getOptionRefId()
The identifier of the answer option.
|
int |
hashCode() |
void |
setCategory(java.lang.String category)
The category name, as defined in Rules.
|
void |
setCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option.
|
void |
setCondition(java.lang.String condition)
The condition to apply for the automation option.
|
void |
setOptionRefId(java.lang.String optionRefId)
The identifier of the answer option.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SingleSelectQuestionRuleCategoryAutomation |
withCategory(java.lang.String category)
The category name, as defined in Rules.
|
SingleSelectQuestionRuleCategoryAutomation |
withCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option.
|
SingleSelectQuestionRuleCategoryAutomation |
withCondition(java.lang.String condition)
The condition to apply for the automation option.
|
SingleSelectQuestionRuleCategoryAutomation |
withOptionRefId(java.lang.String optionRefId)
The identifier of the answer option.
|
public SingleSelectQuestionRuleCategoryAutomation()
public java.lang.String getCategory()
The category name, as defined in Rules.
Constraints:
Length: 1 - 50
The category name, as defined in Rules.
public void setCategory(java.lang.String category)
The category name, as defined in Rules.
Constraints:
Length: 1 - 50
category - The category name, as defined in Rules.
public SingleSelectQuestionRuleCategoryAutomation withCategory(java.lang.String category)
The category name, as defined in Rules.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
category - The category name, as defined in Rules.
public java.lang.String getCondition()
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data
includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact
data does not include the category.
Constraints:
Allowed Values: PRESENT, NOT_PRESENT
The condition to apply for the automation option. If the
condition is PRESENT, then the option is applied
when the contact data includes the category. Similarly, if the
condition is NOT_PRESENT, then the option is applied
when the contact data does not include the category.
SingleSelectQuestionRuleCategoryAutomationConditionpublic void setCondition(java.lang.String condition)
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data
includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact
data does not include the category.
Constraints:
Allowed Values: PRESENT, NOT_PRESENT
condition -
The condition to apply for the automation option. If the
condition is PRESENT, then the option is applied
when the contact data includes the category. Similarly, if the
condition is NOT_PRESENT, then the option is
applied when the contact data does not include the category.
SingleSelectQuestionRuleCategoryAutomationConditionpublic SingleSelectQuestionRuleCategoryAutomation withCondition(java.lang.String condition)
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data
includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact
data does not include the category.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRESENT, NOT_PRESENT
condition -
The condition to apply for the automation option. If the
condition is PRESENT, then the option is applied
when the contact data includes the category. Similarly, if the
condition is NOT_PRESENT, then the option is
applied when the contact data does not include the category.
SingleSelectQuestionRuleCategoryAutomationConditionpublic void setCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data
includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact
data does not include the category.
Constraints:
Allowed Values: PRESENT, NOT_PRESENT
condition -
The condition to apply for the automation option. If the
condition is PRESENT, then the option is applied
when the contact data includes the category. Similarly, if the
condition is NOT_PRESENT, then the option is
applied when the contact data does not include the category.
SingleSelectQuestionRuleCategoryAutomationConditionpublic SingleSelectQuestionRuleCategoryAutomation withCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data
includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact
data does not include the category.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRESENT, NOT_PRESENT
condition -
The condition to apply for the automation option. If the
condition is PRESENT, then the option is applied
when the contact data includes the category. Similarly, if the
condition is NOT_PRESENT, then the option is
applied when the contact data does not include the category.
SingleSelectQuestionRuleCategoryAutomationConditionpublic java.lang.String getOptionRefId()
The identifier of the answer option.
Constraints:
Length: 1 - 40
The identifier of the answer option.
public void setOptionRefId(java.lang.String optionRefId)
The identifier of the answer option.
Constraints:
Length: 1 - 40
optionRefId - The identifier of the answer option.
public SingleSelectQuestionRuleCategoryAutomation withOptionRefId(java.lang.String optionRefId)
The identifier of the answer option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
optionRefId - The identifier of the answer option.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object