Package software.xdev.brevo.model
Class MainRuleConditionResponse
java.lang.Object
software.xdev.brevo.model.MainRuleConditionResponse
MainRuleConditionResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAndItem(MainRuleConditionResponse andItem) addOrItem(MainRuleConditionResponse orItem) and(List<MainRuleConditionResponse> and) booleangetAnd()Metric to indicate AND between rulesgetLhs()Condition of the rulegetOp()Selected operator for the rulegetOr()Metric to indicate OR between rulesgetRhs()Action of the ruleinthashCode()lhs(MainValueResponse lhs) rhs(MainValueResponse rhs) voidvoidsetLhs(MainValueResponse lhs) voidvoidvoidsetRhs(MainValueResponse rhs) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_AND
- See Also:
-
JSON_PROPERTY_LHS
- See Also:
-
JSON_PROPERTY_OP
- See Also:
-
JSON_PROPERTY_OR
- See Also:
-
JSON_PROPERTY_RHS
- See Also:
-
-
Constructor Details
-
MainRuleConditionResponse
public MainRuleConditionResponse()
-
-
Method Details
-
and
-
addAndItem
-
getAnd
Metric to indicate AND between rules- Returns:
- and
-
setAnd
-
lhs
-
getLhs
Condition of the rule- Returns:
- lhs
-
setLhs
-
op
-
getOp
Selected operator for the rule- Returns:
- op
-
setOp
-
or
-
addOrItem
-
getOr
Metric to indicate OR between rules- Returns:
- or
-
setOr
-
rhs
-
getRhs
Action of the rule- Returns:
- rhs
-
setRhs
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-