com.vmware.vim25.NetIpRouteConfigSpecIpRouteSpec 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 NetIpRouteConfigSpecIpRouteSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NetIpRouteConfigSpecIpRouteSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="network" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="prefixLength" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="gateway" type="{urn:vim25}NetIpRouteConfigSpecGatewaySpec"/>
* <element name="operation" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NetIpRouteConfigSpecIpRouteSpec", propOrder = {
"network",
"prefixLength",
"gateway",
"operation"
})
public class NetIpRouteConfigSpecIpRouteSpec
extends DynamicData
{
@XmlElement(required = true)
protected String network;
protected int prefixLength;
@XmlElement(required = true)
protected NetIpRouteConfigSpecGatewaySpec gateway;
@XmlElement(required = true)
protected String operation;
/**
* Gets the value of the network property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNetwork() {
return network;
}
/**
* Sets the value of the network property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNetwork(String value) {
this.network = value;
}
/**
* Gets the value of the prefixLength property.
*
*/
public int getPrefixLength() {
return prefixLength;
}
/**
* Sets the value of the prefixLength property.
*
*/
public void setPrefixLength(int value) {
this.prefixLength = value;
}
/**
* Gets the value of the gateway property.
*
* @return
* possible object is
* {@link NetIpRouteConfigSpecGatewaySpec }
*
*/
public NetIpRouteConfigSpecGatewaySpec getGateway() {
return gateway;
}
/**
* Sets the value of the gateway property.
*
* @param value
* allowed object is
* {@link NetIpRouteConfigSpecGatewaySpec }
*
*/
public void setGateway(NetIpRouteConfigSpecGatewaySpec value) {
this.gateway = value;
}
/**
* 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;
}
}