![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.NetIpConfigInfoIpAddressOrigin 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 NetIpConfigInfoIpAddressOrigin.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="NetIpConfigInfoIpAddressOrigin">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="other"/>
* <enumeration value="manual"/>
* <enumeration value="dhcp"/>
* <enumeration value="linklayer"/>
* <enumeration value="random"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "NetIpConfigInfoIpAddressOrigin")
@XmlEnum
public enum NetIpConfigInfoIpAddressOrigin {
@XmlEnumValue("other")
OTHER("other"),
@XmlEnumValue("manual")
MANUAL("manual"),
@XmlEnumValue("dhcp")
DHCP("dhcp"),
@XmlEnumValue("linklayer")
LINKLAYER("linklayer"),
@XmlEnumValue("random")
RANDOM("random");
private final String value;
NetIpConfigInfoIpAddressOrigin(String v) {
value = v;
}
public String value() {
return value;
}
public static NetIpConfigInfoIpAddressOrigin fromValue(String v) {
for (NetIpConfigInfoIpAddressOrigin c: NetIpConfigInfoIpAddressOrigin.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy