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

com.aeontronix.enhancedmule.tools.anypoint.api.SLATierLimits Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha4
Show newest version
/*
 * Copyright (c) Aeontronix 2019
 */

package com.aeontronix.enhancedmule.tools.anypoint.api;

import com.fasterxml.jackson.annotation.JsonProperty;

public class SLATierLimits {
    @JsonProperty
    private boolean visible;
    @JsonProperty(required = true)
    private int timePeriodInMilliseconds;
    @JsonProperty(required = true)
    private int maximumRequests;

    public SLATierLimits() {
    }

    public SLATierLimits(boolean visible, int timePeriodInMilliseconds, int maximumRequests) {
        this.visible = visible;
        this.timePeriodInMilliseconds = timePeriodInMilliseconds;
        this.maximumRequests = maximumRequests;
    }

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }

    public int getTimePeriodInMilliseconds() {
        return timePeriodInMilliseconds;
    }

    public void setTimePeriodInMilliseconds(int timePeriodInMilliseconds) {
        this.timePeriodInMilliseconds = timePeriodInMilliseconds;
    }

    public int getMaximumRequests() {
        return maximumRequests;
    }

    public void setMaximumRequests(int maximumRequests) {
        this.maximumRequests = maximumRequests;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy