![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostHardwareSummary 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostHardwareSummary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostHardwareSummary">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="vendor" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="model" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="otherIdentifyingInfo" type="{urn:vim25}HostSystemIdentificationInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="memorySize" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="cpuModel" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="cpuMhz" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="numCpuPkgs" type="{http://www.w3.org/2001/XMLSchema}short"/>
* <element name="numCpuCores" type="{http://www.w3.org/2001/XMLSchema}short"/>
* <element name="numCpuThreads" type="{http://www.w3.org/2001/XMLSchema}short"/>
* <element name="numNics" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="numHBAs" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostHardwareSummary", propOrder = {
"vendor",
"model",
"uuid",
"otherIdentifyingInfo",
"memorySize",
"cpuModel",
"cpuMhz",
"numCpuPkgs",
"numCpuCores",
"numCpuThreads",
"numNics",
"numHBAs"
})
public class HostHardwareSummary
extends DynamicData
{
@XmlElement(required = true)
protected String vendor;
@XmlElement(required = true)
protected String model;
@XmlElement(required = true)
protected String uuid;
protected List otherIdentifyingInfo;
protected long memorySize;
@XmlElement(required = true)
protected String cpuModel;
protected int cpuMhz;
protected short numCpuPkgs;
protected short numCpuCores;
protected short numCpuThreads;
protected int numNics;
protected int numHBAs;
/**
* Gets the value of the vendor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVendor() {
return vendor;
}
/**
* Sets the value of the vendor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVendor(String value) {
this.vendor = value;
}
/**
* Gets the value of the model property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModel() {
return model;
}
/**
* Sets the value of the model property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModel(String value) {
this.model = value;
}
/**
* Gets the value of the uuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUuid() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUuid(String value) {
this.uuid = value;
}
/**
* Gets the value of the otherIdentifyingInfo 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 otherIdentifyingInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getOtherIdentifyingInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostSystemIdentificationInfo }
*
*
*/
public List getOtherIdentifyingInfo() {
if (otherIdentifyingInfo == null) {
otherIdentifyingInfo = new ArrayList();
}
return this.otherIdentifyingInfo;
}
/**
* Gets the value of the memorySize property.
*
*/
public long getMemorySize() {
return memorySize;
}
/**
* Sets the value of the memorySize property.
*
*/
public void setMemorySize(long value) {
this.memorySize = value;
}
/**
* Gets the value of the cpuModel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCpuModel() {
return cpuModel;
}
/**
* Sets the value of the cpuModel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCpuModel(String value) {
this.cpuModel = value;
}
/**
* Gets the value of the cpuMhz property.
*
*/
public int getCpuMhz() {
return cpuMhz;
}
/**
* Sets the value of the cpuMhz property.
*
*/
public void setCpuMhz(int value) {
this.cpuMhz = value;
}
/**
* Gets the value of the numCpuPkgs property.
*
*/
public short getNumCpuPkgs() {
return numCpuPkgs;
}
/**
* Sets the value of the numCpuPkgs property.
*
*/
public void setNumCpuPkgs(short value) {
this.numCpuPkgs = value;
}
/**
* Gets the value of the numCpuCores property.
*
*/
public short getNumCpuCores() {
return numCpuCores;
}
/**
* Sets the value of the numCpuCores property.
*
*/
public void setNumCpuCores(short value) {
this.numCpuCores = value;
}
/**
* Gets the value of the numCpuThreads property.
*
*/
public short getNumCpuThreads() {
return numCpuThreads;
}
/**
* Sets the value of the numCpuThreads property.
*
*/
public void setNumCpuThreads(short value) {
this.numCpuThreads = value;
}
/**
* Gets the value of the numNics property.
*
*/
public int getNumNics() {
return numNics;
}
/**
* Sets the value of the numNics property.
*
*/
public void setNumNics(int value) {
this.numNics = value;
}
/**
* Gets the value of the numHBAs property.
*
*/
public int getNumHBAs() {
return numHBAs;
}
/**
* Sets the value of the numHBAs property.
*
*/
public void setNumHBAs(int value) {
this.numHBAs = value;
}
}