<gh_stars>0
package com.robrua.orianna.type.api;

/**
 * Used to limit the rate fo calls to the API client-side
 *
 * @author <NAME> (FatalElement - NA) (<EMAIL>)
 */
public class RateLimit {
    public final int callsPerEpoch, secondsPerEpoch;

    /**
     * @param callsPerEpoch
     *            the number of calls allowed in each epoch
     * @param secondsPerEpoch
     *            the number of seconds in each epoch
     */
    public RateLimit(final int callsPerEpoch, final int secondsPerEpoch) {
        this.callsPerEpoch = callsPerEpoch;
        this.secondsPerEpoch = secondsPerEpoch;
    }
}
