Package com.casper.sdk.model.account
Class ActionThresholds
- java.lang.Object
-
- com.casper.sdk.model.account.ActionThresholds
-
public class ActionThresholds extends java.lang.ObjectThresholds that have to be met when executing an action of a certain type.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionThresholds.ActionThresholdsBuilder
-
Constructor Summary
Constructors Constructor Description ActionThresholds()ActionThresholds(int deployment, int keyManagement, int upgradeManagement)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionThresholds.ActionThresholdsBuilderbuilder()intgetDeployment()Threshold for deploy execution.intgetKeyManagement()Threshold for managing action threshold.intgetUpgradeManagement()Threshold for upgrading contracts.voidsetDeployment(int deployment)Threshold for deploy execution.voidsetKeyManagement(int keyManagement)Threshold for managing action threshold.voidsetUpgradeManagement(int upgradeManagement)Threshold for upgrading contracts.
-
-
-
Method Detail
-
builder
public static ActionThresholds.ActionThresholdsBuilder builder()
-
getDeployment
public int getDeployment()
Threshold for deploy execution.
-
getKeyManagement
public int getKeyManagement()
Threshold for managing action threshold.
-
getUpgradeManagement
public int getUpgradeManagement()
Threshold for upgrading contracts.
-
setDeployment
public void setDeployment(int deployment)
Threshold for deploy execution.
-
setKeyManagement
public void setKeyManagement(int keyManagement)
Threshold for managing action threshold.
-
setUpgradeManagement
public void setUpgradeManagement(int upgradeManagement)
Threshold for upgrading contracts.
-
-