public class AdvancedRuleScriptModel
extends java.lang.Object
Constructor and Description |
---|
AdvancedRuleScriptModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAccountId()
Getter for accountId
Account ID
|
AdvancedRuleCrashBehavior |
getCrashBehavior()
Getter for crashBehavior
How to proceed if the rule crashes
|
java.lang.Long |
getId()
Getter for id
The unique ID of the script
|
java.lang.Boolean |
getIsApproved()
Getter for isApproved
The rule has been approved
|
java.lang.Boolean |
getIsDisabled()
Getter for isDisabled
The rule has been disabled
|
java.lang.String |
getScript()
Getter for script
The JavaScript rule
|
AdvancedRuleScriptType |
getScriptType()
Getter for scriptType
The type of script - request or response
|
void |
setAccountId(java.lang.Integer value)
Setter for accountId
Account ID
|
void |
setCrashBehavior(AdvancedRuleCrashBehavior value)
Setter for crashBehavior
How to proceed if the rule crashes
|
void |
setId(java.lang.Long value)
Setter for id
The unique ID of the script
|
void |
setIsApproved(java.lang.Boolean value)
Setter for isApproved
The rule has been approved
|
void |
setIsDisabled(java.lang.Boolean value)
Setter for isDisabled
The rule has been disabled
|
void |
setScript(java.lang.String value)
Setter for script
The JavaScript rule
|
void |
setScriptType(AdvancedRuleScriptType value)
Setter for scriptType
The type of script - request or response
|
java.lang.String |
toString()
Returns a JSON string representation of AdvancedRuleScriptModel
|
public java.lang.Long getId()
public void setId(java.lang.Long value)
public java.lang.Integer getAccountId()
public void setAccountId(java.lang.Integer value)
public AdvancedRuleCrashBehavior getCrashBehavior()
public void setCrashBehavior(AdvancedRuleCrashBehavior value)
public AdvancedRuleScriptType getScriptType()
public void setScriptType(AdvancedRuleScriptType value)
public java.lang.String getScript()
public void setScript(java.lang.String value)
public java.lang.Boolean getIsApproved()
public void setIsApproved(java.lang.Boolean value)
public java.lang.Boolean getIsDisabled()
public void setIsDisabled(java.lang.Boolean value)
public java.lang.String toString()
toString
in class java.lang.Object