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

shz.api.vo.UpdateApiVo Maven / Gradle / Ivy

The newest version!
package shz.api.vo;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class UpdateApiVo {
    @NotNull(message = "ID不能为空")
    private Long id;
    private Boolean enabled;
    @Min(value = 0, message = "每秒限制次数不能小于0")
    private Integer rateLimit;
    @Min(value = 0, message = "提交间隔限制秒数不能小于0")
    private Integer intervalLimit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getEnabled() {
        return enabled;
    }

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

    public Integer getRateLimit() {
        return rateLimit;
    }

    public void setRateLimit(Integer rateLimit) {
        this.rateLimit = rateLimit;
    }

    public Integer getIntervalLimit() {
        return intervalLimit;
    }

    public void setIntervalLimit(Integer intervalLimit) {
        this.intervalLimit = intervalLimit;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy