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