![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualNicManagerNetConfig Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
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 VirtualNicManagerNetConfig complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualNicManagerNetConfig">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="nicType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="multiSelectAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="candidateVnic" type="{urn:vim25}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
* <element name="selectedVnic" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualNicManagerNetConfig", propOrder = {
"nicType",
"multiSelectAllowed",
"candidateVnic",
"selectedVnic"
})
public class VirtualNicManagerNetConfig
extends DynamicData
{
@XmlElement(required = true)
protected String nicType;
protected boolean multiSelectAllowed;
protected List candidateVnic;
protected List selectedVnic;
/**
* Gets the value of the nicType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNicType() {
return nicType;
}
/**
* Sets the value of the nicType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNicType(String value) {
this.nicType = value;
}
/**
* Gets the value of the multiSelectAllowed property.
*
*/
public boolean isMultiSelectAllowed() {
return multiSelectAllowed;
}
/**
* Sets the value of the multiSelectAllowed property.
*
*/
public void setMultiSelectAllowed(boolean value) {
this.multiSelectAllowed = value;
}
/**
* Gets the value of the candidateVnic property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the candidateVnic property.
*
*
* For example, to add a new item, do as follows:
*
* getCandidateVnic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualNic }
*
*
*/
public List getCandidateVnic() {
if (candidateVnic == null) {
candidateVnic = new ArrayList();
}
return this.candidateVnic;
}
/**
* Gets the value of the selectedVnic property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the selectedVnic property.
*
*
* For example, to add a new item, do as follows:
*
* getSelectedVnic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSelectedVnic() {
if (selectedVnic == null) {
selectedVnic = new ArrayList();
}
return this.selectedVnic;
}
}