Enum FTContractFunctionCall.StakingMethodCaller.ViewMethod
- java.lang.Object
-
- java.lang.Enum<FTContractFunctionCall.StakingMethodCaller.ViewMethod>
-
- com.syntifi.near.api.rpc.service.contract.ft.FTContractFunctionCall.StakingMethodCaller.ViewMethod
-
- All Implemented Interfaces:
ContractMethod
,java.io.Serializable
,java.lang.Comparable<FTContractFunctionCall.StakingMethodCaller.ViewMethod>
- Enclosing class:
- FTContractFunctionCall.StakingMethodCaller
public static enum FTContractFunctionCall.StakingMethodCaller.ViewMethod extends java.lang.Enum<FTContractFunctionCall.StakingMethodCaller.ViewMethod> implements ContractMethod
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FT_BALANCE_OF
FT_METADATA
FT_TRANSFER_CALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FTContractFunctionCall.StakingMethodCaller.ViewMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FTContractFunctionCall.StakingMethodCaller.ViewMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.syntifi.near.api.rpc.service.contract.ContractMethod
getMethodName
-
-
-
-
Enum Constant Detail
-
FT_METADATA
public static final FTContractFunctionCall.StakingMethodCaller.ViewMethod FT_METADATA
-
FT_TRANSFER_CALL
public static final FTContractFunctionCall.StakingMethodCaller.ViewMethod FT_TRANSFER_CALL
-
FT_BALANCE_OF
public static final FTContractFunctionCall.StakingMethodCaller.ViewMethod FT_BALANCE_OF
-
-
Method Detail
-
values
public static FTContractFunctionCall.StakingMethodCaller.ViewMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FTContractFunctionCall.StakingMethodCaller.ViewMethod c : FTContractFunctionCall.StakingMethodCaller.ViewMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FTContractFunctionCall.StakingMethodCaller.ViewMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-