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