
tsg.ns.wsdl.coop.ResourceAllocationAllocationUnit Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for ResourceAllocationAllocationUnit.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="ResourceAllocationAllocationUnit">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_hours"/>
* <enumeration value="_percentOfTime"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ResourceAllocationAllocationUnit", namespace = "urn:types.scheduling_2023_1.activities.webservices.netsuite.com")
@XmlEnum
public enum ResourceAllocationAllocationUnit {
@XmlEnumValue("_hours")
HOURS("_hours"),
@XmlEnumValue("_percentOfTime")
PERCENT_OF_TIME("_percentOfTime");
private final String value;
ResourceAllocationAllocationUnit(String v) {
value = v;
}
public String value() {
return value;
}
public static ResourceAllocationAllocationUnit fromValue(String v) {
for (ResourceAllocationAllocationUnit c: ResourceAllocationAllocationUnit.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy