com.vmware.vim25.DVPortConfigSpec 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 DVPortConfigSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DVPortConfigSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="operation" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="scope" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="setting" type="{urn:vim25}DVPortSetting" minOccurs="0"/>
* <element name="configVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DVPortConfigSpec", propOrder = {
"operation",
"key",
"name",
"scope",
"description",
"setting",
"configVersion"
})
public class DVPortConfigSpec
extends DynamicData
{
@XmlElement(required = true)
protected String operation;
protected String key;
protected String name;
protected List scope;
protected String description;
protected DVPortSetting setting;
protected String configVersion;
/**
* Gets the value of the operation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperation() {
return operation;
}
/**
* Sets the value of the operation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperation(String value) {
this.operation = value;
}
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the scope 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 scope property.
*
*
* For example, to add a new item, do as follows:
*
* getScope().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getScope() {
if (scope == null) {
scope = new ArrayList();
}
return this.scope;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the setting property.
*
* @return
* possible object is
* {@link DVPortSetting }
*
*/
public DVPortSetting getSetting() {
return setting;
}
/**
* Sets the value of the setting property.
*
* @param value
* allowed object is
* {@link DVPortSetting }
*
*/
public void setSetting(DVPortSetting value) {
this.setting = value;
}
/**
* Gets the value of the configVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConfigVersion() {
return configVersion;
}
/**
* Sets the value of the configVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConfigVersion(String value) {
this.configVersion = value;
}
}