package com.microsoft.bingads.customerbilling;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DataType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="DataType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Xml"/>
* <enumeration value="Pdf"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "DataType", namespace = "https://bingads.microsoft.com/Customer/v9/Entities")
@XmlEnum
public enum DataType {
@XmlEnumValue("Xml")
XML("Xml"),
@XmlEnumValue("Pdf")
PDF("Pdf");
private final String value;
DataType(String v) {
value = v;
}
public String value() {
return value;
}
public static DataType fromValue(String v) {
for (DataType c: DataType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}