com.microsoft.bingads.v13.adinsight.AuctionSegment Maven / Gradle / Ivy
package com.microsoft.bingads.v13.adinsight;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for AuctionSegment.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "AuctionSegment")
@XmlEnum
public enum AuctionSegment {
@XmlEnumValue("Day")
DAY("Day"),
@XmlEnumValue("Week")
WEEK("Week"),
@XmlEnumValue("Month")
MONTH("Month"),
@XmlEnumValue("Quarter")
QUARTER("Quarter"),
@XmlEnumValue("DayOfWeek")
DAY_OF_WEEK("DayOfWeek"),
@XmlEnumValue("Device")
DEVICE("Device");
private final String value;
AuctionSegment(String v) {
value = v;
}
public String value() {
return value;
}
public static AuctionSegment fromValue(String v) {
for (AuctionSegment c: AuctionSegment.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy