Enum FlexMarginSize
- java.lang.Object
-
- java.lang.Enum<FlexMarginSize>
-
- com.linecorp.bot.model.message.flex.unit.FlexMarginSize
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FlexMarginSize>
public enum FlexMarginSize extends java.lang.Enum<FlexMarginSize>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPropertyValue()static FlexMarginSizevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlexMarginSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final FlexMarginSize DEFAULT
-
NONE
public static final FlexMarginSize NONE
-
XS
public static final FlexMarginSize XS
-
SM
public static final FlexMarginSize SM
-
MD
public static final FlexMarginSize MD
-
LG
public static final FlexMarginSize LG
-
XL
public static final FlexMarginSize XL
-
XXL
public static final FlexMarginSize XXL
-
-
Method Detail
-
values
public static FlexMarginSize[] 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 (FlexMarginSize c : FlexMarginSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlexMarginSize 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
-
getPropertyValue
public java.lang.String getPropertyValue()
-
-