Class UpdateAnswerRequest
java.lang.Object
com.amos2020.javabackend.rest_service.request.BasicRequest
com.amos2020.javabackend.rest_service.request.answer.UpdateAnswerRequest
public class UpdateAnswerRequest extends BasicRequest
Request object for updating an existing answer
-
Field Summary
Fields Modifier and Type Field Description private @Size(message="annotation",max=1024) java.lang.Stringannotationprivate java.lang.Booleandocumentationprivate @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(message="Interview Id", value=1L) intinterviewIdprivate java.lang.Booleanprocedureprivate @Size(message="proof",max=1024) java.lang.Stringproofprivate @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(message="Question Id", value=1L) intquestionIdprivate @Size(message="reason",max=1024) java.lang.Stringreasonprivate java.lang.Booleanresponsibleprivate java.lang.BooleanresultFields inherited from class com.amos2020.javabackend.rest_service.request.BasicRequest
MAX_NAME_LENGTH, MAX_SMALL_TEXT_LENGTH, MAX_TEXT_LENGTH -
Constructor Summary
Constructors Constructor Description UpdateAnswerRequest() -
Method Summary
Methods inherited from class com.amos2020.javabackend.rest_service.request.BasicRequest
assertDateIsNotNull, assertDatesAreValid, assertIdIsValid, assertIdsAreValid, assertNameIsValid, assertNoteIsValid, assertTextIsValid
-
Field Details
-
questionId
@NotNull @Min(message="Question Id", value=1L) private @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(message="Question Id", value=1L) int questionId -
interviewId
@NotNull @Min(message="Interview Id", value=1L) private @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(message="Interview Id", value=1L) int interviewId -
result
private java.lang.Boolean result -
responsible
private java.lang.Boolean responsible -
documentation
private java.lang.Boolean documentation -
procedure
private java.lang.Boolean procedure -
reason
@Size(message="reason", max=1024) private @Size(message="reason",max=1024) java.lang.String reason -
proof
@Size(message="proof", max=1024) private @Size(message="proof",max=1024) java.lang.String proof -
annotation
@Size(message="annotation", max=1024) private @Size(message="annotation",max=1024) java.lang.String annotation
-
-
Constructor Details
-
UpdateAnswerRequest
public UpdateAnswerRequest()
-