
com.vmware.vim.ScsiLun 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ScsiLun complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ScsiLun">
* <complexContent>
* <extension base="{urn:vim2}HostDevice">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="canonicalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="lunType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="vendor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="model" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="revision" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="scsiLevel" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="durableName" type="{urn:vim2}ScsiLunDurableName" minOccurs="0"/>
* <element name="queueDepth" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="operationalState" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ScsiLun", propOrder = {
"key",
"uuid",
"canonicalName",
"lunType",
"vendor",
"model",
"revision",
"scsiLevel",
"serialNumber",
"durableName",
"queueDepth",
"operationalState"
})
@XmlSeeAlso({
HostScsiDisk.class
})
public class ScsiLun
extends HostDevice
{
protected String key;
@XmlElement(required = true)
protected String uuid;
protected String canonicalName;
@XmlElement(required = true)
protected String lunType;
protected String vendor;
protected String model;
protected String revision;
protected Integer scsiLevel;
protected String serialNumber;
protected ScsiLunDurableName durableName;
protected Integer queueDepth;
@XmlElement(required = true)
protected List operationalState;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = 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 canonicalName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCanonicalName() {
return canonicalName;
}
/**
* Sets the value of the canonicalName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCanonicalName(String value) {
this.canonicalName = value;
}
/**
* Gets the value of the lunType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLunType() {
return lunType;
}
/**
* Sets the value of the lunType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLunType(String value) {
this.lunType = value;
}
/**
* 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 revision property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRevision() {
return revision;
}
/**
* Sets the value of the revision property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRevision(String value) {
this.revision = value;
}
/**
* Gets the value of the scsiLevel property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getScsiLevel() {
return scsiLevel;
}
/**
* Sets the value of the scsiLevel property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setScsiLevel(Integer value) {
this.scsiLevel = value;
}
/**
* Gets the value of the serialNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerialNumber() {
return serialNumber;
}
/**
* Sets the value of the serialNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerialNumber(String value) {
this.serialNumber = value;
}
/**
* Gets the value of the durableName property.
*
* @return
* possible object is
* {@link ScsiLunDurableName }
*
*/
public ScsiLunDurableName getDurableName() {
return durableName;
}
/**
* Sets the value of the durableName property.
*
* @param value
* allowed object is
* {@link ScsiLunDurableName }
*
*/
public void setDurableName(ScsiLunDurableName value) {
this.durableName = value;
}
/**
* Gets the value of the queueDepth property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getQueueDepth() {
return queueDepth;
}
/**
* Sets the value of the queueDepth property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setQueueDepth(Integer value) {
this.queueDepth = value;
}
/**
* Gets the value of the operationalState 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 operationalState property.
*
*
* For example, to add a new item, do as follows:
*
* getOperationalState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getOperationalState() {
if (operationalState == null) {
operationalState = new ArrayList();
}
return this.operationalState;
}
/**
* Sets the value of the operationalState property.
*
* @param operationalState
* allowed object is
* {@link String }
*
*/
public void setOperationalState(List operationalState) {
this.operationalState = operationalState;
}
}