org.openstack4j.openstack.manila.domain.ManilaLimits Maven / Gradle / Ivy
package org.openstack4j.openstack.manila.domain;
import com.fasterxml.jackson.annotation.JsonRootName;
import org.openstack4j.model.manila.AbsoluteLimit;
import org.openstack4j.model.manila.Limits;
import org.openstack4j.model.manila.RateLimit;
import java.util.List;
/**
* Limits are the resource limitations that are allowed for each tenant (project).
*
* @author Daniel Gonzalez Nothnagel
*/
@JsonRootName("limits")
public class ManilaLimits implements Limits {
private static final long serialVersionUID = 1L;
private List rate;
private ManilaAbsoluteLimit absolute;
/**
* {@inheritDoc}
*/
@Override
public List extends RateLimit> getRate() {
return rate;
}
/**
* {@inheritDoc}
*/
@Override
public AbsoluteLimit getAbsolute() {
return absolute;
}
}