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

com.vmware.vim25.PhysicalNicHintInfo Maven / Gradle / Ivy

The newest version!

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

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

 * <complexType name="PhysicalNicHintInfo">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="device" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="subnet" type="{urn:vim25}PhysicalNicIpHint" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="network" type="{urn:vim25}PhysicalNicNameHint" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="connectedSwitchPort" type="{urn:vim25}PhysicalNicCdpInfo" minOccurs="0"/>
 *         <element name="lldpInfo" type="{urn:vim25}LinkLayerDiscoveryProtocolInfo" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PhysicalNicHintInfo", propOrder = { "device", "subnet", "network", "connectedSwitchPort", "lldpInfo" }) public class PhysicalNicHintInfo extends DynamicData { @XmlElement(required = true) protected String device; protected List subnet; protected List network; protected PhysicalNicCdpInfo connectedSwitchPort; protected LinkLayerDiscoveryProtocolInfo lldpInfo; /** * Gets the value of the device property. * * @return * possible object is * {@link String } * */ public String getDevice() { return device; } /** * Sets the value of the device property. * * @param value * allowed object is * {@link String } * */ public void setDevice(String value) { this.device = value; } /** * Gets the value of the subnet 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 subnet property. * *

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

     *    getSubnet().add(newItem);
     * 
* * *

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

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

     *    getNetwork().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PhysicalNicNameHint } * * */ public List getNetwork() { if (network == null) { network = new ArrayList(); } return this.network; } /** * Gets the value of the connectedSwitchPort property. * * @return * possible object is * {@link PhysicalNicCdpInfo } * */ public PhysicalNicCdpInfo getConnectedSwitchPort() { return connectedSwitchPort; } /** * Sets the value of the connectedSwitchPort property. * * @param value * allowed object is * {@link PhysicalNicCdpInfo } * */ public void setConnectedSwitchPort(PhysicalNicCdpInfo value) { this.connectedSwitchPort = value; } /** * Gets the value of the lldpInfo property. * * @return * possible object is * {@link LinkLayerDiscoveryProtocolInfo } * */ public LinkLayerDiscoveryProtocolInfo getLldpInfo() { return lldpInfo; } /** * Sets the value of the lldpInfo property. * * @param value * allowed object is * {@link LinkLayerDiscoveryProtocolInfo } * */ public void setLldpInfo(LinkLayerDiscoveryProtocolInfo value) { this.lldpInfo = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy