package org.openstack.model.identity;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import org.openstack.model.common.JsonRootElement;

@XmlRootElement(name="role")
@XmlAccessorType(XmlAccessType.NONE)
@JsonRootElement("role")
public class KeyStoneRole implements Serializable {
	
	@XmlAttribute
	private String id;
	
	@XmlAttribute
	private String name;

	@XmlAttribute
	private String serviceId;

	@XmlAttribute
	private String tenantId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", name=" + name + "]";
	}
	
}

