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

org.openstack4j.model.identity.Tenant Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.model.identity;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.identity.builder.TenantBuilder;

/**
 * Tenant Model class use to group/isolate resources and/or identity objects
 * 
 * @author Jeremy Unruh
 * 
 * @see  {
	
	/**
	 * By providing an ID it is assumed this object will be mapped to an existing Tenant.
	 *
	 * @return the id of the tenant
	 */
	String getId();
	
	/**
	 * @return the name of the tenant
	 */
	String getName();
	
	/**
	 * @return the description of the tenant
	 */
	String getDescription();
	
	/**
	 * @return if the tenant is enabled
	 */
	boolean isEnabled();
	
	void delete();
	
	void update();
	
	void addUser(String userId, String roleId);
	
	void removeUser(String userId, String roleId);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy