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

com.vmware.vim.UpdateAuthorizationRole Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="_this" type="{urn:vim2}ManagedObjectReference"/>
 *         <element name="roleId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="newName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="privIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "_this", "roleId", "newName", "privIds" }) @XmlRootElement(name = "UpdateAuthorizationRole") public class UpdateAuthorizationRole { @XmlElement(required = true) protected ManagedObjectReference _this; protected int roleId; @XmlElement(required = true) protected String newName; protected List privIds; /** * Gets the value of the this property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getThis() { return _this; } /** * Sets the value of the this property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setThis(ManagedObjectReference value) { this._this = 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 newName property. * * @return * possible object is * {@link String } * */ public String getNewName() { return newName; } /** * Sets the value of the newName property. * * @param value * allowed object is * {@link String } * */ public void setNewName(String value) { this.newName = value; } /** * Gets the value of the privIds property. * *

* 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 privIds property. * *

* For example, to add a new item, do as follows: *

     *    getPrivIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getPrivIds() { if (privIds == null) { privIds = new ArrayList(); } return this.privIds; } /** * Sets the value of the privIds property. * * @param privIds * allowed object is * {@link String } * */ public void setPrivIds(List privIds) { this.privIds = privIds; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy