
com.vmware.vim.RemoveInternetScsiSendTargets 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="_this" type="{urn:vim2}ManagedObjectReference"/>
* <element name="iScsiHbaDevice" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="targets" type="{urn:vim2}HostInternetScsiHbaSendTarget" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"_this",
"iScsiHbaDevice",
"targets"
})
@XmlRootElement(name = "RemoveInternetScsiSendTargets")
public class RemoveInternetScsiSendTargets {
@XmlElement(required = true)
protected ManagedObjectReference _this;
@XmlElement(required = true)
protected String iScsiHbaDevice;
@XmlElement(required = true)
protected List targets;
/**
* Gets the value of the this property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getThis() {
return _this;
}
/**
* Sets the value of the this property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setThis(ManagedObjectReference value) {
this._this = value;
}
/**
* Gets the value of the iScsiHbaDevice property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIScsiHbaDevice() {
return iScsiHbaDevice;
}
/**
* Sets the value of the iScsiHbaDevice property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIScsiHbaDevice(String value) {
this.iScsiHbaDevice = value;
}
/**
* Gets the value of the targets 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 targets property.
*
*
* For example, to add a new item, do as follows:
*
* getTargets().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostInternetScsiHbaSendTarget }
*
*
*/
public List getTargets() {
if (targets == null) {
targets = new ArrayList();
}
return this.targets;
}
/**
* Sets the value of the targets property.
*
* @param targets
* allowed object is
* {@link HostInternetScsiHbaSendTarget }
*
*/
public void setTargets(List targets) {
this.targets = targets;
}
}