![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.PermissionEvent Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PermissionEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PermissionEvent">
* <complexContent>
* <extension base="{urn:vim25}AuthorizationEvent">
* <sequence>
* <element name="entity" type="{urn:vim25}ManagedEntityEventArgument"/>
* <element name="principal" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="group" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PermissionEvent", propOrder = {
"entity",
"principal",
"group"
})
@XmlSeeAlso({
PermissionAddedEvent.class,
PermissionUpdatedEvent.class,
PermissionRemovedEvent.class
})
public class PermissionEvent
extends AuthorizationEvent
{
@XmlElement(required = true)
protected ManagedEntityEventArgument entity;
@XmlElement(required = true)
protected String principal;
protected boolean group;
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link ManagedEntityEventArgument }
*
*/
public ManagedEntityEventArgument getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link ManagedEntityEventArgument }
*
*/
public void setEntity(ManagedEntityEventArgument value) {
this.entity = value;
}
/**
* Gets the value of the principal property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrincipal() {
return principal;
}
/**
* Sets the value of the principal property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrincipal(String value) {
this.principal = value;
}
/**
* Gets the value of the group property.
*
*/
public boolean isGroup() {
return group;
}
/**
* Sets the value of the group property.
*
*/
public void setGroup(boolean value) {
this.group = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy