All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.Permission Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Permission", propOrder = { "entity", "principal", "group", "roleId", "propagate" }) public class Permission extends DynamicData { protected ManagedObjectReference entity; @XmlElement(required = true) protected String principal; protected boolean group; protected int roleId; protected boolean propagate; /** * Gets the value of the entity property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setEntity(ManagedObjectReference 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; } /** * Gets the value of the roleId property. * */ public int getRoleId() { return roleId; } /** * Sets the value of the roleId property. * */ public void setRoleId(int value) { this.roleId = value; } /** * Gets the value of the propagate property. * */ public boolean isPropagate() { return propagate; } /** * Sets the value of the propagate property. * */ public void setPropagate(boolean value) { this.propagate = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy