
com.vmware.vim.GuestInfo Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for GuestInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GuestInfo">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="toolsStatus" type="{urn:vim2}VirtualMachineToolsStatus" minOccurs="0"/>
* <element name="toolsVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="guestId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="guestFamily" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="guestFullName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ipAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="net" type="{urn:vim2}GuestNicInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="disk" type="{urn:vim2}GuestDiskInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="screen" type="{urn:vim2}GuestScreenInfo" minOccurs="0"/>
* <element name="guestState" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GuestInfo", propOrder = {
"toolsStatus",
"toolsVersion",
"guestId",
"guestFamily",
"guestFullName",
"hostName",
"ipAddress",
"net",
"disk",
"screen",
"guestState"
})
public class GuestInfo
extends DynamicData
{
protected VirtualMachineToolsStatus toolsStatus;
protected String toolsVersion;
protected String guestId;
protected String guestFamily;
protected String guestFullName;
protected String hostName;
protected String ipAddress;
protected List net;
protected List disk;
protected GuestScreenInfo screen;
@XmlElement(required = true)
protected String guestState;
/**
* Gets the value of the toolsStatus property.
*
* @return
* possible object is
* {@link VirtualMachineToolsStatus }
*
*/
public VirtualMachineToolsStatus getToolsStatus() {
return toolsStatus;
}
/**
* Sets the value of the toolsStatus property.
*
* @param value
* allowed object is
* {@link VirtualMachineToolsStatus }
*
*/
public void setToolsStatus(VirtualMachineToolsStatus value) {
this.toolsStatus = value;
}
/**
* Gets the value of the toolsVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getToolsVersion() {
return toolsVersion;
}
/**
* Sets the value of the toolsVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setToolsVersion(String value) {
this.toolsVersion = value;
}
/**
* Gets the value of the guestId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGuestId() {
return guestId;
}
/**
* Sets the value of the guestId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGuestId(String value) {
this.guestId = value;
}
/**
* Gets the value of the guestFamily property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGuestFamily() {
return guestFamily;
}
/**
* Sets the value of the guestFamily property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGuestFamily(String value) {
this.guestFamily = value;
}
/**
* Gets the value of the guestFullName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGuestFullName() {
return guestFullName;
}
/**
* Sets the value of the guestFullName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGuestFullName(String value) {
this.guestFullName = value;
}
/**
* Gets the value of the hostName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHostName() {
return hostName;
}
/**
* Sets the value of the hostName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHostName(String value) {
this.hostName = value;
}
/**
* Gets the value of the ipAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIpAddress() {
return ipAddress;
}
/**
* Sets the value of the ipAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIpAddress(String value) {
this.ipAddress = value;
}
/**
* Gets the value of the net 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 net property.
*
*
* For example, to add a new item, do as follows:
*
* getNet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GuestNicInfo }
*
*
*/
public List getNet() {
if (net == null) {
net = new ArrayList();
}
return this.net;
}
/**
* Gets the value of the disk 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 disk property.
*
*
* For example, to add a new item, do as follows:
*
* getDisk().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GuestDiskInfo }
*
*
*/
public List getDisk() {
if (disk == null) {
disk = new ArrayList();
}
return this.disk;
}
/**
* Gets the value of the screen property.
*
* @return
* possible object is
* {@link GuestScreenInfo }
*
*/
public GuestScreenInfo getScreen() {
return screen;
}
/**
* Sets the value of the screen property.
*
* @param value
* allowed object is
* {@link GuestScreenInfo }
*
*/
public void setScreen(GuestScreenInfo value) {
this.screen = value;
}
/**
* Gets the value of the guestState property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGuestState() {
return guestState;
}
/**
* Sets the value of the guestState property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGuestState(String value) {
this.guestState = value;
}
/**
* Sets the value of the net property.
*
* @param net
* allowed object is
* {@link GuestNicInfo }
*
*/
public void setNet(List net) {
this.net = net;
}
/**
* Sets the value of the disk property.
*
* @param disk
* allowed object is
* {@link GuestDiskInfo }
*
*/
public void setDisk(List disk) {
this.disk = disk;
}
}