![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.LicenseManagerLicenseInfo 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 LicenseManagerLicenseInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LicenseManagerLicenseInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="licenseKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="editionKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="total" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="used" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="costUnit" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="properties" type="{urn:vim25}KeyAnyValue" maxOccurs="unbounded" minOccurs="0"/>
* <element name="labels" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LicenseManagerLicenseInfo", propOrder = {
"licenseKey",
"editionKey",
"name",
"total",
"used",
"costUnit",
"properties",
"labels"
})
public class LicenseManagerLicenseInfo
extends DynamicData
{
@XmlElement(required = true)
protected String licenseKey;
@XmlElement(required = true)
protected String editionKey;
@XmlElement(required = true)
protected String name;
protected int total;
protected Integer used;
@XmlElement(required = true)
protected String costUnit;
protected List properties;
protected List labels;
/**
* Gets the value of the licenseKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLicenseKey() {
return licenseKey;
}
/**
* Sets the value of the licenseKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLicenseKey(String value) {
this.licenseKey = value;
}
/**
* Gets the value of the editionKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditionKey() {
return editionKey;
}
/**
* Sets the value of the editionKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditionKey(String value) {
this.editionKey = 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 total property.
*
*/
public int getTotal() {
return total;
}
/**
* Sets the value of the total property.
*
*/
public void setTotal(int value) {
this.total = value;
}
/**
* Gets the value of the used property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getUsed() {
return used;
}
/**
* Sets the value of the used property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setUsed(Integer value) {
this.used = value;
}
/**
* Gets the value of the costUnit property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCostUnit() {
return costUnit;
}
/**
* Sets the value of the costUnit property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCostUnit(String value) {
this.costUnit = value;
}
/**
* Gets the value of the properties 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 properties property.
*
*
* For example, to add a new item, do as follows:
*
* getProperties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyAnyValue }
*
*
*/
public List getProperties() {
if (properties == null) {
properties = new ArrayList();
}
return this.properties;
}
/**
* Gets the value of the labels 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 labels property.
*
*
* For example, to add a new item, do as follows:
*
* getLabels().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyValue }
*
*
*/
public List getLabels() {
if (labels == null) {
labels = new ArrayList();
}
return this.labels;
}
}