com.microsoft.bingads.v13.campaignmanagement.CampaignStatus 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 CampaignStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "CampaignStatus")
@XmlEnum
public enum CampaignStatus {
@XmlEnumValue("Active")
ACTIVE("Active"),
@XmlEnumValue("Paused")
PAUSED("Paused"),
@XmlEnumValue("BudgetPaused")
BUDGET_PAUSED("BudgetPaused"),
@XmlEnumValue("BudgetAndManualPaused")
BUDGET_AND_MANUAL_PAUSED("BudgetAndManualPaused"),
@XmlEnumValue("Deleted")
DELETED("Deleted"),
@XmlEnumValue("Suspended")
SUSPENDED("Suspended");
private final String value;
CampaignStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static CampaignStatus fromValue(String v) {
for (CampaignStatus c: CampaignStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy