
com.microsoft.bingads.v13.campaignmanagement.AgeRange Maven / Gradle / Ivy
package com.microsoft.bingads.v13.campaignmanagement;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AgeRange.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AgeRange">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Unknown"/>
* <enumeration value="EighteenToTwentyFour"/>
* <enumeration value="TwentyFiveToThirtyFour"/>
* <enumeration value="ThirtyFiveToFourtyNine"/>
* <enumeration value="FiftyToSixtyFour"/>
* <enumeration value="SixtyFiveAndAbove"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AgeRange")
@XmlEnum
public enum AgeRange {
@XmlEnumValue("Unknown")
UNKNOWN("Unknown"),
@XmlEnumValue("EighteenToTwentyFour")
EIGHTEEN_TO_TWENTY_FOUR("EighteenToTwentyFour"),
@XmlEnumValue("TwentyFiveToThirtyFour")
TWENTY_FIVE_TO_THIRTY_FOUR("TwentyFiveToThirtyFour"),
@XmlEnumValue("ThirtyFiveToFourtyNine")
THIRTY_FIVE_TO_FOURTY_NINE("ThirtyFiveToFourtyNine"),
@XmlEnumValue("FiftyToSixtyFour")
FIFTY_TO_SIXTY_FOUR("FiftyToSixtyFour"),
@XmlEnumValue("SixtyFiveAndAbove")
SIXTY_FIVE_AND_ABOVE("SixtyFiveAndAbove");
private final String value;
AgeRange(String v) {
value = v;
}
public String value() {
return value;
}
public static AgeRange fromValue(String v) {
for (AgeRange c: AgeRange.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy