![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostFirewallRulesetIpList 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.XmlType;
/**
* Java class for HostFirewallRulesetIpList complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostFirewallRulesetIpList">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="ipAddress" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ipNetwork" type="{urn:vim25}HostFirewallRulesetIpNetwork" maxOccurs="unbounded" minOccurs="0"/>
* <element name="allIp" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostFirewallRulesetIpList", propOrder = {
"ipAddress",
"ipNetwork",
"allIp"
})
public class HostFirewallRulesetIpList
extends DynamicData
{
protected List ipAddress;
protected List ipNetwork;
protected boolean allIp;
/**
* Gets the value of the ipAddress 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 ipAddress property.
*
*
* For example, to add a new item, do as follows:
*
* getIpAddress().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getIpAddress() {
if (ipAddress == null) {
ipAddress = new ArrayList();
}
return this.ipAddress;
}
/**
* Gets the value of the ipNetwork 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 ipNetwork property.
*
*
* For example, to add a new item, do as follows:
*
* getIpNetwork().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostFirewallRulesetIpNetwork }
*
*
*/
public List getIpNetwork() {
if (ipNetwork == null) {
ipNetwork = new ArrayList();
}
return this.ipNetwork;
}
/**
* Gets the value of the allIp property.
*
*/
public boolean isAllIp() {
return allIp;
}
/**
* Sets the value of the allIp property.
*
*/
public void setAllIp(boolean value) {
this.allIp = value;
}
}