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