com.woorea.openstack.keystone.model.Tenants Maven / Gradle / Ivy
package com.woorea.openstack.keystone.model;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
public class Tenants implements Iterable, Serializable {
@JsonProperty("tenants")
private List list;
@JsonProperty("tenants_links")
private List links;
/**
* @return the list
*/
public List getList() {
return list;
}
/**
* @return the links
*/
public List getLinks() {
return links;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "Tenants [list=" + list + ", links=" + links + "]";
}
@Override
public Iterator iterator() {
return list.iterator();
}
}