All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.api.server.ApiDetail Maven / Gradle / Ivy

There is a newer version: 10.0.12
Show newest version
package shz.api.server;

import shz.core.structure.RateLimiter;

public final class ApiDetail {
    private int permission;
    private boolean login;
    private boolean enabled;
    private RateLimiter rateLimiter;
    private boolean reusable;
    private long repeatedLimit;
    private boolean record;

    public int getPermission() {
        return permission;
    }

    public void setPermission(int permission) {
        this.permission = permission;
    }

    public boolean isLogin() {
        return login;
    }

    public void setLogin(boolean login) {
        this.login = login;
    }

    public boolean isEnabled() {
        return enabled;
    }

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

    public RateLimiter getRateLimiter() {
        return rateLimiter;
    }

    public void setRateLimiter(RateLimiter rateLimiter) {
        this.rateLimiter = rateLimiter;
    }

    public boolean isReusable() {
        return reusable;
    }

    public void setReusable(boolean reusable) {
        this.reusable = reusable;
    }

    public long getRepeatedLimit() {
        return repeatedLimit;
    }

    public void setRepeatedLimit(long repeatedLimit) {
        this.repeatedLimit = repeatedLimit;
    }

    public boolean isRecord() {
        return record;
    }

    public void setRecord(boolean record) {
        this.record = record;
    }

    @Override
    public String toString() {
        return "ApiDetail{" +
                "permission=" + permission +
                ", login=" + login +
                ", enabled=" + enabled +
                ", rateLimiter=" + rateLimiter +
                ", reusable=" + reusable +
                ", repeatedLimit=" + repeatedLimit +
                ", record=" + record +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy