Package com.intercom.api.types
Enum ButtonComponent.Style.Value
- java.lang.Object
-
- java.lang.Enum<ButtonComponent.Style.Value>
-
- com.intercom.api.types.ButtonComponent.Style.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ButtonComponent.Style.Value>
- Enclosing class:
- ButtonComponent.Style
public static enum ButtonComponent.Style.Value extends java.lang.Enum<ButtonComponent.Style.Value>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ButtonComponent.Style.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ButtonComponent.Style.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMARY
public static final ButtonComponent.Style.Value PRIMARY
-
SECONDARY
public static final ButtonComponent.Style.Value SECONDARY
-
LINK
public static final ButtonComponent.Style.Value LINK
-
UNKNOWN
public static final ButtonComponent.Style.Value UNKNOWN
-
-
Method Detail
-
values
public static ButtonComponent.Style.Value[] 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 (ButtonComponent.Style.Value c : ButtonComponent.Style.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ButtonComponent.Style.Value 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
-
-