com.vmware.vim25.LicenseDowngradeDisallowed 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 LicenseDowngradeDisallowed complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LicenseDowngradeDisallowed">
* <complexContent>
* <extension base="{urn:vim25}NotEnoughLicenses">
* <sequence>
* <element name="edition" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="entityId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="features" type="{urn:vim25}KeyAnyValue" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LicenseDowngradeDisallowed", propOrder = {
"edition",
"entityId",
"features"
})
public class LicenseDowngradeDisallowed
extends NotEnoughLicenses
{
@XmlElement(required = true)
protected String edition;
@XmlElement(required = true)
protected String entityId;
@XmlElement(required = true)
protected List features;
/**
* Gets the value of the edition property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEdition() {
return edition;
}
/**
* Sets the value of the edition property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEdition(String value) {
this.edition = value;
}
/**
* Gets the value of the entityId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityId() {
return entityId;
}
/**
* Sets the value of the entityId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityId(String value) {
this.entityId = value;
}
/**
* Gets the value of the features 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 features property.
*
*
* For example, to add a new item, do as follows:
*
* getFeatures().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyAnyValue }
*
*
*/
public List getFeatures() {
if (features == null) {
features = new ArrayList();
}
return this.features;
}
}