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