public class UserPrivilegeResult extends DynamicData
Java class for UserPrivilegeResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UserPrivilegeResult">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="entity" type="{urn:vim25}ManagedObjectReference"/>
<element name="privileges" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
entity |
protected List<String> |
privileges |
| Constructor and Description |
|---|
UserPrivilegeResult() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
List<String> |
getPrivileges()
Gets the value of the privileges property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
protected ManagedObjectReference entity
public ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic List<String> getPrivileges()
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 privileges property.
For example, to add a new item, do as follows:
getPrivileges().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2018. All rights reserved.