public class NetDhcpConfigInfoDhcpOptions extends DynamicData
Java class for NetDhcpConfigInfoDhcpOptions complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NetDhcpConfigInfoDhcpOptions">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="enable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="config" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<KeyValue> |
config |
protected boolean |
enable |
| Constructor and Description |
|---|
NetDhcpConfigInfoDhcpOptions() |
| Modifier and Type | Method and Description |
|---|---|
List<KeyValue> |
getConfig()
Gets the value of the config property.
|
boolean |
isEnable()
Gets the value of the enable property.
|
void |
setEnable(boolean value)
Sets the value of the enable property.
|
public boolean isEnable()
public void setEnable(boolean value)
public List<KeyValue> getConfig()
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 config property.
For example, to add a new item, do as follows:
getConfig().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValue
Copyright © 2018. All rights reserved.