![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.NetDhcpConfigSpecDhcpOptionsSpec 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 NetDhcpConfigSpecDhcpOptionsSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NetDhcpConfigSpecDhcpOptionsSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="enable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="config" type="{urn:vim25}KeyValue" maxOccurs="unbounded"/>
* <element name="operation" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NetDhcpConfigSpecDhcpOptionsSpec", propOrder = {
"enable",
"config",
"operation"
})
public class NetDhcpConfigSpecDhcpOptionsSpec
extends DynamicData
{
protected Boolean enable;
@XmlElement(required = true)
protected List config;
@XmlElement(required = true)
protected String operation;
/**
* Gets the value of the enable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isEnable() {
return enable;
}
/**
* Sets the value of the enable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEnable(Boolean value) {
this.enable = value;
}
/**
* Gets the value of the config 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 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
* {@link KeyValue }
*
*
*/
public List getConfig() {
if (config == null) {
config = new ArrayList();
}
return this.config;
}
/**
* Gets the value of the operation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperation() {
return operation;
}
/**
* Sets the value of the operation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperation(String value) {
this.operation = value;
}
}