public class Permission extends DynamicData
Java class for Permission complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Permission">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="principal" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="group" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="roleId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="propagate" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
entity |
protected boolean |
group |
protected String |
principal |
protected boolean |
propagate |
protected int |
roleId |
| Constructor and Description |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
String |
getPrincipal()
Gets the value of the principal property.
|
int |
getRoleId()
Gets the value of the roleId property.
|
boolean |
isGroup()
Gets the value of the group property.
|
boolean |
isPropagate()
Gets the value of the propagate property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
void |
setGroup(boolean value)
Sets the value of the group property.
|
void |
setPrincipal(String value)
Sets the value of the principal property.
|
void |
setPropagate(boolean value)
Sets the value of the propagate property.
|
void |
setRoleId(int value)
Sets the value of the roleId property.
|
protected ManagedObjectReference entity
protected String principal
protected boolean group
protected int roleId
protected boolean propagate
public ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getPrincipal()
Stringpublic void setPrincipal(String value)
value - allowed object is
Stringpublic boolean isGroup()
public void setGroup(boolean value)
public int getRoleId()
public void setRoleId(int value)
public boolean isPropagate()
public void setPropagate(boolean value)
Copyright © 2018. All rights reserved.