public enum CreativeTemplateStatus extends Enum<CreativeTemplateStatus>
Java class for CreativeTemplateStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CreativeTemplateStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="INACTIVE"/>
<enumeration value="DELETED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
The
CreativeTemplate is active |
DELETED
The
CreativeTemplate is deleted. |
INACTIVE
The
CreativeTemplate is inactive. |
| Modifier and Type | Method and Description |
|---|---|
static CreativeTemplateStatus |
fromValue(String v) |
String |
value() |
static CreativeTemplateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreativeTemplateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeTemplateStatus ACTIVE
CreativeTemplate is activepublic static final CreativeTemplateStatus INACTIVE
CreativeTemplate is inactive. Users cannot create new creatives
from this template, but existing ones can be edited and continue to servepublic static final CreativeTemplateStatus DELETED
CreativeTemplate is deleted. Creatives created from this CreativeTemplate
can no longer serve.public static CreativeTemplateStatus[] values()
for (CreativeTemplateStatus c : CreativeTemplateStatus.values()) System.out.println(c);
public static CreativeTemplateStatus 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 String value()
public static CreativeTemplateStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.