All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim.HostNetworkInfo Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

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 HostNetworkInfo complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="HostNetworkInfo">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="vswitch" type="{urn:vim2}HostVirtualSwitch" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="portgroup" type="{urn:vim2}HostPortGroup" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="pnic" type="{urn:vim2}PhysicalNic" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="vnic" type="{urn:vim2}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="consoleVnic" type="{urn:vim2}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="dnsConfig" type="{urn:vim2}HostDnsConfig" minOccurs="0"/>
 *         <element name="ipRouteConfig" type="{urn:vim2}HostIpRouteConfig" minOccurs="0"/>
 *         <element name="consoleIpRouteConfig" type="{urn:vim2}HostIpRouteConfig" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostNetworkInfo", propOrder = { "vswitch", "portgroup", "pnic", "vnic", "consoleVnic", "dnsConfig", "ipRouteConfig", "consoleIpRouteConfig" }) public class HostNetworkInfo extends DynamicData { protected List vswitch; protected List portgroup; protected List pnic; protected List vnic; protected List consoleVnic; protected HostDnsConfig dnsConfig; protected HostIpRouteConfig ipRouteConfig; protected HostIpRouteConfig consoleIpRouteConfig; /** * Gets the value of the vswitch 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 vswitch property. * *

* For example, to add a new item, do as follows: *

     *    getVswitch().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostVirtualSwitch } * * */ public List getVswitch() { if (vswitch == null) { vswitch = new ArrayList(); } return this.vswitch; } /** * Gets the value of the portgroup 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 portgroup property. * *

* For example, to add a new item, do as follows: *

     *    getPortgroup().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostPortGroup } * * */ public List getPortgroup() { if (portgroup == null) { portgroup = new ArrayList(); } return this.portgroup; } /** * Gets the value of the pnic 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 pnic property. * *

* For example, to add a new item, do as follows: *

     *    getPnic().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PhysicalNic } * * */ public List getPnic() { if (pnic == null) { pnic = new ArrayList(); } return this.pnic; } /** * Gets the value of the vnic 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 vnic property. * *

* For example, to add a new item, do as follows: *

     *    getVnic().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostVirtualNic } * * */ public List getVnic() { if (vnic == null) { vnic = new ArrayList(); } return this.vnic; } /** * Gets the value of the consoleVnic 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 consoleVnic property. * *

* For example, to add a new item, do as follows: *

     *    getConsoleVnic().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostVirtualNic } * * */ public List getConsoleVnic() { if (consoleVnic == null) { consoleVnic = new ArrayList(); } return this.consoleVnic; } /** * Gets the value of the dnsConfig property. * * @return * possible object is * {@link HostDnsConfig } * */ public HostDnsConfig getDnsConfig() { return dnsConfig; } /** * Sets the value of the dnsConfig property. * * @param value * allowed object is * {@link HostDnsConfig } * */ public void setDnsConfig(HostDnsConfig value) { this.dnsConfig = value; } /** * Gets the value of the ipRouteConfig property. * * @return * possible object is * {@link HostIpRouteConfig } * */ public HostIpRouteConfig getIpRouteConfig() { return ipRouteConfig; } /** * Sets the value of the ipRouteConfig property. * * @param value * allowed object is * {@link HostIpRouteConfig } * */ public void setIpRouteConfig(HostIpRouteConfig value) { this.ipRouteConfig = value; } /** * Gets the value of the consoleIpRouteConfig property. * * @return * possible object is * {@link HostIpRouteConfig } * */ public HostIpRouteConfig getConsoleIpRouteConfig() { return consoleIpRouteConfig; } /** * Sets the value of the consoleIpRouteConfig property. * * @param value * allowed object is * {@link HostIpRouteConfig } * */ public void setConsoleIpRouteConfig(HostIpRouteConfig value) { this.consoleIpRouteConfig = value; } /** * Sets the value of the vswitch property. * * @param vswitch * allowed object is * {@link HostVirtualSwitch } * */ public void setVswitch(List vswitch) { this.vswitch = vswitch; } /** * Sets the value of the portgroup property. * * @param portgroup * allowed object is * {@link HostPortGroup } * */ public void setPortgroup(List portgroup) { this.portgroup = portgroup; } /** * Sets the value of the pnic property. * * @param pnic * allowed object is * {@link PhysicalNic } * */ public void setPnic(List pnic) { this.pnic = pnic; } /** * Sets the value of the vnic property. * * @param vnic * allowed object is * {@link HostVirtualNic } * */ public void setVnic(List vnic) { this.vnic = vnic; } /** * Sets the value of the consoleVnic property. * * @param consoleVnic * allowed object is * {@link HostVirtualNic } * */ public void setConsoleVnic(List consoleVnic) { this.consoleVnic = consoleVnic; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy