package it.digione.dg1cloud.recaptcha;
|
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
|
public class DownloadFileCaptchaForm {
|
|
@NotNull
|
private Long id;
|
private String fileName;
|
private String secretKey;
|
@NotEmpty
|
@ValidReCaptcha
|
private String reCaptchaResponse;
|
|
public Long getId() {
|
return id;
|
}
|
public void setId(Long id) {
|
this.id = id;
|
}
|
public String getFileName() {
|
return fileName;
|
}
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
public String getSecretKey() {
|
return secretKey;
|
}
|
public void setSecretKey(String secretKey) {
|
this.secretKey = secretKey;
|
}
|
public String getReCaptchaResponse() {
|
return reCaptchaResponse;
|
}
|
public void setReCaptchaResponse(String reCaptchaResponse) {
|
this.reCaptchaResponse = reCaptchaResponse;
|
}
|
|
}
|