com.microsoft.bingads.v13.customerbilling.SortOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.customerbilling;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for SortOrder.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SortOrder">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Ascending"/>
* <enumeration value="Descending"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SortOrder", namespace = "https://bingads.microsoft.com/Customer/v13/Entities")
@XmlEnum
public enum SortOrder {
@XmlEnumValue("Ascending")
ASCENDING("Ascending"),
@XmlEnumValue("Descending")
DESCENDING("Descending");
private final String value;
SortOrder(String v) {
value = v;
}
public String value() {
return value;
}
public static SortOrder fromValue(String v) {
for (SortOrder c: SortOrder.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}