com.microsoft.bingads.v13.campaignmanagement.AgeRange 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 AgeRange.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@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"),
@XmlEnumValue("ThirtyFiveToFiftyFour")
THIRTY_FIVE_TO_FIFTY_FOUR("ThirtyFiveToFiftyFour"),
@XmlEnumValue("FiftyFiveAndAbove")
FIFTY_FIVE_AND_ABOVE("FiftyFiveAndAbove");
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