Enum CreativeTemplateVariableType
- java.lang.Object
-
- java.lang.Enum<CreativeTemplateVariableType>
-
- ch.brix.gql.client.frontify.enums.CreativeTemplateVariableType
-
- All Implemented Interfaces:
Serializable,Comparable<CreativeTemplateVariableType>,java.lang.constant.Constable
public enum CreativeTemplateVariableType extends Enum<CreativeTemplateVariableType>
List of possible `CreativeTemplateVariable` types.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLBoolean Variable Type, possible values are `true` or `false`COLORColor Variable Type, you can either pass an rgba object or a HEX value as stringIMAGEImage Variable Type, values are `AssetID`s for referencingNUMBERNumber Variable TypeTEXTText content Variable Type
-
Method Summary
Modifier and Type Method Description StringtoString()static CreativeTemplateVariableTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CreativeTemplateVariableType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
@SerializedName("BOOL") public static final CreativeTemplateVariableType BOOLBoolean Variable Type, possible values are `true` or `false`
-
NUMBER
@SerializedName("NUMBER") public static final CreativeTemplateVariableType NUMBERNumber Variable Type
-
TEXT
@SerializedName("TEXT") public static final CreativeTemplateVariableType TEXTText content Variable Type
-
IMAGE
@SerializedName("IMAGE") public static final CreativeTemplateVariableType IMAGEImage Variable Type, values are `AssetID`s for referencing
-
COLOR
@SerializedName("COLOR") public static final CreativeTemplateVariableType COLORColor Variable Type, you can either pass an rgba object or a HEX value as string
-
-
Method Detail
-
values
public static CreativeTemplateVariableType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreativeTemplateVariableType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<CreativeTemplateVariableType>
-
-