Enum GetNymRoleResponse.RoleEnum
- java.lang.Object
-
- java.lang.Enum<GetNymRoleResponse.RoleEnum>
-
- org.hyperledger.acy_py.generated.model.GetNymRoleResponse.RoleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<GetNymRoleResponse.RoleEnum>
- Enclosing class:
- GetNymRoleResponse
public static enum GetNymRoleResponse.RoleEnum extends Enum<GetNymRoleResponse.RoleEnum>
Ledger role
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetNymRoleResponse.RoleEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ENDORSERNETWORK_MONITORROLE_REMOVESTEWARDTRUSTEEUSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetNymRoleResponse.RoleEnumfromValue(String value)StringgetValue()StringtoString()static GetNymRoleResponse.RoleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static GetNymRoleResponse.RoleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEWARD
public static final GetNymRoleResponse.RoleEnum STEWARD
-
TRUSTEE
public static final GetNymRoleResponse.RoleEnum TRUSTEE
-
ENDORSER
public static final GetNymRoleResponse.RoleEnum ENDORSER
-
NETWORK_MONITOR
public static final GetNymRoleResponse.RoleEnum NETWORK_MONITOR
-
USER
public static final GetNymRoleResponse.RoleEnum USER
-
ROLE_REMOVE
public static final GetNymRoleResponse.RoleEnum ROLE_REMOVE
-
-
Method Detail
-
values
public static GetNymRoleResponse.RoleEnum[] 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 (GetNymRoleResponse.RoleEnum c : GetNymRoleResponse.RoleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetNymRoleResponse.RoleEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<GetNymRoleResponse.RoleEnum>
-
fromValue
public static GetNymRoleResponse.RoleEnum fromValue(String value)
-
-