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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.openstack.model.common.JsonRootElement;

@XmlRootElement(name="tenant")
@XmlAccessorType(XmlAccessType.NONE)
@JsonRootElement("tenant")
public class KeyStoneTenant implements Serializable {
	
	@XmlAttribute
	private String id;
	
	@XmlAttribute
	private String name;
	
	@XmlAttribute
	private boolean enabled;
	
	@XmlElement
	private String description;

	public KeyStoneTenant() {
		super();
		// TODO Auto-generated constructor stub
	}

	public KeyStoneTenant(String id, String name) {
		this.id = id;
		this.name = name;
	}

	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;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

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

