![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostOpaqueSwitch 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 HostOpaqueSwitch complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostOpaqueSwitch">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="pnic" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pnicZone" type="{urn:vim25}HostOpaqueSwitchPhysicalNicZone" maxOccurs="unbounded" minOccurs="0"/>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="vtep" type="{urn:vim25}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
* <element name="extraConfig" type="{urn:vim25}OptionValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostOpaqueSwitch", propOrder = {
"key",
"name",
"pnic",
"pnicZone",
"status",
"vtep",
"extraConfig"
})
public class HostOpaqueSwitch
extends DynamicData
{
@XmlElement(required = true)
protected String key;
protected String name;
protected List pnic;
protected List pnicZone;
protected String status;
protected List vtep;
protected List extraConfig;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the pnic 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 pnic property.
*
*
* For example, to add a new item, do as follows:
*
* getPnic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPnic() {
if (pnic == null) {
pnic = new ArrayList();
}
return this.pnic;
}
/**
* Gets the value of the pnicZone 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 pnicZone property.
*
*
* For example, to add a new item, do as follows:
*
* getPnicZone().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostOpaqueSwitchPhysicalNicZone }
*
*
*/
public List getPnicZone() {
if (pnicZone == null) {
pnicZone = new ArrayList();
}
return this.pnicZone;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the vtep 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 vtep property.
*
*
* For example, to add a new item, do as follows:
*
* getVtep().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualNic }
*
*
*/
public List getVtep() {
if (vtep == null) {
vtep = new ArrayList();
}
return this.vtep;
}
/**
* Gets the value of the extraConfig 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 extraConfig property.
*
*
* For example, to add a new item, do as follows:
*
* getExtraConfig().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OptionValue }
*
*
*/
public List getExtraConfig() {
if (extraConfig == null) {
extraConfig = new ArrayList();
}
return this.extraConfig;
}
}