public enum HSMComponentButtonType extends Enum<HSMComponentButtonType>
| Enum Constant and Description |
|---|
COPY_CODE |
OTP |
PHONE_NUMBER |
QUICK_REPLY |
URL |
| Modifier and Type | Method and Description |
|---|---|
static HSMComponentButtonType |
forValue(String value) |
String |
getType() |
String |
toJson() |
String |
toString() |
static HSMComponentButtonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HSMComponentButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HSMComponentButtonType PHONE_NUMBER
public static final HSMComponentButtonType URL
public static final HSMComponentButtonType QUICK_REPLY
public static final HSMComponentButtonType OTP
public static final HSMComponentButtonType COPY_CODE
public static HSMComponentButtonType[] values()
for (HSMComponentButtonType c : HSMComponentButtonType.values()) System.out.println(c);
public static HSMComponentButtonType 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 static HSMComponentButtonType forValue(String value)
public String toJson()
public String getType()
public String toString()
toString in class Enum<HSMComponentButtonType>Copyright © 2024. All rights reserved.