
com.vmware.vim25.GuestNicInfo Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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 GuestNicInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GuestNicInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="network" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ipAddress" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="macAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="connected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="deviceConfigId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GuestNicInfo", propOrder = {
"network",
"ipAddress",
"macAddress",
"connected",
"deviceConfigId"
})
public class GuestNicInfo
extends DynamicData
{
protected String network;
protected List ipAddress;
protected String macAddress;
protected boolean connected;
protected int deviceConfigId;
/**
* 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 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 macAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMacAddress() {
return macAddress;
}
/**
* Sets the value of the macAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMacAddress(String value) {
this.macAddress = value;
}
/**
* Gets the value of the connected property.
*
*/
public boolean isConnected() {
return connected;
}
/**
* Sets the value of the connected property.
*
*/
public void setConnected(boolean value) {
this.connected = value;
}
/**
* Gets the value of the deviceConfigId property.
*
*/
public int getDeviceConfigId() {
return deviceConfigId;
}
/**
* Sets the value of the deviceConfigId property.
*
*/
public void setDeviceConfigId(int value) {
this.deviceConfigId = value;
}
/**
* Sets the value of the ipAddress property.
*
* @param ipAddress
* allowed object is
* {@link String }
*
*/
public void setIpAddress(List ipAddress) {
this.ipAddress = ipAddress;
}
}