com.vmware.vim25.PhysicalNicSpec Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PhysicalNicSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PhysicalNicSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="ip" type="{urn:vim25}HostIpConfig" minOccurs="0"/>
* <element name="linkSpeed" type="{urn:vim25}PhysicalNicLinkInfo" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PhysicalNicSpec", propOrder = {
"ip",
"linkSpeed"
})
public class PhysicalNicSpec
extends DynamicData
{
protected HostIpConfig ip;
protected PhysicalNicLinkInfo linkSpeed;
/**
* Gets the value of the ip property.
*
* @return
* possible object is
* {@link HostIpConfig }
*
*/
public HostIpConfig getIp() {
return ip;
}
/**
* Sets the value of the ip property.
*
* @param value
* allowed object is
* {@link HostIpConfig }
*
*/
public void setIp(HostIpConfig value) {
this.ip = value;
}
/**
* Gets the value of the linkSpeed property.
*
* @return
* possible object is
* {@link PhysicalNicLinkInfo }
*
*/
public PhysicalNicLinkInfo getLinkSpeed() {
return linkSpeed;
}
/**
* Sets the value of the linkSpeed property.
*
* @param value
* allowed object is
* {@link PhysicalNicLinkInfo }
*
*/
public void setLinkSpeed(PhysicalNicLinkInfo value) {
this.linkSpeed = value;
}
}