com.vmware.vim25.HostDhcpService 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 HostDhcpService complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostDhcpService">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="spec" type="{urn:vim25}HostDhcpServiceSpec"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostDhcpService", propOrder = {
"key",
"spec"
})
public class HostDhcpService
extends DynamicData
{
@XmlElement(required = true)
protected String key;
@XmlElement(required = true)
protected HostDhcpServiceSpec spec;
/**
* 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 spec property.
*
* @return
* possible object is
* {@link HostDhcpServiceSpec }
*
*/
public HostDhcpServiceSpec getSpec() {
return spec;
}
/**
* Sets the value of the spec property.
*
* @param value
* allowed object is
* {@link HostDhcpServiceSpec }
*
*/
public void setSpec(HostDhcpServiceSpec value) {
this.spec = value;
}
}