com.microsoft.bingads.v13.adinsight.TimeInterval 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 TimeInterval.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "TimeInterval")
@XmlEnum
public enum TimeInterval {
@XmlEnumValue("LastMonth")
LAST_MONTH("LastMonth"),
@XmlEnumValue("LastWeek")
LAST_WEEK("LastWeek"),
@XmlEnumValue("LastDay")
LAST_DAY("LastDay");
private final String value;
TimeInterval(String v) {
value = v;
}
public String value() {
return value;
}
public static TimeInterval fromValue(String v) {
for (TimeInterval c: TimeInterval.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy