com.microsoft.bingads.v13.campaignmanagement.AdStatus Maven / Gradle / Ivy
package com.microsoft.bingads.v13.campaignmanagement;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for AdStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "AdStatus")
@XmlEnum
public enum AdStatus {
@XmlEnumValue("Inactive")
INACTIVE("Inactive"),
@XmlEnumValue("Active")
ACTIVE("Active"),
@XmlEnumValue("Paused")
PAUSED("Paused"),
@XmlEnumValue("Deleted")
DELETED("Deleted");
private final String value;
AdStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static AdStatus fromValue(String v) {
for (AdStatus c: AdStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy