public enum OtpFormatTO extends Enum<OtpFormatTO>
| Enum Constant and Description |
|---|
CHARACTERS |
INTEGER |
| Modifier and Type | Method and Description |
|---|---|
static OtpFormatTO |
forValue(String value) |
static Optional<OtpFormatTO> |
getByValue(String name) |
String |
getValue() |
static OtpFormatTO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtpFormatTO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtpFormatTO CHARACTERS
public static final OtpFormatTO INTEGER
public static OtpFormatTO[] values()
for (OtpFormatTO c : OtpFormatTO.values()) System.out.println(c);
public static OtpFormatTO valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public static Optional<OtpFormatTO> getByValue(String name)
public static OtpFormatTO forValue(String value)
Copyright © 2020. All rights reserved.