Class CreateInterviewRequest
java.lang.Object
com.amos2020.javabackend.rest_service.request.BasicRequest
com.amos2020.javabackend.rest_service.request.interview.CreateInterviewRequest
public class CreateInterviewRequest extends BasicRequest
Request object for creating a new interview.
-
Field Summary
Fields Modifier and Type Field Description private @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(1L) intauditIdprivate java.sql.DateendDateprivate @NotNull java.util.List<@Valid InterviewPerson>interviewedContactPersonsprivate @NotNull java.util.List<@Min(1L) java.lang.Integer>interviewScopeprivate @NotNull @Size(max=1024) java.lang.Stringnoteprivate @NotNull java.sql.DatestartDateFields 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 CreateInterviewRequest() -
Method Summary
Modifier and Type Method Description voidisValid()Methods inherited from class com.amos2020.javabackend.rest_service.request.BasicRequest
assertDateIsNotNull, assertDatesAreValid, assertIdIsValid, assertIdsAreValid, assertNameIsValid, assertNoteIsValid, assertTextIsValid
-
Field Details
-
auditId
@NotNull @Min(1L) private @javax.validation.constraints.NotNull,@javax.validation.constraints.Min(1L) int auditId -
startDate
@NotNull private @NotNull java.sql.Date startDate -
endDate
private java.sql.Date endDate -
note
@NotNull @Size(max=1024) private @NotNull @Size(max=1024) java.lang.String note -
interviewedContactPersons
-
interviewScope
@NotNull private @NotNull java.util.List<@Min(1L) java.lang.Integer> interviewScope
-
-
Constructor Details
-
CreateInterviewRequest
public CreateInterviewRequest()
-
-
Method Details
-
isValid
public void isValid()
-