com.vmware.vim25.HostProfileManagerAnswerFileStatus 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 HostProfileManagerAnswerFileStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="HostProfileManagerAnswerFileStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="valid"/>
* <enumeration value="invalid"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "HostProfileManagerAnswerFileStatus")
@XmlEnum
public enum HostProfileManagerAnswerFileStatus {
@XmlEnumValue("valid")
VALID("valid"),
@XmlEnumValue("invalid")
INVALID("invalid"),
@XmlEnumValue("unknown")
UNKNOWN("unknown");
private final String value;
HostProfileManagerAnswerFileStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static HostProfileManagerAnswerFileStatus fromValue(String v) {
for (HostProfileManagerAnswerFileStatus c: HostProfileManagerAnswerFileStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy