cn.authing.sdk.java.dto.LoginPassowrdFailCheckConfigDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class LoginPassowrdFailCheckConfigDto {
/**
* 是否开启登录密码错误限制
*/
@JsonProperty("enabled")
private Boolean enabled;
/**
* 密码错误次数最大限制
*/
@JsonProperty("limit")
private Integer limit;
/**
* 限定周期时间长度,单位为秒。
*/
@JsonProperty("timeInterval")
private Integer timeInterval;
/**
* 时间长度单位。Second/Minute/Hour/Day,仅仅做显示,timeInterval的单位还是秒
*/
@JsonProperty("unit")
private String unit;
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getTimeInterval() {
return timeInterval;
}
public void setTimeInterval(Integer timeInterval) {
this.timeInterval = timeInterval;
}
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
}