com.vmware.vim25.HostVirtualNicConfig Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostVirtualNicConfig complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostVirtualNicConfig">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="changeOperation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="device" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="portgroup" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="spec" type="{urn:vim25}HostVirtualNicSpec" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostVirtualNicConfig", propOrder = {
"changeOperation",
"device",
"portgroup",
"spec"
})
public class HostVirtualNicConfig
extends DynamicData
{
protected String changeOperation;
protected String device;
@XmlElement(required = true)
protected String portgroup;
protected HostVirtualNicSpec spec;
/**
* Gets the value of the changeOperation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChangeOperation() {
return changeOperation;
}
/**
* Sets the value of the changeOperation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChangeOperation(String value) {
this.changeOperation = value;
}
/**
* Gets the value of the device property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDevice() {
return device;
}
/**
* Sets the value of the device property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDevice(String value) {
this.device = value;
}
/**
* Gets the value of the portgroup property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPortgroup() {
return portgroup;
}
/**
* Sets the value of the portgroup property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPortgroup(String value) {
this.portgroup = value;
}
/**
* Gets the value of the spec property.
*
* @return
* possible object is
* {@link HostVirtualNicSpec }
*
*/
public HostVirtualNicSpec getSpec() {
return spec;
}
/**
* Sets the value of the spec property.
*
* @param value
* allowed object is
* {@link HostVirtualNicSpec }
*
*/
public void setSpec(HostVirtualNicSpec value) {
this.spec = value;
}
}