public enum AdRuleStatus extends Enum<AdRuleStatus>
Java class for AdRuleStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdRuleStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="INACTIVE"/>
<enumeration value="DELETED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
Created and ready to be served.
|
DELETED
Marked as deleted, not user-visible.
|
INACTIVE
Paused, user-visible.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AdRuleStatus |
fromValue(String v) |
String |
value() |
static AdRuleStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdRuleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdRuleStatus ACTIVE
public static final AdRuleStatus INACTIVE
public static final AdRuleStatus DELETED
public static final AdRuleStatus UNKNOWN
public static AdRuleStatus[] values()
for (AdRuleStatus c : AdRuleStatus.values()) System.out.println(c);
public static AdRuleStatus 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 AdRuleStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.