com.vmware.vim25.ThirdPartyLicenseAssignmentFailedReason Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ThirdPartyLicenseAssignmentFailedReason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ThirdPartyLicenseAssignmentFailedReason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="licenseAssignmentFailed"/>
* <enumeration value="moduleNotInstalled"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ThirdPartyLicenseAssignmentFailedReason")
@XmlEnum
public enum ThirdPartyLicenseAssignmentFailedReason {
@XmlEnumValue("licenseAssignmentFailed")
LICENSE_ASSIGNMENT_FAILED("licenseAssignmentFailed"),
@XmlEnumValue("moduleNotInstalled")
MODULE_NOT_INSTALLED("moduleNotInstalled");
private final String value;
ThirdPartyLicenseAssignmentFailedReason(String v) {
value = v;
}
public String value() {
return value;
}
public static ThirdPartyLicenseAssignmentFailedReason fromValue(String v) {
for (ThirdPartyLicenseAssignmentFailedReason c: ThirdPartyLicenseAssignmentFailedReason.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}