public class AddLicenseRequestType extends Object
Java class for AddLicenseRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AddLicenseRequestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="_this" type="{urn:vim25}ManagedObjectReference"/>
<element name="licenseKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="labels" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
_this |
protected List<KeyValue> |
labels |
protected String |
licenseKey |
| Constructor and Description |
|---|
AddLicenseRequestType() |
| Modifier and Type | Method and Description |
|---|---|
List<KeyValue> |
getLabels()
Gets the value of the labels property.
|
String |
getLicenseKey()
Gets the value of the licenseKey property.
|
ManagedObjectReference |
getThis()
Gets the value of the this property.
|
void |
setLicenseKey(String value)
Sets the value of the licenseKey property.
|
void |
setThis(ManagedObjectReference value)
Sets the value of the this property.
|
protected ManagedObjectReference _this
protected String licenseKey
public ManagedObjectReference getThis()
ManagedObjectReferencepublic void setThis(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getLicenseKey()
Stringpublic void setLicenseKey(String value)
value - allowed object is
Stringpublic List<KeyValue> getLabels()
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
KeyValue
Copyright © 2018. All rights reserved.