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