public static enum SimulateTransactionRequest.AuthMode extends java.lang.Enum<SimulateTransactionRequest.AuthMode>
Enum Constant and Description |
---|
ENFORCE
Always enforce mode, even with an empty list.
|
RECORD
Always recording mode, failing if any auth exists.
|
RECORD_ALLOW_NONROOT
Like
RECORD , but allowing non-root authorization. |
Modifier and Type | Method and Description |
---|---|
static SimulateTransactionRequest.AuthMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimulateTransactionRequest.AuthMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="enforce") public static final SimulateTransactionRequest.AuthMode ENFORCE
@SerializedName(value="record") public static final SimulateTransactionRequest.AuthMode RECORD
@SerializedName(value="record_allow_nonroot") public static final SimulateTransactionRequest.AuthMode RECORD_ALLOW_NONROOT
RECORD
, but allowing non-root authorization.public static SimulateTransactionRequest.AuthMode[] values()
for (SimulateTransactionRequest.AuthMode c : SimulateTransactionRequest.AuthMode.values()) System.out.println(c);
public static SimulateTransactionRequest.AuthMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null