diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Ability.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Ability.java new file mode 100644 index 0000000..4155354 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Ability.java @@ -0,0 +1,190 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * Ability + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Ability { + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("updatedAt") + private OffsetDateTime updatedAt = null; + + public Ability createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public Ability resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * Identificador do currículo à qual a habilidade está associada. + * @return resumeId + **/ + @ApiModelProperty(value = "Identificador do currículo à qual a habilidade está associada.") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public Ability description(String description) { + this.description = description; + return this; + } + + /** + * Descrição da habilidade. + * @return description + **/ + @ApiModelProperty(value = "Descrição da habilidade.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Ability id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Ability updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Data da última alteração. + * @return updatedAt + **/ + @ApiModelProperty(value = "Data da última alteração.") + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Ability ability = (Ability) o; + return Objects.equals(this.createdAt, ability.createdAt) && + Objects.equals(this.resumeId, ability.resumeId) && + Objects.equals(this.description, ability.description) && + Objects.equals(this.id, ability.id) && + Objects.equals(this.updatedAt, ability.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, resumeId, description, id, updatedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Ability {\n"); + + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Agreeableness.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Agreeableness.java new file mode 100644 index 0000000..0b813a4 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Agreeableness.java @@ -0,0 +1,282 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import java.io.IOException; + +/** + * Agreeableness + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Agreeableness { + @SerializedName("trust") + private Double trust = null; + + @SerializedName("dimensionValue") + private Double dimensionValue = null; + + @SerializedName("modesty") + private Double modesty = null; + + @SerializedName("altruism") + private Double altruism = null; + + @SerializedName("morality") + private Double morality = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("sympathy") + private Double sympathy = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + @SerializedName("cooperation") + private Double cooperation = null; + + public Agreeableness trust(Double trust) { + this.trust = trust; + return this; + } + + /** + * Faceta de confiança. + * @return trust + **/ + @ApiModelProperty(value = "Faceta de confiança.") + public Double getTrust() { + return trust; + } + + public void setTrust(Double trust) { + this.trust = trust; + } + + public Agreeableness dimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + return this; + } + + /** + * Valor desta dimensão + * @return dimensionValue + **/ + @ApiModelProperty(value = "Valor desta dimensão") + public Double getDimensionValue() { + return dimensionValue; + } + + public void setDimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + } + + public Agreeableness modesty(Double modesty) { + this.modesty = modesty; + return this; + } + + /** + * Faceta de modéstia. + * @return modesty + **/ + @ApiModelProperty(value = "Faceta de modéstia.") + public Double getModesty() { + return modesty; + } + + public void setModesty(Double modesty) { + this.modesty = modesty; + } + + public Agreeableness altruism(Double altruism) { + this.altruism = altruism; + return this; + } + + /** + * Faceta de altruísmo. + * @return altruism + **/ + @ApiModelProperty(value = "Faceta de altruísmo.") + public Double getAltruism() { + return altruism; + } + + public void setAltruism(Double altruism) { + this.altruism = altruism; + } + + public Agreeableness morality(Double morality) { + this.morality = morality; + return this; + } + + /** + * Faceta de moralidade. + * @return morality + **/ + @ApiModelProperty(value = "Faceta de moralidade.") + public Double getMorality() { + return morality; + } + + public void setMorality(Double morality) { + this.morality = morality; + } + + public Agreeableness id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Agreeableness sympathy(Double sympathy) { + this.sympathy = sympathy; + return this; + } + + /** + * Faceta de empatia. + * @return sympathy + **/ + @ApiModelProperty(value = "Faceta de empatia.") + public Double getSympathy() { + return sympathy; + } + + public void setSympathy(Double sympathy) { + this.sympathy = sympathy; + } + + public Agreeableness bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + public Agreeableness cooperation(Double cooperation) { + this.cooperation = cooperation; + return this; + } + + /** + * Faceta de cooperação. + * @return cooperation + **/ + @ApiModelProperty(value = "Faceta de cooperação.") + public Double getCooperation() { + return cooperation; + } + + public void setCooperation(Double cooperation) { + this.cooperation = cooperation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Agreeableness agreeableness = (Agreeableness) o; + return Objects.equals(this.trust, agreeableness.trust) && + Objects.equals(this.dimensionValue, agreeableness.dimensionValue) && + Objects.equals(this.modesty, agreeableness.modesty) && + Objects.equals(this.altruism, agreeableness.altruism) && + Objects.equals(this.morality, agreeableness.morality) && + Objects.equals(this.id, agreeableness.id) && + Objects.equals(this.sympathy, agreeableness.sympathy) && + Objects.equals(this.bigFive, agreeableness.bigFive) && + Objects.equals(this.cooperation, agreeableness.cooperation); + } + + @Override + public int hashCode() { + return Objects.hash(trust, dimensionValue, modesty, altruism, morality, id, sympathy, bigFive, cooperation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Agreeableness {\n"); + + sb.append(" trust: ").append(toIndentedString(trust)).append("\n"); + sb.append(" dimensionValue: ").append(toIndentedString(dimensionValue)).append("\n"); + sb.append(" modesty: ").append(toIndentedString(modesty)).append("\n"); + sb.append(" altruism: ").append(toIndentedString(altruism)).append("\n"); + sb.append(" morality: ").append(toIndentedString(morality)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" sympathy: ").append(toIndentedString(sympathy)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append(" cooperation: ").append(toIndentedString(cooperation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Answer.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Answer.java new file mode 100644 index 0000000..f5aa9cb --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Answer.java @@ -0,0 +1,167 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Question; +import java.io.IOException; + +/** + * Answer + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Answer { + @SerializedName("portuguesAnswer") + private String portuguesAnswer = null; + + @SerializedName("question") + private Question question = null; + + @SerializedName("englishAnswer") + private String englishAnswer = null; + + @SerializedName("id") + private String id = null; + + public Answer portuguesAnswer(String portuguesAnswer) { + this.portuguesAnswer = portuguesAnswer; + return this; + } + + /** + * Resposta original em português. + * @return portuguesAnswer + **/ + @ApiModelProperty(value = "Resposta original em português.") + public String getPortuguesAnswer() { + return portuguesAnswer; + } + + public void setPortuguesAnswer(String portuguesAnswer) { + this.portuguesAnswer = portuguesAnswer; + } + + public Answer question(Question question) { + this.question = question; + return this; + } + + /** + * Get question + * @return question + **/ + @ApiModelProperty(value = "") + public Question getQuestion() { + return question; + } + + public void setQuestion(Question question) { + this.question = question; + } + + public Answer englishAnswer(String englishAnswer) { + this.englishAnswer = englishAnswer; + return this; + } + + /** + * Resposta traduzida para o inglês. + * @return englishAnswer + **/ + @ApiModelProperty(value = "Resposta traduzida para o inglês.") + public String getEnglishAnswer() { + return englishAnswer; + } + + public void setEnglishAnswer(String englishAnswer) { + this.englishAnswer = englishAnswer; + } + + public Answer id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Answer answer = (Answer) o; + return Objects.equals(this.portuguesAnswer, answer.portuguesAnswer) && + Objects.equals(this.question, answer.question) && + Objects.equals(this.englishAnswer, answer.englishAnswer) && + Objects.equals(this.id, answer.id); + } + + @Override + public int hashCode() { + return Objects.hash(portuguesAnswer, question, englishAnswer, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Answer {\n"); + + sb.append(" portuguesAnswer: ").append(toIndentedString(portuguesAnswer)).append("\n"); + sb.append(" question: ").append(toIndentedString(question)).append("\n"); + sb.append(" englishAnswer: ").append(toIndentedString(englishAnswer)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Appointment.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Appointment.java index d211320..63a7881 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Appointment.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Appointment.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,16 +22,22 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BasicCandidateSummary; +import br.com.senior.hcm.recruitment.pojos.EmployeeSummary; +import br.com.senior.hcm.recruitment.pojos.ModelStage; +import br.com.senior.hcm.recruitment.pojos.Vacancy; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.threeten.bp.LocalDate; /** - * Compromisso do processo seletivo. + * Appointment */ -@ApiModel(description = "Compromisso do processo seletivo.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Appointment { @SerializedName("date") private LocalDate date = null; @@ -40,13 +46,13 @@ public class Appointment { private String subject = null; @SerializedName("candidates") - private List candidates = new ArrayList(); + private List candidates = null; @SerializedName("site") private String site = null; @SerializedName("stage") - private Object stage = null; + private ModelStage stage = null; @SerializedName("startTime") private String startTime = null; @@ -61,10 +67,10 @@ public class Appointment { private String endTime = null; @SerializedName("employees") - private List employees = null; + private List employees = null; @SerializedName("vacancy") - private Object vacancy = null; + private Vacancy vacancy = null; @SerializedName("vacancyId") private String vacancyId = null; @@ -81,7 +87,7 @@ public Appointment date(LocalDate date) { * Data do compromisso. * @return date **/ - @ApiModelProperty(required = true, value = "Data do compromisso.") + @ApiModelProperty(value = "Data do compromisso.") public LocalDate getDate() { return date; } @@ -99,7 +105,7 @@ public Appointment subject(String subject) { * Assunto do compromisso. * @return subject **/ - @ApiModelProperty(required = true, value = "Assunto do compromisso.") + @ApiModelProperty(value = "Assunto do compromisso.") public String getSubject() { return subject; } @@ -108,12 +114,15 @@ public void setSubject(String subject) { this.subject = subject; } - public Appointment candidates(List candidates) { + public Appointment candidates(List candidates) { this.candidates = candidates; return this; } - public Appointment addCandidatesItem(Object candidatesItem) { + public Appointment addCandidatesItem(BasicCandidateSummary candidatesItem) { + if (this.candidates == null) { + this.candidates = new ArrayList(); + } this.candidates.add(candidatesItem); return this; } @@ -122,12 +131,12 @@ public Appointment addCandidatesItem(Object candidatesItem) { * Candidatos que participarão do compromisso. * @return candidates **/ - @ApiModelProperty(required = true, value = "Candidatos que participarão do compromisso.") - public List getCandidates() { + @ApiModelProperty(value = "Candidatos que participarão do compromisso.") + public List getCandidates() { return candidates; } - public void setCandidates(List candidates) { + public void setCandidates(List candidates) { this.candidates = candidates; } @@ -140,7 +149,7 @@ public Appointment site(String site) { * Local do compromisso. * @return site **/ - @ApiModelProperty(required = true, value = "Local do compromisso.") + @ApiModelProperty(value = "Local do compromisso.") public String getSite() { return site; } @@ -149,21 +158,21 @@ public void setSite(String site) { this.site = site; } - public Appointment stage(Object stage) { + public Appointment stage(ModelStage stage) { this.stage = stage; return this; } /** - * Etapa do processo seletivo. + * Get stage * @return stage **/ - @ApiModelProperty(value = "Etapa do processo seletivo.") - public Object getStage() { + @ApiModelProperty(value = "") + public ModelStage getStage() { return stage; } - public void setStage(Object stage) { + public void setStage(ModelStage stage) { this.stage = stage; } @@ -176,7 +185,7 @@ public Appointment startTime(String startTime) { * Horário de início do compromisso. * @return startTime **/ - @ApiModelProperty(required = true, value = "Horário de início do compromisso.") + @ApiModelProperty(value = "Horário de início do compromisso.") public String getStartTime() { return startTime; } @@ -230,7 +239,7 @@ public Appointment endTime(String endTime) { * Horário de término do compromisso. * @return endTime **/ - @ApiModelProperty(required = true, value = "Horário de término do compromisso.") + @ApiModelProperty(value = "Horário de término do compromisso.") public String getEndTime() { return endTime; } @@ -239,14 +248,14 @@ public void setEndTime(String endTime) { this.endTime = endTime; } - public Appointment employees(List employees) { + public Appointment employees(List employees) { this.employees = employees; return this; } - public Appointment addEmployeesItem(Object employeesItem) { + public Appointment addEmployeesItem(EmployeeSummary employeesItem) { if (this.employees == null) { - this.employees = new ArrayList(); + this.employees = new ArrayList(); } this.employees.add(employeesItem); return this; @@ -257,29 +266,29 @@ public Appointment addEmployeesItem(Object employeesItem) { * @return employees **/ @ApiModelProperty(value = "Colaboradores que participarão do compromisso para ajudar a avaliar os candidatos.") - public List getEmployees() { + public List getEmployees() { return employees; } - public void setEmployees(List employees) { + public void setEmployees(List employees) { this.employees = employees; } - public Appointment vacancy(Object vacancy) { + public Appointment vacancy(Vacancy vacancy) { this.vacancy = vacancy; return this; } /** - * Vaga do processo seletivo. + * Get vacancy * @return vacancy **/ - @ApiModelProperty(value = "Vaga do processo seletivo.") - public Object getVacancy() { + @ApiModelProperty(value = "") + public Vacancy getVacancy() { return vacancy; } - public void setVacancy(Object vacancy) { + public void setVacancy(Vacancy vacancy) { this.vacancy = vacancy; } @@ -289,10 +298,10 @@ public Appointment vacancyId(String vacancyId) { } /** - * Identificador único da vaga do processo seletivo. + * Identificador único da vaga 	do processo seletivo. * @return vacancyId **/ - @ApiModelProperty(value = "Identificador único da vaga do processo seletivo.") + @ApiModelProperty(value = "Identificador único da vaga do processo seletivo.") public String getVacancyId() { return vacancyId; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/AprovationTypeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/AprovationTypeDto.java new file mode 100644 index 0000000..c66fbc0 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/AprovationTypeDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets aprovationTypeDto + */ +@JsonAdapter(AprovationTypeDto.Adapter.class) +public enum AprovationTypeDto { + + APPROVED("APPROVED"), + + REPROVED("REPROVED"), + + NOT_APPLICABLE("NOT_APPLICABLE"); + + private String value; + + AprovationTypeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static AprovationTypeDto fromValue(String text) { + for (AprovationTypeDto b : AprovationTypeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AprovationTypeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public AprovationTypeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return AprovationTypeDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/BasicCandidateSummary.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/BasicCandidateSummary.java new file mode 100644 index 0000000..3e08824 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/BasicCandidateSummary.java @@ -0,0 +1,144 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.CandidateTypeDto; +import java.io.IOException; + +/** + * BasicCandidateSummary + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class BasicCandidateSummary { + @SerializedName("candidatesType") + private CandidateTypeDto candidatesType = null; + + @SerializedName("recruitmentProcessId") + private String recruitmentProcessId = null; + + @SerializedName("candidateName") + private String candidateName = null; + + public BasicCandidateSummary candidatesType(CandidateTypeDto candidatesType) { + this.candidatesType = candidatesType; + return this; + } + + /** + * Get candidatesType + * @return candidatesType + **/ + @ApiModelProperty(value = "") + public CandidateTypeDto getCandidatesType() { + return candidatesType; + } + + public void setCandidatesType(CandidateTypeDto candidatesType) { + this.candidatesType = candidatesType; + } + + public BasicCandidateSummary recruitmentProcessId(String recruitmentProcessId) { + this.recruitmentProcessId = recruitmentProcessId; + return this; + } + + /** + * ID do processo de recrutamento a qual o candidato pertence. + * @return recruitmentProcessId + **/ + @ApiModelProperty(value = "ID do processo de recrutamento a qual o candidato pertence.") + public String getRecruitmentProcessId() { + return recruitmentProcessId; + } + + public void setRecruitmentProcessId(String recruitmentProcessId) { + this.recruitmentProcessId = recruitmentProcessId; + } + + public BasicCandidateSummary candidateName(String candidateName) { + this.candidateName = candidateName; + return this; + } + + /** + * Nome do candidato. + * @return candidateName + **/ + @ApiModelProperty(value = "Nome do candidato.") + public String getCandidateName() { + return candidateName; + } + + public void setCandidateName(String candidateName) { + this.candidateName = candidateName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BasicCandidateSummary basicCandidateSummary = (BasicCandidateSummary) o; + return Objects.equals(this.candidatesType, basicCandidateSummary.candidatesType) && + Objects.equals(this.recruitmentProcessId, basicCandidateSummary.recruitmentProcessId) && + Objects.equals(this.candidateName, basicCandidateSummary.candidateName); + } + + @Override + public int hashCode() { + return Objects.hash(candidatesType, recruitmentProcessId, candidateName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BasicCandidateSummary {\n"); + + sb.append(" candidatesType: ").append(toIndentedString(candidatesType)).append("\n"); + sb.append(" recruitmentProcessId: ").append(toIndentedString(recruitmentProcessId)).append("\n"); + sb.append(" candidateName: ").append(toIndentedString(candidateName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/BigFive.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/BigFive.java new file mode 100644 index 0000000..b70af17 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/BigFive.java @@ -0,0 +1,241 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Agreeableness; +import br.com.senior.hcm.recruitment.pojos.Conscientiousness; +import br.com.senior.hcm.recruitment.pojos.Extraversion; +import br.com.senior.hcm.recruitment.pojos.Neuroticism; +import br.com.senior.hcm.recruitment.pojos.Openness; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelCandidate; +import java.io.IOException; + +/** + * BigFive + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class BigFive { + @SerializedName("conscientiousness") + private Conscientiousness conscientiousness = null; + + @SerializedName("personalityModelCandidate") + private PersonalityModelCandidate personalityModelCandidate = null; + + @SerializedName("openness") + private Openness openness = null; + + @SerializedName("neuroticism") + private Neuroticism neuroticism = null; + + @SerializedName("extraversion") + private Extraversion extraversion = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("agreeableness") + private Agreeableness agreeableness = null; + + public BigFive conscientiousness(Conscientiousness conscientiousness) { + this.conscientiousness = conscientiousness; + return this; + } + + /** + * Get conscientiousness + * @return conscientiousness + **/ + @ApiModelProperty(value = "") + public Conscientiousness getConscientiousness() { + return conscientiousness; + } + + public void setConscientiousness(Conscientiousness conscientiousness) { + this.conscientiousness = conscientiousness; + } + + public BigFive personalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + return this; + } + + /** + * Get personalityModelCandidate + * @return personalityModelCandidate + **/ + @ApiModelProperty(value = "") + public PersonalityModelCandidate getPersonalityModelCandidate() { + return personalityModelCandidate; + } + + public void setPersonalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + } + + public BigFive openness(Openness openness) { + this.openness = openness; + return this; + } + + /** + * Get openness + * @return openness + **/ + @ApiModelProperty(value = "") + public Openness getOpenness() { + return openness; + } + + public void setOpenness(Openness openness) { + this.openness = openness; + } + + public BigFive neuroticism(Neuroticism neuroticism) { + this.neuroticism = neuroticism; + return this; + } + + /** + * Get neuroticism + * @return neuroticism + **/ + @ApiModelProperty(value = "") + public Neuroticism getNeuroticism() { + return neuroticism; + } + + public void setNeuroticism(Neuroticism neuroticism) { + this.neuroticism = neuroticism; + } + + public BigFive extraversion(Extraversion extraversion) { + this.extraversion = extraversion; + return this; + } + + /** + * Get extraversion + * @return extraversion + **/ + @ApiModelProperty(value = "") + public Extraversion getExtraversion() { + return extraversion; + } + + public void setExtraversion(Extraversion extraversion) { + this.extraversion = extraversion; + } + + public BigFive id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public BigFive agreeableness(Agreeableness agreeableness) { + this.agreeableness = agreeableness; + return this; + } + + /** + * Get agreeableness + * @return agreeableness + **/ + @ApiModelProperty(value = "") + public Agreeableness getAgreeableness() { + return agreeableness; + } + + public void setAgreeableness(Agreeableness agreeableness) { + this.agreeableness = agreeableness; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BigFive bigFive = (BigFive) o; + return Objects.equals(this.conscientiousness, bigFive.conscientiousness) && + Objects.equals(this.personalityModelCandidate, bigFive.personalityModelCandidate) && + Objects.equals(this.openness, bigFive.openness) && + Objects.equals(this.neuroticism, bigFive.neuroticism) && + Objects.equals(this.extraversion, bigFive.extraversion) && + Objects.equals(this.id, bigFive.id) && + Objects.equals(this.agreeableness, bigFive.agreeableness); + } + + @Override + public int hashCode() { + return Objects.hash(conscientiousness, personalityModelCandidate, openness, neuroticism, extraversion, id, agreeableness); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BigFive {\n"); + + sb.append(" conscientiousness: ").append(toIndentedString(conscientiousness)).append("\n"); + sb.append(" personalityModelCandidate: ").append(toIndentedString(personalityModelCandidate)).append("\n"); + sb.append(" openness: ").append(toIndentedString(openness)).append("\n"); + sb.append(" neuroticism: ").append(toIndentedString(neuroticism)).append("\n"); + sb.append(" extraversion: ").append(toIndentedString(extraversion)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" agreeableness: ").append(toIndentedString(agreeableness)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/CandidateTypeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/CandidateTypeDto.java new file mode 100644 index 0000000..e7856e1 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/CandidateTypeDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets candidateTypeDto + */ +@JsonAdapter(CandidateTypeDto.Adapter.class) +public enum CandidateTypeDto { + + INTERNAL("INTERNAL"), + + EXTERNAL("EXTERNAL"), + + BOTH("BOTH"); + + private String value; + + CandidateTypeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CandidateTypeDto fromValue(String text) { + for (CandidateTypeDto b : CandidateTypeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CandidateTypeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CandidateTypeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CandidateTypeDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Chat.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Chat.java new file mode 100644 index 0000000..7b7aa59 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Chat.java @@ -0,0 +1,121 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * Chat + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Chat { + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("id") + private String id = null; + + public Chat createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data e hora da criação do chat. + * @return createdAt + **/ + @ApiModelProperty(value = "Data e hora da criação do chat.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public Chat id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Chat chat = (Chat) o; + return Objects.equals(this.createdAt, chat.createdAt) && + Objects.equals(this.id, chat.id); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Chat {\n"); + + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Company.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Company.java index 1b78356..f64e1d4 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Company.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Company.java @@ -1,35 +1,236 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; -import lombok.Data; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.CostCenter; +import java.io.IOException; + +/** + * Company + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + -@Data public class Company { - /** - * Identificador único da empresa - */ - String id; - /** - * Código da empresa - */ - int code; - /** - * Nome da Empresa - */ - String companyName; - /** - * Identificador da Empresa Matriz - */ - String headQuarterId; - /** - * Código da empresa matriz - */ - int headQuarterCode; - /** - * Nome da Empresa Matriz - */ - String headQuarterName; - /** - * Centro de custo - */ - CostCenter costCenter; + @SerializedName("headQuarterName") + private String headQuarterName = null; + + @SerializedName("code") + private Integer code = null; + + @SerializedName("costCenter") + private CostCenter costCenter = null; + + @SerializedName("companyName") + private String companyName = null; + + @SerializedName("headQuarterId") + private String headQuarterId = null; + + @SerializedName("headQuarterCode") + private Integer headQuarterCode = null; + + @SerializedName("id") + private String id = null; + + public Company headQuarterName(String headQuarterName) { + this.headQuarterName = headQuarterName; + return this; + } + + /** + * Nome da Empresa Matriz. + * @return headQuarterName + **/ + @ApiModelProperty(value = "Nome da Empresa Matriz.") + public String getHeadQuarterName() { + return headQuarterName; + } + + public void setHeadQuarterName(String headQuarterName) { + this.headQuarterName = headQuarterName; + } + + public Company code(Integer code) { + this.code = code; + return this; + } + + /** + * Código da empresa. + * @return code + **/ + @ApiModelProperty(value = "Código da empresa.") + public Integer getCode() { + return code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Company costCenter(CostCenter costCenter) { + this.costCenter = costCenter; + return this; + } + + /** + * Get costCenter + * @return costCenter + **/ + @ApiModelProperty(value = "") + public CostCenter getCostCenter() { + return costCenter; + } + + public void setCostCenter(CostCenter costCenter) { + this.costCenter = costCenter; + } + + public Company companyName(String companyName) { + this.companyName = companyName; + return this; + } + + /** + * Nome da Empresa. + * @return companyName + **/ + @ApiModelProperty(value = "Nome da Empresa.") + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public Company headQuarterId(String headQuarterId) { + this.headQuarterId = headQuarterId; + return this; + } + + /** + * Identificador da Empresa Matriz. + * @return headQuarterId + **/ + @ApiModelProperty(value = "Identificador da Empresa Matriz.") + public String getHeadQuarterId() { + return headQuarterId; + } + + public void setHeadQuarterId(String headQuarterId) { + this.headQuarterId = headQuarterId; + } + + public Company headQuarterCode(Integer headQuarterCode) { + this.headQuarterCode = headQuarterCode; + return this; + } + + /** + * Código da empresa matriz. + * @return headQuarterCode + **/ + @ApiModelProperty(value = "Código da empresa matriz.") + public Integer getHeadQuarterCode() { + return headQuarterCode; + } + + public void setHeadQuarterCode(Integer headQuarterCode) { + this.headQuarterCode = headQuarterCode; + } + + public Company id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da empresa. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da empresa.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Company company = (Company) o; + return Objects.equals(this.headQuarterName, company.headQuarterName) && + Objects.equals(this.code, company.code) && + Objects.equals(this.costCenter, company.costCenter) && + Objects.equals(this.companyName, company.companyName) && + Objects.equals(this.headQuarterId, company.headQuarterId) && + Objects.equals(this.headQuarterCode, company.headQuarterCode) && + Objects.equals(this.id, company.id); + } + + @Override + public int hashCode() { + return Objects.hash(headQuarterName, code, costCenter, companyName, headQuarterId, headQuarterCode, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Company {\n"); + + sb.append(" headQuarterName: ").append(toIndentedString(headQuarterName)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); + sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + sb.append(" headQuarterId: ").append(toIndentedString(headQuarterId)).append("\n"); + sb.append(" headQuarterCode: ").append(toIndentedString(headQuarterCode)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Conscientiousness.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Conscientiousness.java new file mode 100644 index 0000000..c524b9a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Conscientiousness.java @@ -0,0 +1,282 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import java.io.IOException; + +/** + * Conscientiousness + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Conscientiousness { + @SerializedName("dutifulness") + private Double dutifulness = null; + + @SerializedName("cautiousness") + private Double cautiousness = null; + + @SerializedName("dimensionValue") + private Double dimensionValue = null; + + @SerializedName("achievementStriving") + private Double achievementStriving = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("selfEfficacy") + private Double selfEfficacy = null; + + @SerializedName("selfDiscipline") + private Double selfDiscipline = null; + + @SerializedName("orderliness") + private Double orderliness = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + public Conscientiousness dutifulness(Double dutifulness) { + this.dutifulness = dutifulness; + return this; + } + + /** + * Faceta de sentido de responsabilidade. + * @return dutifulness + **/ + @ApiModelProperty(value = "Faceta de sentido de responsabilidade.") + public Double getDutifulness() { + return dutifulness; + } + + public void setDutifulness(Double dutifulness) { + this.dutifulness = dutifulness; + } + + public Conscientiousness cautiousness(Double cautiousness) { + this.cautiousness = cautiousness; + return this; + } + + /** + * Faceta de cautela. + * @return cautiousness + **/ + @ApiModelProperty(value = "Faceta de cautela.") + public Double getCautiousness() { + return cautiousness; + } + + public void setCautiousness(Double cautiousness) { + this.cautiousness = cautiousness; + } + + public Conscientiousness dimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + return this; + } + + /** + * Valor desta dimensão + * @return dimensionValue + **/ + @ApiModelProperty(value = "Valor desta dimensão") + public Double getDimensionValue() { + return dimensionValue; + } + + public void setDimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + } + + public Conscientiousness achievementStriving(Double achievementStriving) { + this.achievementStriving = achievementStriving; + return this; + } + + /** + * Faceta de realização com esforço. + * @return achievementStriving + **/ + @ApiModelProperty(value = "Faceta de realização com esforço.") + public Double getAchievementStriving() { + return achievementStriving; + } + + public void setAchievementStriving(Double achievementStriving) { + this.achievementStriving = achievementStriving; + } + + public Conscientiousness id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Conscientiousness selfEfficacy(Double selfEfficacy) { + this.selfEfficacy = selfEfficacy; + return this; + } + + /** + * Faceta de autoconfiança. + * @return selfEfficacy + **/ + @ApiModelProperty(value = "Faceta de autoconfiança.") + public Double getSelfEfficacy() { + return selfEfficacy; + } + + public void setSelfEfficacy(Double selfEfficacy) { + this.selfEfficacy = selfEfficacy; + } + + public Conscientiousness selfDiscipline(Double selfDiscipline) { + this.selfDiscipline = selfDiscipline; + return this; + } + + /** + * Faceta de autodisciplina. + * @return selfDiscipline + **/ + @ApiModelProperty(value = "Faceta de autodisciplina.") + public Double getSelfDiscipline() { + return selfDiscipline; + } + + public void setSelfDiscipline(Double selfDiscipline) { + this.selfDiscipline = selfDiscipline; + } + + public Conscientiousness orderliness(Double orderliness) { + this.orderliness = orderliness; + return this; + } + + /** + * Faceta de organização. + * @return orderliness + **/ + @ApiModelProperty(value = "Faceta de organização.") + public Double getOrderliness() { + return orderliness; + } + + public void setOrderliness(Double orderliness) { + this.orderliness = orderliness; + } + + public Conscientiousness bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Conscientiousness conscientiousness = (Conscientiousness) o; + return Objects.equals(this.dutifulness, conscientiousness.dutifulness) && + Objects.equals(this.cautiousness, conscientiousness.cautiousness) && + Objects.equals(this.dimensionValue, conscientiousness.dimensionValue) && + Objects.equals(this.achievementStriving, conscientiousness.achievementStriving) && + Objects.equals(this.id, conscientiousness.id) && + Objects.equals(this.selfEfficacy, conscientiousness.selfEfficacy) && + Objects.equals(this.selfDiscipline, conscientiousness.selfDiscipline) && + Objects.equals(this.orderliness, conscientiousness.orderliness) && + Objects.equals(this.bigFive, conscientiousness.bigFive); + } + + @Override + public int hashCode() { + return Objects.hash(dutifulness, cautiousness, dimensionValue, achievementStriving, id, selfEfficacy, selfDiscipline, orderliness, bigFive); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Conscientiousness {\n"); + + sb.append(" dutifulness: ").append(toIndentedString(dutifulness)).append("\n"); + sb.append(" cautiousness: ").append(toIndentedString(cautiousness)).append("\n"); + sb.append(" dimensionValue: ").append(toIndentedString(dimensionValue)).append("\n"); + sb.append(" achievementStriving: ").append(toIndentedString(achievementStriving)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" selfEfficacy: ").append(toIndentedString(selfEfficacy)).append("\n"); + sb.append(" selfDiscipline: ").append(toIndentedString(selfDiscipline)).append("\n"); + sb.append(" orderliness: ").append(toIndentedString(orderliness)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ContractTypeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ContractTypeDto.java new file mode 100644 index 0000000..dedf9ad --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ContractTypeDto.java @@ -0,0 +1,73 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets contractTypeDto + */ +@JsonAdapter(ContractTypeDto.Adapter.class) +public enum ContractTypeDto { + + DETERMINED_DEADLINE("DETERMINED_DEADLINE"), + + UNDETERMINED_DEADLINE("UNDETERMINED_DEADLINE"); + + private String value; + + ContractTypeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ContractTypeDto fromValue(String text) { + for (ContractTypeDto b : ContractTypeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ContractTypeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ContractTypeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ContractTypeDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/CostCenter.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/CostCenter.java index ac7420c..3796d30 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/CostCenter.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/CostCenter.java @@ -1,30 +1,190 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; -import lombok.Data; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Company; +import java.io.IOException; /** - * Centro de custo + * CostCenter */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class CostCenter { - /** - * Identificador do centro de custo - */ - String id; - /** - * Identificador da Empresa - */ - String companyId; - /** - * Empresa - */ - Company company; - /** - * Nome do centro de custo - */ - String name; - /** - * Código do centro de custo - */ - String code; + @SerializedName("companyId") + private String companyId = null; + + @SerializedName("code") + private String code = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("company") + private Company company = null; + + @SerializedName("id") + private String id = null; + + public CostCenter companyId(String companyId) { + this.companyId = companyId; + return this; + } + + /** + * Identificador da Empresa. + * @return companyId + **/ + @ApiModelProperty(value = "Identificador da Empresa.") + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public CostCenter code(String code) { + this.code = code; + return this; + } + + /** + * Código do centro de custo. + * @return code + **/ + @ApiModelProperty(value = "Código do centro de custo.") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public CostCenter name(String name) { + this.name = name; + return this; + } + + /** + * Nome do centro de custo. + * @return name + **/ + @ApiModelProperty(value = "Nome do centro de custo.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public CostCenter company(Company company) { + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @ApiModelProperty(value = "") + public Company getCompany() { + return company; + } + + public void setCompany(Company company) { + this.company = company; + } + + public CostCenter id(String id) { + this.id = id; + return this; + } + + /** + * Identificador do centro de custo. + * @return id + **/ + @ApiModelProperty(value = "Identificador do centro de custo.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CostCenter costCenter = (CostCenter) o; + return Objects.equals(this.companyId, costCenter.companyId) && + Objects.equals(this.code, costCenter.code) && + Objects.equals(this.name, costCenter.name) && + Objects.equals(this.company, costCenter.company) && + Objects.equals(this.id, costCenter.id); + } + + @Override + public int hashCode() { + return Objects.hash(companyId, code, name, company, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CostCenter {\n"); + + sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/DegreeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/DegreeDto.java new file mode 100644 index 0000000..ac195eb --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/DegreeDto.java @@ -0,0 +1,83 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets degreeDto + */ +@JsonAdapter(DegreeDto.Adapter.class) +public enum DegreeDto { + + ELEMENTARY_SCHOOL("ELEMENTARY_SCHOOL"), + + HIGH_SCHOOL("HIGH_SCHOOL"), + + HIGHER_EDUCATION("HIGHER_EDUCATION"), + + POST_GRADUATED("POST_GRADUATED"), + + MASTERS_DEGREE("MASTERS_DEGREE"), + + PHD_DEGREE("PHD_DEGREE"), + + POST_DOCTORATE("POST_DOCTORATE"); + + private String value; + + DegreeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DegreeDto fromValue(String text) { + for (DegreeDto b : DegreeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DegreeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DegreeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DegreeDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Department.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Department.java index c8728e3..674451b 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Department.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Department.java @@ -1,40 +1,236 @@ -package br.com.senior.hcm.recruitment.pojos; +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + -import lombok.Data; +package br.com.senior.hcm.recruitment.pojos; -import java.util.Date; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; /** - * Departamento + * Department */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Department { - /** - * Identificador único da entidade - */ - String id; - /** - * Nome - */ - String name; - /** - * Endereço do departamento - */ - String place; - /** - * Codigo do departamento - */ - String code; - /** - * Posicao do departamento - */ - String position; - /** - * Data de Criação - */ - Date createDate; - /** - * Data de Expiração - */ - Date experitionDate; + @SerializedName("experitionDate") + private OffsetDateTime experitionDate = null; + + @SerializedName("code") + private String code = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("place") + private String place = null; + + @SerializedName("position") + private String position = null; + + @SerializedName("createDate") + private OffsetDateTime createDate = null; + + public Department experitionDate(OffsetDateTime experitionDate) { + this.experitionDate = experitionDate; + return this; + } + + /** + * Data de Expiração. + * @return experitionDate + **/ + @ApiModelProperty(value = "Data de Expiração.") + public OffsetDateTime getExperitionDate() { + return experitionDate; + } + + public void setExperitionDate(OffsetDateTime experitionDate) { + this.experitionDate = experitionDate; + } + + public Department code(String code) { + this.code = code; + return this; + } + + /** + * Codigo do departamento + * @return code + **/ + @ApiModelProperty(value = "Codigo do departamento") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public Department name(String name) { + this.name = name; + return this; + } + + /** + * Nome. + * @return name + **/ + @ApiModelProperty(value = "Nome.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Department id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Department place(String place) { + this.place = place; + return this; + } + + /** + * Endereço do departamento + * @return place + **/ + @ApiModelProperty(value = "Endereço do departamento") + public String getPlace() { + return place; + } + + public void setPlace(String place) { + this.place = place; + } + + public Department position(String position) { + this.position = position; + return this; + } + + /** + * Posicao do departamento. + * @return position + **/ + @ApiModelProperty(value = "Posicao do departamento.") + public String getPosition() { + return position; + } + + public void setPosition(String position) { + this.position = position; + } + + public Department createDate(OffsetDateTime createDate) { + this.createDate = createDate; + return this; + } + + /** + * Data de Criação. + * @return createDate + **/ + @ApiModelProperty(value = "Data de Criação.") + public OffsetDateTime getCreateDate() { + return createDate; + } + + public void setCreateDate(OffsetDateTime createDate) { + this.createDate = createDate; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Department department = (Department) o; + return Objects.equals(this.experitionDate, department.experitionDate) && + Objects.equals(this.code, department.code) && + Objects.equals(this.name, department.name) && + Objects.equals(this.id, department.id) && + Objects.equals(this.place, department.place) && + Objects.equals(this.position, department.position) && + Objects.equals(this.createDate, department.createDate); + } + + @Override + public int hashCode() { + return Objects.hash(experitionDate, code, name, id, place, position, createDate); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Department {\n"); + + sb.append(" experitionDate: ").append(toIndentedString(experitionDate)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" place: ").append(toIndentedString(place)).append("\n"); + sb.append(" position: ").append(toIndentedString(position)).append("\n"); + sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/DisabilityDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/DisabilityDto.java new file mode 100644 index 0000000..e71a4d8 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/DisabilityDto.java @@ -0,0 +1,79 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets disabilityDto + */ +@JsonAdapter(DisabilityDto.Adapter.class) +public enum DisabilityDto { + + PHYSICAL("PHYSICAL"), + + HEARING("HEARING"), + + VISUAL("VISUAL"), + + MENTAL("MENTAL"), + + INTELLECTUAL("INTELLECTUAL"); + + private String value; + + DisabilityDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DisabilityDto fromValue(String text) { + for (DisabilityDto b : DisabilityDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DisabilityDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DisabilityDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DisabilityDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationSection.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationSection.java index b9f7b5c..e286a5e 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationSection.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationSection.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,14 +22,18 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.DegreeDto; +import br.com.senior.hcm.recruitment.pojos.EducationStatusDto; import java.io.IOException; import org.threeten.bp.OffsetDateTime; /** - * Educação (Currículo). + * EducationSection */ -@ApiModel(description = "Educação (Currículo).") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class EducationSection { @SerializedName("createdAt") private OffsetDateTime createdAt = null; @@ -44,10 +48,10 @@ public class EducationSection { private String g5Id = null; @SerializedName("degree") - private Object degree = null; + private DegreeDto degree = null; @SerializedName("conclusionYear") - private Long conclusionYear = null; + private Integer conclusionYear = null; @SerializedName("id") private String id = null; @@ -56,7 +60,7 @@ public class EducationSection { private String fieldOfStudy = null; @SerializedName("status") - private Object status = null; + private EducationStatusDto status = null; @SerializedName("updatedAt") private OffsetDateTime updatedAt = null; @@ -88,7 +92,7 @@ public EducationSection resumeId(String resumeId) { * Identificador do currículo a qual a educação está associada. * @return resumeId **/ - @ApiModelProperty(required = true, value = "Identificador do currículo a qual a educação está associada.") + @ApiModelProperty(value = "Identificador do currículo a qual a educação está associada.") public String getResumeId() { return resumeId; } @@ -106,7 +110,7 @@ public EducationSection school(String school) { * Instituição de ensino. * @return school **/ - @ApiModelProperty(required = true, value = "Instituição de ensino.") + @ApiModelProperty(value = "Instituição de ensino.") public String getSchool() { return school; } @@ -133,25 +137,25 @@ public void setG5Id(String g5Id) { this.g5Id = g5Id; } - public EducationSection degree(Object degree) { + public EducationSection degree(DegreeDto degree) { this.degree = degree; return this; } /** - * Nível. + * Get degree * @return degree **/ - @ApiModelProperty(required = true, value = "Nível.") - public Object getDegree() { + @ApiModelProperty(value = "") + public DegreeDto getDegree() { return degree; } - public void setDegree(Object degree) { + public void setDegree(DegreeDto degree) { this.degree = degree; } - public EducationSection conclusionYear(Long conclusionYear) { + public EducationSection conclusionYear(Integer conclusionYear) { this.conclusionYear = conclusionYear; return this; } @@ -161,11 +165,11 @@ public EducationSection conclusionYear(Long conclusionYear) { * @return conclusionYear **/ @ApiModelProperty(value = "Ano de conclusão.") - public Long getConclusionYear() { + public Integer getConclusionYear() { return conclusionYear; } - public void setConclusionYear(Long conclusionYear) { + public void setConclusionYear(Integer conclusionYear) { this.conclusionYear = conclusionYear; } @@ -196,7 +200,7 @@ public EducationSection fieldOfStudy(String fieldOfStudy) { * Curso. * @return fieldOfStudy **/ - @ApiModelProperty(required = true, value = "Curso.") + @ApiModelProperty(value = "Curso.") public String getFieldOfStudy() { return fieldOfStudy; } @@ -205,21 +209,21 @@ public void setFieldOfStudy(String fieldOfStudy) { this.fieldOfStudy = fieldOfStudy; } - public EducationSection status(Object status) { + public EducationSection status(EducationStatusDto status) { this.status = status; return this; } /** - * Situação do curso. + * Get status * @return status **/ - @ApiModelProperty(required = true, value = "Situação do curso.") - public Object getStatus() { + @ApiModelProperty(value = "") + public EducationStatusDto getStatus() { return status; } - public void setStatus(Object status) { + public void setStatus(EducationStatusDto status) { this.status = status; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationStatusDto.java new file mode 100644 index 0000000..1871dd7 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/EducationStatusDto.java @@ -0,0 +1,73 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets educationStatusDto + */ +@JsonAdapter(EducationStatusDto.Adapter.class) +public enum EducationStatusDto { + + IN_PROGRESS("IN_PROGRESS"), + + DONE("DONE"); + + private String value; + + EducationStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EducationStatusDto fromValue(String text) { + for (EducationStatusDto b : EducationStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EducationStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EducationStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EducationStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/EmotionTone.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmotionTone.java new file mode 100644 index 0000000..86cfc88 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmotionTone.java @@ -0,0 +1,236 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.ToneAnalysis; +import java.io.IOException; + +/** + * EmotionTone + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class EmotionTone { + @SerializedName("joy") + private Double joy = null; + + @SerializedName("sadness") + private Double sadness = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("disgust") + private Double disgust = null; + + @SerializedName("anger") + private Double anger = null; + + @SerializedName("fear") + private Double fear = null; + + @SerializedName("toneAnalysis") + private ToneAnalysis toneAnalysis = null; + + public EmotionTone joy(Double joy) { + this.joy = joy; + return this; + } + + /** + * Alegria. + * @return joy + **/ + @ApiModelProperty(value = "Alegria.") + public Double getJoy() { + return joy; + } + + public void setJoy(Double joy) { + this.joy = joy; + } + + public EmotionTone sadness(Double sadness) { + this.sadness = sadness; + return this; + } + + /** + * Tristeza. + * @return sadness + **/ + @ApiModelProperty(value = "Tristeza.") + public Double getSadness() { + return sadness; + } + + public void setSadness(Double sadness) { + this.sadness = sadness; + } + + public EmotionTone id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public EmotionTone disgust(Double disgust) { + this.disgust = disgust; + return this; + } + + /** + * Repugnância. + * @return disgust + **/ + @ApiModelProperty(value = "Repugnância.") + public Double getDisgust() { + return disgust; + } + + public void setDisgust(Double disgust) { + this.disgust = disgust; + } + + public EmotionTone anger(Double anger) { + this.anger = anger; + return this; + } + + /** + * Raiva. + * @return anger + **/ + @ApiModelProperty(value = "Raiva.") + public Double getAnger() { + return anger; + } + + public void setAnger(Double anger) { + this.anger = anger; + } + + public EmotionTone fear(Double fear) { + this.fear = fear; + return this; + } + + /** + * Medo. + * @return fear + **/ + @ApiModelProperty(value = "Medo.") + public Double getFear() { + return fear; + } + + public void setFear(Double fear) { + this.fear = fear; + } + + public EmotionTone toneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + return this; + } + + /** + * Get toneAnalysis + * @return toneAnalysis + **/ + @ApiModelProperty(value = "") + public ToneAnalysis getToneAnalysis() { + return toneAnalysis; + } + + public void setToneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmotionTone emotionTone = (EmotionTone) o; + return Objects.equals(this.joy, emotionTone.joy) && + Objects.equals(this.sadness, emotionTone.sadness) && + Objects.equals(this.id, emotionTone.id) && + Objects.equals(this.disgust, emotionTone.disgust) && + Objects.equals(this.anger, emotionTone.anger) && + Objects.equals(this.fear, emotionTone.fear) && + Objects.equals(this.toneAnalysis, emotionTone.toneAnalysis); + } + + @Override + public int hashCode() { + return Objects.hash(joy, sadness, id, disgust, anger, fear, toneAnalysis); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmotionTone {\n"); + + sb.append(" joy: ").append(toIndentedString(joy)).append("\n"); + sb.append(" sadness: ").append(toIndentedString(sadness)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" disgust: ").append(toIndentedString(disgust)).append("\n"); + sb.append(" anger: ").append(toIndentedString(anger)).append("\n"); + sb.append(" fear: ").append(toIndentedString(fear)).append("\n"); + sb.append(" toneAnalysis: ").append(toIndentedString(toneAnalysis)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Employee.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Employee.java index c5e2c28..7403e62 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Employee.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Employee.java @@ -1,36 +1,215 @@ -package br.com.senior.hcm.recruitment.pojos; +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ -import lombok.Data; -import java.util.Date; +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Person; +import br.com.senior.hcm.recruitment.pojos.WorkShift; +import java.io.IOException; +import org.threeten.bp.LocalDate; /** - * Colaborador + * Employee */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Employee { - /** - * Identificador único da entidade - */ - String id; - /** - * Pessoa a qual o contrato de colaborador referência - */ - Person person; - /** - * Data de demissão do colaborador (Se for o caso) - */ - Date dimissalDate; - /** - * Escala - */ - WorkShift workShift; - /** - * Estação de trabalho - */ - String workstationId; - /** - * Código do colaborador - */ - int code; + @SerializedName("code") + private Integer code = null; + + @SerializedName("workshift") + private WorkShift workshift = null; + + @SerializedName("person") + private Person person = null; + + @SerializedName("workstationId") + private String workstationId = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("dimissalDate") + private LocalDate dimissalDate = null; + + public Employee code(Integer code) { + this.code = code; + return this; + } + + /** + * Código do colaborador. + * @return code + **/ + @ApiModelProperty(value = "Código do colaborador.") + public Integer getCode() { + return code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Employee workshift(WorkShift workshift) { + this.workshift = workshift; + return this; + } + + /** + * Get workshift + * @return workshift + **/ + @ApiModelProperty(value = "") + public WorkShift getWorkshift() { + return workshift; + } + + public void setWorkshift(WorkShift workshift) { + this.workshift = workshift; + } + + public Employee person(Person person) { + this.person = person; + return this; + } + + /** + * Get person + * @return person + **/ + @ApiModelProperty(value = "") + public Person getPerson() { + return person; + } + + public void setPerson(Person person) { + this.person = person; + } + + public Employee workstationId(String workstationId) { + this.workstationId = workstationId; + return this; + } + + /** + * Estação de trabalho + * @return workstationId + **/ + @ApiModelProperty(value = "Estação de trabalho") + public String getWorkstationId() { + return workstationId; + } + + public void setWorkstationId(String workstationId) { + this.workstationId = workstationId; + } + + public Employee id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Employee dimissalDate(LocalDate dimissalDate) { + this.dimissalDate = dimissalDate; + return this; + } + + /** + * Data de demissão do colaborador (Se for o caso). + * @return dimissalDate + **/ + @ApiModelProperty(value = "Data de demissão do colaborador (Se for o caso).") + public LocalDate getDimissalDate() { + return dimissalDate; + } + + public void setDimissalDate(LocalDate dimissalDate) { + this.dimissalDate = dimissalDate; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Employee employee = (Employee) o; + return Objects.equals(this.code, employee.code) && + Objects.equals(this.workshift, employee.workshift) && + Objects.equals(this.person, employee.person) && + Objects.equals(this.workstationId, employee.workstationId) && + Objects.equals(this.id, employee.id) && + Objects.equals(this.dimissalDate, employee.dimissalDate); + } + + @Override + public int hashCode() { + return Objects.hash(code, workshift, person, workstationId, id, dimissalDate); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Employee {\n"); + + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" workshift: ").append(toIndentedString(workshift)).append("\n"); + sb.append(" person: ").append(toIndentedString(person)).append("\n"); + sb.append(" workstationId: ").append(toIndentedString(workstationId)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" dimissalDate: ").append(toIndentedString(dimissalDate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/EmployeeSummary.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmployeeSummary.java index 8001d8d..d175599 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/EmployeeSummary.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmployeeSummary.java @@ -1,71 +1,426 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; -import lombok.Data; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Company; +import br.com.senior.hcm.recruitment.pojos.CostCenter; +import br.com.senior.hcm.recruitment.pojos.Department; +import br.com.senior.hcm.recruitment.pojos.Employee; +import br.com.senior.hcm.recruitment.pojos.JobPosition; +import br.com.senior.hcm.recruitment.pojos.WorkShift; +import br.com.senior.hcm.recruitment.pojos.WorkstationGroup; +import java.io.IOException; /** - * Informações compostas do colaborador + * EmployeeSummary */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class EmployeeSummary { - /** - * Informações básicas do colaborador - */ - Employee employee; - /** - * Nome do grupo de posto de trabalho do colaborador - */ - String workstationGroupName; - /** - * Nome do cargo do colaborador - */ - String jobPositionName; - /** - * Nome da empresa em que o colaborador trabalha - */ - String companyName; - /** - * Representa se o colaborador já está sendo referenciado em outra RP como o colaborador a ser substituído - */ - boolean existsReferenceOfThisReplacedEmployeeOnStaffRequisition; - /** - * Representa se o colaborador já está sendo referenciado em outra vaga como o colaborador a ser substituído - */ - boolean existsReferenceOfThisReplacedEmployeeOnVacancy; - /** - * Identifica se o colaborador foi demitido ou não - */ - boolean dismissed; - /** - * Verifica se o colaborador possui uma posição na hierarquia atual - */ - boolean hasPositionInTheHierarchy; - /** - * Última movimentação do colaborador, obtém a filial e a matriz - */ - Company newCompany; - /** - * Última movimentação do colaborador, obtém o departamento - */ - Department newDepartment; - /** - * Última movimentação do colaborador, obtém o centro de custo - */ - CostCenter newCostCenter; - /** - * Última movimentação do colaborador, obtém o posto de trabalho - */ - WorkstationGroup newWorkstation; - /** - * Última movimentação do colaborador, obtém o cargo - */ - JobPosition newJobPosition; - /** - * Última movimentação do colaborador, obtém a escala de trabalho - */ - WorkShift newWorkshift; - /** - * Local onde o colaborador substituído trabalha - */ - String location; + @SerializedName("newDepartment") + private Department newDepartment = null; + + @SerializedName("existsReferenceOfThisReplacedEmployeeOnVacancy") + private Boolean existsReferenceOfThisReplacedEmployeeOnVacancy = null; + + @SerializedName("newJobPosition") + private JobPosition newJobPosition = null; + + @SerializedName("newWorkstation") + private WorkstationGroup newWorkstation = null; + + @SerializedName("companyName") + private String companyName = null; + + @SerializedName("newCompany") + private Company newCompany = null; + + @SerializedName("dismissed") + private Boolean dismissed = null; + + @SerializedName("newWorkshift") + private WorkShift newWorkshift = null; + + @SerializedName("newCostCenter") + private CostCenter newCostCenter = null; + + @SerializedName("workstationGroupName") + private String workstationGroupName = null; + + @SerializedName("employee") + private Employee employee = null; + + @SerializedName("jobPositionName") + private String jobPositionName = null; + + @SerializedName("existsReferenceOfThisReplacedEmployeeOnStaffRequisition") + private Boolean existsReferenceOfThisReplacedEmployeeOnStaffRequisition = null; + + @SerializedName("hasPositionInTheHierarchy") + private Boolean hasPositionInTheHierarchy = null; + + @SerializedName("location") + private String location = null; + + public EmployeeSummary newDepartment(Department newDepartment) { + this.newDepartment = newDepartment; + return this; + } + + /** + * Get newDepartment + * @return newDepartment + **/ + @ApiModelProperty(value = "") + public Department getNewDepartment() { + return newDepartment; + } + + public void setNewDepartment(Department newDepartment) { + this.newDepartment = newDepartment; + } + + public EmployeeSummary existsReferenceOfThisReplacedEmployeeOnVacancy(Boolean existsReferenceOfThisReplacedEmployeeOnVacancy) { + this.existsReferenceOfThisReplacedEmployeeOnVacancy = existsReferenceOfThisReplacedEmployeeOnVacancy; + return this; + } + + /** + * Representa se o colaborador já está sendo referenciado em outra vaga como o colaborador a ser substituído. + * @return existsReferenceOfThisReplacedEmployeeOnVacancy + **/ + @ApiModelProperty(value = "Representa se o colaborador já está sendo referenciado em outra vaga como o colaborador a ser substituído.") + public Boolean isExistsReferenceOfThisReplacedEmployeeOnVacancy() { + return existsReferenceOfThisReplacedEmployeeOnVacancy; + } + + public void setExistsReferenceOfThisReplacedEmployeeOnVacancy(Boolean existsReferenceOfThisReplacedEmployeeOnVacancy) { + this.existsReferenceOfThisReplacedEmployeeOnVacancy = existsReferenceOfThisReplacedEmployeeOnVacancy; + } + + public EmployeeSummary newJobPosition(JobPosition newJobPosition) { + this.newJobPosition = newJobPosition; + return this; + } + + /** + * Get newJobPosition + * @return newJobPosition + **/ + @ApiModelProperty(value = "") + public JobPosition getNewJobPosition() { + return newJobPosition; + } + + public void setNewJobPosition(JobPosition newJobPosition) { + this.newJobPosition = newJobPosition; + } + + public EmployeeSummary newWorkstation(WorkstationGroup newWorkstation) { + this.newWorkstation = newWorkstation; + return this; + } + + /** + * Get newWorkstation + * @return newWorkstation + **/ + @ApiModelProperty(value = "") + public WorkstationGroup getNewWorkstation() { + return newWorkstation; + } + + public void setNewWorkstation(WorkstationGroup newWorkstation) { + this.newWorkstation = newWorkstation; + } + + public EmployeeSummary companyName(String companyName) { + this.companyName = companyName; + return this; + } + + /** + * Nome da empresa em que o colaborador trabalha. + * @return companyName + **/ + @ApiModelProperty(value = "Nome da empresa em que o colaborador trabalha.") + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public EmployeeSummary newCompany(Company newCompany) { + this.newCompany = newCompany; + return this; + } + + /** + * Get newCompany + * @return newCompany + **/ + @ApiModelProperty(value = "") + public Company getNewCompany() { + return newCompany; + } + + public void setNewCompany(Company newCompany) { + this.newCompany = newCompany; + } + + public EmployeeSummary dismissed(Boolean dismissed) { + this.dismissed = dismissed; + return this; + } + + /** + * Identifica se o colaborador foi demitido ou não. + * @return dismissed + **/ + @ApiModelProperty(value = "Identifica se o colaborador foi demitido ou não.") + public Boolean isDismissed() { + return dismissed; + } + + public void setDismissed(Boolean dismissed) { + this.dismissed = dismissed; + } + + public EmployeeSummary newWorkshift(WorkShift newWorkshift) { + this.newWorkshift = newWorkshift; + return this; + } + + /** + * Get newWorkshift + * @return newWorkshift + **/ + @ApiModelProperty(value = "") + public WorkShift getNewWorkshift() { + return newWorkshift; + } + + public void setNewWorkshift(WorkShift newWorkshift) { + this.newWorkshift = newWorkshift; + } + + public EmployeeSummary newCostCenter(CostCenter newCostCenter) { + this.newCostCenter = newCostCenter; + return this; + } + + /** + * Get newCostCenter + * @return newCostCenter + **/ + @ApiModelProperty(value = "") + public CostCenter getNewCostCenter() { + return newCostCenter; + } + + public void setNewCostCenter(CostCenter newCostCenter) { + this.newCostCenter = newCostCenter; + } + + public EmployeeSummary workstationGroupName(String workstationGroupName) { + this.workstationGroupName = workstationGroupName; + return this; + } + + /** + * Nome do grupo de posto de trabalho do colaborador. + * @return workstationGroupName + **/ + @ApiModelProperty(value = "Nome do grupo de posto de trabalho do colaborador.") + public String getWorkstationGroupName() { + return workstationGroupName; + } + + public void setWorkstationGroupName(String workstationGroupName) { + this.workstationGroupName = workstationGroupName; + } + + public EmployeeSummary employee(Employee employee) { + this.employee = employee; + return this; + } + + /** + * Get employee + * @return employee + **/ + @ApiModelProperty(value = "") + public Employee getEmployee() { + return employee; + } + + public void setEmployee(Employee employee) { + this.employee = employee; + } + + public EmployeeSummary jobPositionName(String jobPositionName) { + this.jobPositionName = jobPositionName; + return this; + } + + /** + * Nome do cargo do colaborador. + * @return jobPositionName + **/ + @ApiModelProperty(value = "Nome do cargo do colaborador.") + public String getJobPositionName() { + return jobPositionName; + } + + public void setJobPositionName(String jobPositionName) { + this.jobPositionName = jobPositionName; + } + + public EmployeeSummary existsReferenceOfThisReplacedEmployeeOnStaffRequisition(Boolean existsReferenceOfThisReplacedEmployeeOnStaffRequisition) { + this.existsReferenceOfThisReplacedEmployeeOnStaffRequisition = existsReferenceOfThisReplacedEmployeeOnStaffRequisition; + return this; + } + + /** + * Representa se o colaborador já está sendo referenciado em outra RP como o colaborador a ser substituído. + * @return existsReferenceOfThisReplacedEmployeeOnStaffRequisition + **/ + @ApiModelProperty(value = "Representa se o colaborador já está sendo referenciado em outra RP como o colaborador a ser substituído.") + public Boolean isExistsReferenceOfThisReplacedEmployeeOnStaffRequisition() { + return existsReferenceOfThisReplacedEmployeeOnStaffRequisition; + } + + public void setExistsReferenceOfThisReplacedEmployeeOnStaffRequisition(Boolean existsReferenceOfThisReplacedEmployeeOnStaffRequisition) { + this.existsReferenceOfThisReplacedEmployeeOnStaffRequisition = existsReferenceOfThisReplacedEmployeeOnStaffRequisition; + } + + public EmployeeSummary hasPositionInTheHierarchy(Boolean hasPositionInTheHierarchy) { + this.hasPositionInTheHierarchy = hasPositionInTheHierarchy; + return this; + } + + /** + * Verifica se o colaborador possui uma posição na hierarquia atual. + * @return hasPositionInTheHierarchy + **/ + @ApiModelProperty(value = "Verifica se o colaborador possui uma posição na hierarquia atual.") + public Boolean isHasPositionInTheHierarchy() { + return hasPositionInTheHierarchy; + } + + public void setHasPositionInTheHierarchy(Boolean hasPositionInTheHierarchy) { + this.hasPositionInTheHierarchy = hasPositionInTheHierarchy; + } + + public EmployeeSummary location(String location) { + this.location = location; + return this; + } + + /** + * Local onde o colaborador substituído trabalha. + * @return location + **/ + @ApiModelProperty(value = "Local onde o colaborador substituído trabalha.") + public String getLocation() { + return location; + } + + public void setLocation(String location) { + this.location = location; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmployeeSummary employeeSummary = (EmployeeSummary) o; + return Objects.equals(this.newDepartment, employeeSummary.newDepartment) && + Objects.equals(this.existsReferenceOfThisReplacedEmployeeOnVacancy, employeeSummary.existsReferenceOfThisReplacedEmployeeOnVacancy) && + Objects.equals(this.newJobPosition, employeeSummary.newJobPosition) && + Objects.equals(this.newWorkstation, employeeSummary.newWorkstation) && + Objects.equals(this.companyName, employeeSummary.companyName) && + Objects.equals(this.newCompany, employeeSummary.newCompany) && + Objects.equals(this.dismissed, employeeSummary.dismissed) && + Objects.equals(this.newWorkshift, employeeSummary.newWorkshift) && + Objects.equals(this.newCostCenter, employeeSummary.newCostCenter) && + Objects.equals(this.workstationGroupName, employeeSummary.workstationGroupName) && + Objects.equals(this.employee, employeeSummary.employee) && + Objects.equals(this.jobPositionName, employeeSummary.jobPositionName) && + Objects.equals(this.existsReferenceOfThisReplacedEmployeeOnStaffRequisition, employeeSummary.existsReferenceOfThisReplacedEmployeeOnStaffRequisition) && + Objects.equals(this.hasPositionInTheHierarchy, employeeSummary.hasPositionInTheHierarchy) && + Objects.equals(this.location, employeeSummary.location); + } + + @Override + public int hashCode() { + return Objects.hash(newDepartment, existsReferenceOfThisReplacedEmployeeOnVacancy, newJobPosition, newWorkstation, companyName, newCompany, dismissed, newWorkshift, newCostCenter, workstationGroupName, employee, jobPositionName, existsReferenceOfThisReplacedEmployeeOnStaffRequisition, hasPositionInTheHierarchy, location); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmployeeSummary {\n"); + + sb.append(" newDepartment: ").append(toIndentedString(newDepartment)).append("\n"); + sb.append(" existsReferenceOfThisReplacedEmployeeOnVacancy: ").append(toIndentedString(existsReferenceOfThisReplacedEmployeeOnVacancy)).append("\n"); + sb.append(" newJobPosition: ").append(toIndentedString(newJobPosition)).append("\n"); + sb.append(" newWorkstation: ").append(toIndentedString(newWorkstation)).append("\n"); + sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); + sb.append(" newCompany: ").append(toIndentedString(newCompany)).append("\n"); + sb.append(" dismissed: ").append(toIndentedString(dismissed)).append("\n"); + sb.append(" newWorkshift: ").append(toIndentedString(newWorkshift)).append("\n"); + sb.append(" newCostCenter: ").append(toIndentedString(newCostCenter)).append("\n"); + sb.append(" workstationGroupName: ").append(toIndentedString(workstationGroupName)).append("\n"); + sb.append(" employee: ").append(toIndentedString(employee)).append("\n"); + sb.append(" jobPositionName: ").append(toIndentedString(jobPositionName)).append("\n"); + sb.append(" existsReferenceOfThisReplacedEmployeeOnStaffRequisition: ").append(toIndentedString(existsReferenceOfThisReplacedEmployeeOnStaffRequisition)).append("\n"); + sb.append(" hasPositionInTheHierarchy: ").append(toIndentedString(hasPositionInTheHierarchy)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/EmploymentContractDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmploymentContractDto.java new file mode 100644 index 0000000..c7f1b53 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/EmploymentContractDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets employmentContractDto + */ +@JsonAdapter(EmploymentContractDto.Adapter.class) +public enum EmploymentContractDto { + + YOUNG_APPRENTICE("YOUNG_APPRENTICE"), + + CLT("CLT"), + + INTERN("INTERN"); + + private String value; + + EmploymentContractDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EmploymentContractDto fromValue(String text) { + for (EmploymentContractDto b : EmploymentContractDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EmploymentContractDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EmploymentContractDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EmploymentContractDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Extraversion.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Extraversion.java new file mode 100644 index 0000000..3ca672f --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Extraversion.java @@ -0,0 +1,282 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import java.io.IOException; + +/** + * Extraversion + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Extraversion { + @SerializedName("gregariousness") + private Double gregariousness = null; + + @SerializedName("dimensionValue") + private Double dimensionValue = null; + + @SerializedName("cheerfulness") + private Double cheerfulness = null; + + @SerializedName("excitementSeeking") + private Double excitementSeeking = null; + + @SerializedName("friendliness") + private Double friendliness = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("activityLevel") + private Double activityLevel = null; + + @SerializedName("assertiveness") + private Double assertiveness = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + public Extraversion gregariousness(Double gregariousness) { + this.gregariousness = gregariousness; + return this; + } + + /** + * Faceta de socialização. + * @return gregariousness + **/ + @ApiModelProperty(value = "Faceta de socialização.") + public Double getGregariousness() { + return gregariousness; + } + + public void setGregariousness(Double gregariousness) { + this.gregariousness = gregariousness; + } + + public Extraversion dimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + return this; + } + + /** + * Valor desta dimensão + * @return dimensionValue + **/ + @ApiModelProperty(value = "Valor desta dimensão") + public Double getDimensionValue() { + return dimensionValue; + } + + public void setDimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + } + + public Extraversion cheerfulness(Double cheerfulness) { + this.cheerfulness = cheerfulness; + return this; + } + + /** + * Faceta de alegria. + * @return cheerfulness + **/ + @ApiModelProperty(value = "Faceta de alegria.") + public Double getCheerfulness() { + return cheerfulness; + } + + public void setCheerfulness(Double cheerfulness) { + this.cheerfulness = cheerfulness; + } + + public Extraversion excitementSeeking(Double excitementSeeking) { + this.excitementSeeking = excitementSeeking; + return this; + } + + /** + * Faceta de busca de emoção. + * @return excitementSeeking + **/ + @ApiModelProperty(value = "Faceta de busca de emoção.") + public Double getExcitementSeeking() { + return excitementSeeking; + } + + public void setExcitementSeeking(Double excitementSeeking) { + this.excitementSeeking = excitementSeeking; + } + + public Extraversion friendliness(Double friendliness) { + this.friendliness = friendliness; + return this; + } + + /** + * Faceta de simpatia. + * @return friendliness + **/ + @ApiModelProperty(value = "Faceta de simpatia.") + public Double getFriendliness() { + return friendliness; + } + + public void setFriendliness(Double friendliness) { + this.friendliness = friendliness; + } + + public Extraversion id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Extraversion activityLevel(Double activityLevel) { + this.activityLevel = activityLevel; + return this; + } + + /** + * Faceta de energia. + * @return activityLevel + **/ + @ApiModelProperty(value = "Faceta de energia.") + public Double getActivityLevel() { + return activityLevel; + } + + public void setActivityLevel(Double activityLevel) { + this.activityLevel = activityLevel; + } + + public Extraversion assertiveness(Double assertiveness) { + this.assertiveness = assertiveness; + return this; + } + + /** + * Faceta de assertividade. + * @return assertiveness + **/ + @ApiModelProperty(value = "Faceta de assertividade.") + public Double getAssertiveness() { + return assertiveness; + } + + public void setAssertiveness(Double assertiveness) { + this.assertiveness = assertiveness; + } + + public Extraversion bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Extraversion extraversion = (Extraversion) o; + return Objects.equals(this.gregariousness, extraversion.gregariousness) && + Objects.equals(this.dimensionValue, extraversion.dimensionValue) && + Objects.equals(this.cheerfulness, extraversion.cheerfulness) && + Objects.equals(this.excitementSeeking, extraversion.excitementSeeking) && + Objects.equals(this.friendliness, extraversion.friendliness) && + Objects.equals(this.id, extraversion.id) && + Objects.equals(this.activityLevel, extraversion.activityLevel) && + Objects.equals(this.assertiveness, extraversion.assertiveness) && + Objects.equals(this.bigFive, extraversion.bigFive); + } + + @Override + public int hashCode() { + return Objects.hash(gregariousness, dimensionValue, cheerfulness, excitementSeeking, friendliness, id, activityLevel, assertiveness, bigFive); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Extraversion {\n"); + + sb.append(" gregariousness: ").append(toIndentedString(gregariousness)).append("\n"); + sb.append(" dimensionValue: ").append(toIndentedString(dimensionValue)).append("\n"); + sb.append(" cheerfulness: ").append(toIndentedString(cheerfulness)).append("\n"); + sb.append(" excitementSeeking: ").append(toIndentedString(excitementSeeking)).append("\n"); + sb.append(" friendliness: ").append(toIndentedString(friendliness)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" activityLevel: ").append(toIndentedString(activityLevel)).append("\n"); + sb.append(" assertiveness: ").append(toIndentedString(assertiveness)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/GenderDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/GenderDto.java new file mode 100644 index 0000000..8be3fbb --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/GenderDto.java @@ -0,0 +1,73 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets genderDto + */ +@JsonAdapter(GenderDto.Adapter.class) +public enum GenderDto { + + MALE("MALE"), + + FEMALE("FEMALE"); + + private String value; + + GenderDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static GenderDto fromValue(String text) { + for (GenderDto b : GenderDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final GenderDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public GenderDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return GenderDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/HonorificDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/HonorificDto.java new file mode 100644 index 0000000..dfa739a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/HonorificDto.java @@ -0,0 +1,71 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets honorificDto + */ +@JsonAdapter(HonorificDto.Adapter.class) +public enum HonorificDto { + + SRA("SRA"); + + private String value; + + HonorificDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static HonorificDto fromValue(String text) { + for (HonorificDto b : HonorificDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final HonorificDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public HonorificDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return HonorificDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/IntegrationStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/IntegrationStatusDto.java new file mode 100644 index 0000000..808df9d --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/IntegrationStatusDto.java @@ -0,0 +1,79 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets integrationStatusDto + */ +@JsonAdapter(IntegrationStatusDto.Adapter.class) +public enum IntegrationStatusDto { + + SUCCESS("SUCCESS"), + + ERROR("ERROR"), + + PENDING("PENDING"), + + SUCCESS_PERSONNEL_MANAGEMENT("SUCCESS_PERSONNEL_MANAGEMENT"), + + ERRORG7("ERRORG7"); + + private String value; + + IntegrationStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static IntegrationStatusDto fromValue(String text) { + for (IntegrationStatusDto b : IntegrationStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final IntegrationStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public IntegrationStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return IntegrationStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/JobPosition.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/JobPosition.java index 84c19d6..9ecac7b 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/JobPosition.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/JobPosition.java @@ -1,4 +1,143 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * JobPosition + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class JobPosition { + @SerializedName("code") + private String code = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("id") + private String id = null; + + public JobPosition code(String code) { + this.code = code; + return this; + } + + /** + * Código do cargo. + * @return code + **/ + @ApiModelProperty(value = "Código do cargo.") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public JobPosition name(String name) { + this.name = name; + return this; + } + + /** + * Nome do cargo. + * @return name + **/ + @ApiModelProperty(value = "Nome do cargo.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public JobPosition id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + JobPosition jobPosition = (JobPosition) o; + return Objects.equals(this.code, jobPosition.code) && + Objects.equals(this.name, jobPosition.name) && + Objects.equals(this.id, jobPosition.id); + } + + @Override + public int hashCode() { + return Objects.hash(code, name, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class JobPosition {\n"); + + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Knowledge.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Knowledge.java new file mode 100644 index 0000000..ae93325 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Knowledge.java @@ -0,0 +1,214 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.ProficiencyDto; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * Knowledge + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Knowledge { + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("proficiency") + private ProficiencyDto proficiency = null; + + @SerializedName("updatedAt") + private OffsetDateTime updatedAt = null; + + public Knowledge createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public Knowledge resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * Identificador do currículo a qual o conhecimento está associado. + * @return resumeId + **/ + @ApiModelProperty(value = "Identificador do currículo a qual o conhecimento está associado.") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public Knowledge description(String description) { + this.description = description; + return this; + } + + /** + * Descrição do conhecimento. + * @return description + **/ + @ApiModelProperty(value = "Descrição do conhecimento.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Knowledge id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Knowledge proficiency(ProficiencyDto proficiency) { + this.proficiency = proficiency; + return this; + } + + /** + * Get proficiency + * @return proficiency + **/ + @ApiModelProperty(value = "") + public ProficiencyDto getProficiency() { + return proficiency; + } + + public void setProficiency(ProficiencyDto proficiency) { + this.proficiency = proficiency; + } + + public Knowledge updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Data da última alteração. + * @return updatedAt + **/ + @ApiModelProperty(value = "Data da última alteração.") + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Knowledge knowledge = (Knowledge) o; + return Objects.equals(this.createdAt, knowledge.createdAt) && + Objects.equals(this.resumeId, knowledge.resumeId) && + Objects.equals(this.description, knowledge.description) && + Objects.equals(this.id, knowledge.id) && + Objects.equals(this.proficiency, knowledge.proficiency) && + Objects.equals(this.updatedAt, knowledge.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, resumeId, description, id, proficiency, updatedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Knowledge {\n"); + + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" proficiency: ").append(toIndentedString(proficiency)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageProficiencyDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageProficiencyDto.java new file mode 100644 index 0000000..a2a183b --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageProficiencyDto.java @@ -0,0 +1,77 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets languageProficiencyDto + */ +@JsonAdapter(LanguageProficiencyDto.Adapter.class) +public enum LanguageProficiencyDto { + + BASIC("BASIC"), + + INTERMEDIATE("INTERMEDIATE"), + + ADVANCED("ADVANCED"), + + FLUENT("FLUENT"); + + private String value; + + LanguageProficiencyDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LanguageProficiencyDto fromValue(String text) { + for (LanguageProficiencyDto b : LanguageProficiencyDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LanguageProficiencyDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LanguageProficiencyDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LanguageProficiencyDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageSection.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageSection.java new file mode 100644 index 0000000..1fdcbcd --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageSection.java @@ -0,0 +1,237 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.LanguageProficiencyDto; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * LanguageSection + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class LanguageSection { + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("g5Id") + private String g5Id = null; + + @SerializedName("language") + private String language = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("proficiency") + private LanguageProficiencyDto proficiency = null; + + @SerializedName("updatedAt") + private OffsetDateTime updatedAt = null; + + public LanguageSection createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public LanguageSection resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * Identificador do currículo à qual o idioma está associado. + * @return resumeId + **/ + @ApiModelProperty(value = "Identificador do currículo à qual o idioma está associado.") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public LanguageSection g5Id(String g5Id) { + this.g5Id = g5Id; + return this; + } + + /** + * ID do registro no sistema legado. Esse atributo não é persistido na base, é utilizado apenas como identificador na integração do registro da g5 para G7. + * @return g5Id + **/ + @ApiModelProperty(value = "ID do registro no sistema legado. Esse atributo não é persistido na base, é utilizado apenas como identificador na integração do registro da g5 para G7.") + public String getG5Id() { + return g5Id; + } + + public void setG5Id(String g5Id) { + this.g5Id = g5Id; + } + + public LanguageSection language(String language) { + this.language = language; + return this; + } + + /** + * Idioma. + * @return language + **/ + @ApiModelProperty(value = "Idioma.") + public String getLanguage() { + return language; + } + + public void setLanguage(String language) { + this.language = language; + } + + public LanguageSection id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LanguageSection proficiency(LanguageProficiencyDto proficiency) { + this.proficiency = proficiency; + return this; + } + + /** + * Get proficiency + * @return proficiency + **/ + @ApiModelProperty(value = "") + public LanguageProficiencyDto getProficiency() { + return proficiency; + } + + public void setProficiency(LanguageProficiencyDto proficiency) { + this.proficiency = proficiency; + } + + public LanguageSection updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Data da última alteração. + * @return updatedAt + **/ + @ApiModelProperty(value = "Data da última alteração.") + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LanguageSection languageSection = (LanguageSection) o; + return Objects.equals(this.createdAt, languageSection.createdAt) && + Objects.equals(this.resumeId, languageSection.resumeId) && + Objects.equals(this.g5Id, languageSection.g5Id) && + Objects.equals(this.language, languageSection.language) && + Objects.equals(this.id, languageSection.id) && + Objects.equals(this.proficiency, languageSection.proficiency) && + Objects.equals(this.updatedAt, languageSection.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, resumeId, g5Id, language, id, proficiency, updatedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LanguageSection {\n"); + + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" g5Id: ").append(toIndentedString(g5Id)).append("\n"); + sb.append(" language: ").append(toIndentedString(language)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" proficiency: ").append(toIndentedString(proficiency)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageTone.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageTone.java new file mode 100644 index 0000000..2dc901b --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/LanguageTone.java @@ -0,0 +1,190 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.ToneAnalysis; +import java.io.IOException; + +/** + * LanguageTone + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class LanguageTone { + @SerializedName("analytical") + private Double analytical = null; + + @SerializedName("confident") + private Double confident = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("tentative") + private Double tentative = null; + + @SerializedName("toneAnalysis") + private ToneAnalysis toneAnalysis = null; + + public LanguageTone analytical(Double analytical) { + this.analytical = analytical; + return this; + } + + /** + * Analítico. + * @return analytical + **/ + @ApiModelProperty(value = "Analítico.") + public Double getAnalytical() { + return analytical; + } + + public void setAnalytical(Double analytical) { + this.analytical = analytical; + } + + public LanguageTone confident(Double confident) { + this.confident = confident; + return this; + } + + /** + * Confiante. + * @return confident + **/ + @ApiModelProperty(value = "Confiante.") + public Double getConfident() { + return confident; + } + + public void setConfident(Double confident) { + this.confident = confident; + } + + public LanguageTone id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LanguageTone tentative(Double tentative) { + this.tentative = tentative; + return this; + } + + /** + * Hesitante. + * @return tentative + **/ + @ApiModelProperty(value = "Hesitante.") + public Double getTentative() { + return tentative; + } + + public void setTentative(Double tentative) { + this.tentative = tentative; + } + + public LanguageTone toneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + return this; + } + + /** + * Get toneAnalysis + * @return toneAnalysis + **/ + @ApiModelProperty(value = "") + public ToneAnalysis getToneAnalysis() { + return toneAnalysis; + } + + public void setToneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LanguageTone languageTone = (LanguageTone) o; + return Objects.equals(this.analytical, languageTone.analytical) && + Objects.equals(this.confident, languageTone.confident) && + Objects.equals(this.id, languageTone.id) && + Objects.equals(this.tentative, languageTone.tentative) && + Objects.equals(this.toneAnalysis, languageTone.toneAnalysis); + } + + @Override + public int hashCode() { + return Objects.hash(analytical, confident, id, tentative, toneAnalysis); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LanguageTone {\n"); + + sb.append(" analytical: ").append(toIndentedString(analytical)).append("\n"); + sb.append(" confident: ").append(toIndentedString(confident)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" tentative: ").append(toIndentedString(tentative)).append("\n"); + sb.append(" toneAnalysis: ").append(toIndentedString(toneAnalysis)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/MaritalStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/MaritalStatusDto.java new file mode 100644 index 0000000..dfbd460 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/MaritalStatusDto.java @@ -0,0 +1,85 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets maritalStatusDto + */ +@JsonAdapter(MaritalStatusDto.Adapter.class) +public enum MaritalStatusDto { + + SINGLE("SINGLE"), + + MARRIED("MARRIED"), + + DIVORCED("DIVORCED"), + + WIDOWER("WIDOWER"), + + CONCUBINAGE("CONCUBINAGE"), + + SEPARATED("SEPARATED"), + + STABLE_UNION("STABLE_UNION"), + + OTHER("OTHER"); + + private String value; + + MaritalStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MaritalStatusDto fromValue(String text) { + for (MaritalStatusDto b : MaritalStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MaritalStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MaritalStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MaritalStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStage.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStage.java new file mode 100644 index 0000000..994d1d9 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStage.java @@ -0,0 +1,237 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.ModelStageTypeDto; +import br.com.senior.hcm.recruitment.pojos.RecruitmentProcessStage; +import java.io.IOException; + +/** + * ModelStage + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class ModelStage { + @SerializedName("sequence") + private Integer sequence = null; + + @SerializedName("medicalExam") + private Boolean medicalExam = null; + + @SerializedName("recruitmentProcessStage") + private RecruitmentProcessStage recruitmentProcessStage = null; + + @SerializedName("modelId") + private String modelId = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("type") + private ModelStageTypeDto type = null; + + public ModelStage sequence(Integer sequence) { + this.sequence = sequence; + return this; + } + + /** + * Sequência da etapa + * @return sequence + **/ + @ApiModelProperty(value = "Sequência da etapa") + public Integer getSequence() { + return sequence; + } + + public void setSequence(Integer sequence) { + this.sequence = sequence; + } + + public ModelStage medicalExam(Boolean medicalExam) { + this.medicalExam = medicalExam; + return this; + } + + /** + * Indica se a etapa é de exame médico. + * @return medicalExam + **/ + @ApiModelProperty(value = "Indica se a etapa é de exame médico.") + public Boolean isMedicalExam() { + return medicalExam; + } + + public void setMedicalExam(Boolean medicalExam) { + this.medicalExam = medicalExam; + } + + public ModelStage recruitmentProcessStage(RecruitmentProcessStage recruitmentProcessStage) { + this.recruitmentProcessStage = recruitmentProcessStage; + return this; + } + + /** + * Get recruitmentProcessStage + * @return recruitmentProcessStage + **/ + @ApiModelProperty(value = "") + public RecruitmentProcessStage getRecruitmentProcessStage() { + return recruitmentProcessStage; + } + + public void setRecruitmentProcessStage(RecruitmentProcessStage recruitmentProcessStage) { + this.recruitmentProcessStage = recruitmentProcessStage; + } + + public ModelStage modelId(String modelId) { + this.modelId = modelId; + return this; + } + + /** + * Identificador único do modelo a qual está etapa pertence. + * @return modelId + **/ + @ApiModelProperty(value = "Identificador único do modelo a qual está etapa pertence.") + public String getModelId() { + return modelId; + } + + public void setModelId(String modelId) { + this.modelId = modelId; + } + + public ModelStage name(String name) { + this.name = name; + return this; + } + + /** + * Nome da etapa. + * @return name + **/ + @ApiModelProperty(value = "Nome da etapa.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public ModelStage id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ModelStage type(ModelStageTypeDto type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(value = "") + public ModelStageTypeDto getType() { + return type; + } + + public void setType(ModelStageTypeDto type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModelStage modelStage = (ModelStage) o; + return Objects.equals(this.sequence, modelStage.sequence) && + Objects.equals(this.medicalExam, modelStage.medicalExam) && + Objects.equals(this.recruitmentProcessStage, modelStage.recruitmentProcessStage) && + Objects.equals(this.modelId, modelStage.modelId) && + Objects.equals(this.name, modelStage.name) && + Objects.equals(this.id, modelStage.id) && + Objects.equals(this.type, modelStage.type); + } + + @Override + public int hashCode() { + return Objects.hash(sequence, medicalExam, recruitmentProcessStage, modelId, name, id, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModelStage {\n"); + + sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + sb.append(" medicalExam: ").append(toIndentedString(medicalExam)).append("\n"); + sb.append(" recruitmentProcessStage: ").append(toIndentedString(recruitmentProcessStage)).append("\n"); + sb.append(" modelId: ").append(toIndentedString(modelId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStageTypeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStageTypeDto.java new file mode 100644 index 0000000..68ea931 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ModelStageTypeDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets modelStageTypeDto + */ +@JsonAdapter(ModelStageTypeDto.Adapter.class) +public enum ModelStageTypeDto { + + HR("HR"), + + REQUESTER("REQUESTER"), + + BOTH("BOTH"); + + private String value; + + ModelStageTypeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ModelStageTypeDto fromValue(String text) { + for (ModelStageTypeDto b : ModelStageTypeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ModelStageTypeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ModelStageTypeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ModelStageTypeDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Needs.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Needs.java new file mode 100644 index 0000000..62fcfd3 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Needs.java @@ -0,0 +1,397 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelCandidate; +import java.io.IOException; + +/** + * Needs + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Needs { + @SerializedName("love") + private Double love = null; + + @SerializedName("harmony") + private Double harmony = null; + + @SerializedName("ideal") + private Double ideal = null; + + @SerializedName("curiosity") + private Double curiosity = null; + + @SerializedName("closeness") + private Double closeness = null; + + @SerializedName("excitement") + private Double excitement = null; + + @SerializedName("structure") + private Double structure = null; + + @SerializedName("practicality") + private Double practicality = null; + + @SerializedName("personalityModelCandidate") + private PersonalityModelCandidate personalityModelCandidate = null; + + @SerializedName("liberty") + private Double liberty = null; + + @SerializedName("selfExpression") + private Double selfExpression = null; + + @SerializedName("challenge") + private Double challenge = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("stability") + private Double stability = null; + + public Needs love(Double love) { + this.love = love; + return this; + } + + /** + * Amor. + * @return love + **/ + @ApiModelProperty(value = "Amor.") + public Double getLove() { + return love; + } + + public void setLove(Double love) { + this.love = love; + } + + public Needs harmony(Double harmony) { + this.harmony = harmony; + return this; + } + + /** + * Harmonia. + * @return harmony + **/ + @ApiModelProperty(value = "Harmonia.") + public Double getHarmony() { + return harmony; + } + + public void setHarmony(Double harmony) { + this.harmony = harmony; + } + + public Needs ideal(Double ideal) { + this.ideal = ideal; + return this; + } + + /** + * Ideal. + * @return ideal + **/ + @ApiModelProperty(value = "Ideal.") + public Double getIdeal() { + return ideal; + } + + public void setIdeal(Double ideal) { + this.ideal = ideal; + } + + public Needs curiosity(Double curiosity) { + this.curiosity = curiosity; + return this; + } + + /** + * Curiosidade. + * @return curiosity + **/ + @ApiModelProperty(value = "Curiosidade.") + public Double getCuriosity() { + return curiosity; + } + + public void setCuriosity(Double curiosity) { + this.curiosity = curiosity; + } + + public Needs closeness(Double closeness) { + this.closeness = closeness; + return this; + } + + /** + * Retraimento. + * @return closeness + **/ + @ApiModelProperty(value = "Retraimento.") + public Double getCloseness() { + return closeness; + } + + public void setCloseness(Double closeness) { + this.closeness = closeness; + } + + public Needs excitement(Double excitement) { + this.excitement = excitement; + return this; + } + + /** + * Empolgação. + * @return excitement + **/ + @ApiModelProperty(value = "Empolgação.") + public Double getExcitement() { + return excitement; + } + + public void setExcitement(Double excitement) { + this.excitement = excitement; + } + + public Needs structure(Double structure) { + this.structure = structure; + return this; + } + + /** + * Estrutura. + * @return structure + **/ + @ApiModelProperty(value = "Estrutura.") + public Double getStructure() { + return structure; + } + + public void setStructure(Double structure) { + this.structure = structure; + } + + public Needs practicality(Double practicality) { + this.practicality = practicality; + return this; + } + + /** + * Natureza prática. + * @return practicality + **/ + @ApiModelProperty(value = "Natureza prática.") + public Double getPracticality() { + return practicality; + } + + public void setPracticality(Double practicality) { + this.practicality = practicality; + } + + public Needs personalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + return this; + } + + /** + * Get personalityModelCandidate + * @return personalityModelCandidate + **/ + @ApiModelProperty(value = "") + public PersonalityModelCandidate getPersonalityModelCandidate() { + return personalityModelCandidate; + } + + public void setPersonalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + } + + public Needs liberty(Double liberty) { + this.liberty = liberty; + return this; + } + + /** + * Liberdade. + * @return liberty + **/ + @ApiModelProperty(value = "Liberdade.") + public Double getLiberty() { + return liberty; + } + + public void setLiberty(Double liberty) { + this.liberty = liberty; + } + + public Needs selfExpression(Double selfExpression) { + this.selfExpression = selfExpression; + return this; + } + + /** + * Expressão da própria personalidade. + * @return selfExpression + **/ + @ApiModelProperty(value = "Expressão da própria personalidade.") + public Double getSelfExpression() { + return selfExpression; + } + + public void setSelfExpression(Double selfExpression) { + this.selfExpression = selfExpression; + } + + public Needs challenge(Double challenge) { + this.challenge = challenge; + return this; + } + + /** + * Desafio. + * @return challenge + **/ + @ApiModelProperty(value = "Desafio.") + public Double getChallenge() { + return challenge; + } + + public void setChallenge(Double challenge) { + this.challenge = challenge; + } + + public Needs id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Needs stability(Double stability) { + this.stability = stability; + return this; + } + + /** + * Estabilidade. + * @return stability + **/ + @ApiModelProperty(value = "Estabilidade.") + public Double getStability() { + return stability; + } + + public void setStability(Double stability) { + this.stability = stability; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Needs needs = (Needs) o; + return Objects.equals(this.love, needs.love) && + Objects.equals(this.harmony, needs.harmony) && + Objects.equals(this.ideal, needs.ideal) && + Objects.equals(this.curiosity, needs.curiosity) && + Objects.equals(this.closeness, needs.closeness) && + Objects.equals(this.excitement, needs.excitement) && + Objects.equals(this.structure, needs.structure) && + Objects.equals(this.practicality, needs.practicality) && + Objects.equals(this.personalityModelCandidate, needs.personalityModelCandidate) && + Objects.equals(this.liberty, needs.liberty) && + Objects.equals(this.selfExpression, needs.selfExpression) && + Objects.equals(this.challenge, needs.challenge) && + Objects.equals(this.id, needs.id) && + Objects.equals(this.stability, needs.stability); + } + + @Override + public int hashCode() { + return Objects.hash(love, harmony, ideal, curiosity, closeness, excitement, structure, practicality, personalityModelCandidate, liberty, selfExpression, challenge, id, stability); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Needs {\n"); + + sb.append(" love: ").append(toIndentedString(love)).append("\n"); + sb.append(" harmony: ").append(toIndentedString(harmony)).append("\n"); + sb.append(" ideal: ").append(toIndentedString(ideal)).append("\n"); + sb.append(" curiosity: ").append(toIndentedString(curiosity)).append("\n"); + sb.append(" closeness: ").append(toIndentedString(closeness)).append("\n"); + sb.append(" excitement: ").append(toIndentedString(excitement)).append("\n"); + sb.append(" structure: ").append(toIndentedString(structure)).append("\n"); + sb.append(" practicality: ").append(toIndentedString(practicality)).append("\n"); + sb.append(" personalityModelCandidate: ").append(toIndentedString(personalityModelCandidate)).append("\n"); + sb.append(" liberty: ").append(toIndentedString(liberty)).append("\n"); + sb.append(" selfExpression: ").append(toIndentedString(selfExpression)).append("\n"); + sb.append(" challenge: ").append(toIndentedString(challenge)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" stability: ").append(toIndentedString(stability)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Neuroticism.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Neuroticism.java new file mode 100644 index 0000000..584505a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Neuroticism.java @@ -0,0 +1,282 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import java.io.IOException; + +/** + * Neuroticism + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Neuroticism { + @SerializedName("anxiety") + private Double anxiety = null; + + @SerializedName("selfConsciousness") + private Double selfConsciousness = null; + + @SerializedName("dimensionValue") + private Double dimensionValue = null; + + @SerializedName("immoderation") + private Double immoderation = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("depression") + private Double depression = null; + + @SerializedName("vulnerability") + private Double vulnerability = null; + + @SerializedName("anger") + private Double anger = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + public Neuroticism anxiety(Double anxiety) { + this.anxiety = anxiety; + return this; + } + + /** + * Faceta de ansiedade. + * @return anxiety + **/ + @ApiModelProperty(value = "Faceta de ansiedade.") + public Double getAnxiety() { + return anxiety; + } + + public void setAnxiety(Double anxiety) { + this.anxiety = anxiety; + } + + public Neuroticism selfConsciousness(Double selfConsciousness) { + this.selfConsciousness = selfConsciousness; + return this; + } + + /** + * Faceta de autoconsciência. + * @return selfConsciousness + **/ + @ApiModelProperty(value = "Faceta de autoconsciência.") + public Double getSelfConsciousness() { + return selfConsciousness; + } + + public void setSelfConsciousness(Double selfConsciousness) { + this.selfConsciousness = selfConsciousness; + } + + public Neuroticism dimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + return this; + } + + /** + * Valor desta dimensão + * @return dimensionValue + **/ + @ApiModelProperty(value = "Valor desta dimensão") + public Double getDimensionValue() { + return dimensionValue; + } + + public void setDimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + } + + public Neuroticism immoderation(Double immoderation) { + this.immoderation = immoderation; + return this; + } + + /** + * Faceta de auto-indulgência. + * @return immoderation + **/ + @ApiModelProperty(value = "Faceta de auto-indulgência.") + public Double getImmoderation() { + return immoderation; + } + + public void setImmoderation(Double immoderation) { + this.immoderation = immoderation; + } + + public Neuroticism id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Neuroticism depression(Double depression) { + this.depression = depression; + return this; + } + + /** + * Faceta de depressão. + * @return depression + **/ + @ApiModelProperty(value = "Faceta de depressão.") + public Double getDepression() { + return depression; + } + + public void setDepression(Double depression) { + this.depression = depression; + } + + public Neuroticism vulnerability(Double vulnerability) { + this.vulnerability = vulnerability; + return this; + } + + /** + * Faceta de resiliência. + * @return vulnerability + **/ + @ApiModelProperty(value = "Faceta de resiliência.") + public Double getVulnerability() { + return vulnerability; + } + + public void setVulnerability(Double vulnerability) { + this.vulnerability = vulnerability; + } + + public Neuroticism anger(Double anger) { + this.anger = anger; + return this; + } + + /** + * Faceta de raiva. + * @return anger + **/ + @ApiModelProperty(value = "Faceta de raiva.") + public Double getAnger() { + return anger; + } + + public void setAnger(Double anger) { + this.anger = anger; + } + + public Neuroticism bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Neuroticism neuroticism = (Neuroticism) o; + return Objects.equals(this.anxiety, neuroticism.anxiety) && + Objects.equals(this.selfConsciousness, neuroticism.selfConsciousness) && + Objects.equals(this.dimensionValue, neuroticism.dimensionValue) && + Objects.equals(this.immoderation, neuroticism.immoderation) && + Objects.equals(this.id, neuroticism.id) && + Objects.equals(this.depression, neuroticism.depression) && + Objects.equals(this.vulnerability, neuroticism.vulnerability) && + Objects.equals(this.anger, neuroticism.anger) && + Objects.equals(this.bigFive, neuroticism.bigFive); + } + + @Override + public int hashCode() { + return Objects.hash(anxiety, selfConsciousness, dimensionValue, immoderation, id, depression, vulnerability, anger, bigFive); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Neuroticism {\n"); + + sb.append(" anxiety: ").append(toIndentedString(anxiety)).append("\n"); + sb.append(" selfConsciousness: ").append(toIndentedString(selfConsciousness)).append("\n"); + sb.append(" dimensionValue: ").append(toIndentedString(dimensionValue)).append("\n"); + sb.append(" immoderation: ").append(toIndentedString(immoderation)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" depression: ").append(toIndentedString(depression)).append("\n"); + sb.append(" vulnerability: ").append(toIndentedString(vulnerability)).append("\n"); + sb.append(" anger: ").append(toIndentedString(anger)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Openness.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Openness.java new file mode 100644 index 0000000..51775a2 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Openness.java @@ -0,0 +1,282 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import java.io.IOException; + +/** + * Openness + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Openness { + @SerializedName("liberalism") + private Double liberalism = null; + + @SerializedName("adventurousness") + private Double adventurousness = null; + + @SerializedName("intellect") + private Double intellect = null; + + @SerializedName("dimensionValue") + private Double dimensionValue = null; + + @SerializedName("artisticInterests") + private Double artisticInterests = null; + + @SerializedName("emotionality") + private Double emotionality = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("imagination") + private Double imagination = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + public Openness liberalism(Double liberalism) { + this.liberalism = liberalism; + return this; + } + + /** + * Faceta de Liberalismo + * @return liberalism + **/ + @ApiModelProperty(value = "Faceta de Liberalismo") + public Double getLiberalism() { + return liberalism; + } + + public void setLiberalism(Double liberalism) { + this.liberalism = liberalism; + } + + public Openness adventurousness(Double adventurousness) { + this.adventurousness = adventurousness; + return this; + } + + /** + * Faceta de Aventura + * @return adventurousness + **/ + @ApiModelProperty(value = "Faceta de Aventura") + public Double getAdventurousness() { + return adventurousness; + } + + public void setAdventurousness(Double adventurousness) { + this.adventurousness = adventurousness; + } + + public Openness intellect(Double intellect) { + this.intellect = intellect; + return this; + } + + /** + * Faceta de Curiosidade intelectual + * @return intellect + **/ + @ApiModelProperty(value = "Faceta de Curiosidade intelectual") + public Double getIntellect() { + return intellect; + } + + public void setIntellect(Double intellect) { + this.intellect = intellect; + } + + public Openness dimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + return this; + } + + /** + * Valor desta dimensão + * @return dimensionValue + **/ + @ApiModelProperty(value = "Valor desta dimensão") + public Double getDimensionValue() { + return dimensionValue; + } + + public void setDimensionValue(Double dimensionValue) { + this.dimensionValue = dimensionValue; + } + + public Openness artisticInterests(Double artisticInterests) { + this.artisticInterests = artisticInterests; + return this; + } + + /** + * Faceta de Interesses artísticos + * @return artisticInterests + **/ + @ApiModelProperty(value = "Faceta de Interesses artísticos") + public Double getArtisticInterests() { + return artisticInterests; + } + + public void setArtisticInterests(Double artisticInterests) { + this.artisticInterests = artisticInterests; + } + + public Openness emotionality(Double emotionality) { + this.emotionality = emotionality; + return this; + } + + /** + * Faceta de Consciência emocional + * @return emotionality + **/ + @ApiModelProperty(value = "Faceta de Consciência emocional") + public Double getEmotionality() { + return emotionality; + } + + public void setEmotionality(Double emotionality) { + this.emotionality = emotionality; + } + + public Openness id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Openness imagination(Double imagination) { + this.imagination = imagination; + return this; + } + + /** + * Faceta de Imaginação + * @return imagination + **/ + @ApiModelProperty(value = "Faceta de Imaginação") + public Double getImagination() { + return imagination; + } + + public void setImagination(Double imagination) { + this.imagination = imagination; + } + + public Openness bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Openness openness = (Openness) o; + return Objects.equals(this.liberalism, openness.liberalism) && + Objects.equals(this.adventurousness, openness.adventurousness) && + Objects.equals(this.intellect, openness.intellect) && + Objects.equals(this.dimensionValue, openness.dimensionValue) && + Objects.equals(this.artisticInterests, openness.artisticInterests) && + Objects.equals(this.emotionality, openness.emotionality) && + Objects.equals(this.id, openness.id) && + Objects.equals(this.imagination, openness.imagination) && + Objects.equals(this.bigFive, openness.bigFive); + } + + @Override + public int hashCode() { + return Objects.hash(liberalism, adventurousness, intellect, dimensionValue, artisticInterests, emotionality, id, imagination, bigFive); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Openness {\n"); + + sb.append(" liberalism: ").append(toIndentedString(liberalism)).append("\n"); + sb.append(" adventurousness: ").append(toIndentedString(adventurousness)).append("\n"); + sb.append(" intellect: ").append(toIndentedString(intellect)).append("\n"); + sb.append(" dimensionValue: ").append(toIndentedString(dimensionValue)).append("\n"); + sb.append(" artisticInterests: ").append(toIndentedString(artisticInterests)).append("\n"); + sb.append(" emotionality: ").append(toIndentedString(emotionality)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" imagination: ").append(toIndentedString(imagination)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Person.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Person.java index 98ed7d0..f2dde28 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Person.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Person.java @@ -1,34 +1,189 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; -import lombok.Data; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; /** - * Pessoa + * Person */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Person { - /** - * Identificador único da entidade - */ - String id; - - /** - * Nome completo da pessoa - */ - String fullName; - - /** - * Nome de usuário da pessoa - */ - String username; - - /** - * Link foto - */ - String photoLink; - - /** - * Link foto miniatura - */ - String photoThumbnailLink; + @SerializedName("photoThumbnailLink") + private String photoThumbnailLink = null; + + @SerializedName("fullName") + private String fullName = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("photoLink") + private String photoLink = null; + + @SerializedName("username") + private String username = null; + + public Person photoThumbnailLink(String photoThumbnailLink) { + this.photoThumbnailLink = photoThumbnailLink; + return this; + } + + /** + * Link foto miniatura. + * @return photoThumbnailLink + **/ + @ApiModelProperty(value = "Link foto miniatura.") + public String getPhotoThumbnailLink() { + return photoThumbnailLink; + } + + public void setPhotoThumbnailLink(String photoThumbnailLink) { + this.photoThumbnailLink = photoThumbnailLink; + } + + public Person fullName(String fullName) { + this.fullName = fullName; + return this; + } + + /** + * Nome completo da pessoa. + * @return fullName + **/ + @ApiModelProperty(value = "Nome completo da pessoa.") + public String getFullName() { + return fullName; + } + + public void setFullName(String fullName) { + this.fullName = fullName; + } + + public Person id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Person photoLink(String photoLink) { + this.photoLink = photoLink; + return this; + } + + /** + * Link foto. + * @return photoLink + **/ + @ApiModelProperty(value = "Link foto.") + public String getPhotoLink() { + return photoLink; + } + + public void setPhotoLink(String photoLink) { + this.photoLink = photoLink; + } + + public Person username(String username) { + this.username = username; + return this; + } + + /** + * Nome de usuário da pessoa. + * @return username + **/ + @ApiModelProperty(value = "Nome de usuário da pessoa.") + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Person person = (Person) o; + return Objects.equals(this.photoThumbnailLink, person.photoThumbnailLink) && + Objects.equals(this.fullName, person.fullName) && + Objects.equals(this.id, person.id) && + Objects.equals(this.photoLink, person.photoLink) && + Objects.equals(this.username, person.username); + } + + @Override + public int hashCode() { + return Objects.hash(photoThumbnailLink, fullName, id, photoLink, username); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Person {\n"); + + sb.append(" photoThumbnailLink: ").append(toIndentedString(photoThumbnailLink)).append("\n"); + sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" photoLink: ").append(toIndentedString(photoLink)).append("\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalInterestSection.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalInterestSection.java new file mode 100644 index 0000000..57e42c5 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalInterestSection.java @@ -0,0 +1,190 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * PersonalInterestSection + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PersonalInterestSection { + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("interest") + private String interest = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("updatedAt") + private OffsetDateTime updatedAt = null; + + public PersonalInterestSection createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public PersonalInterestSection resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * Identificador do currículo a qual o interesse está associado. + * @return resumeId + **/ + @ApiModelProperty(value = "Identificador do currículo a qual o interesse está associado.") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public PersonalInterestSection interest(String interest) { + this.interest = interest; + return this; + } + + /** + * Interesse. + * @return interest + **/ + @ApiModelProperty(value = "Interesse.") + public String getInterest() { + return interest; + } + + public void setInterest(String interest) { + this.interest = interest; + } + + public PersonalInterestSection id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PersonalInterestSection updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Data da última alteração. + * @return updatedAt + **/ + @ApiModelProperty(value = "Data da última alteração.") + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PersonalInterestSection personalInterestSection = (PersonalInterestSection) o; + return Objects.equals(this.createdAt, personalInterestSection.createdAt) && + Objects.equals(this.resumeId, personalInterestSection.resumeId) && + Objects.equals(this.interest, personalInterestSection.interest) && + Objects.equals(this.id, personalInterestSection.id) && + Objects.equals(this.updatedAt, personalInterestSection.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, resumeId, interest, id, updatedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PersonalInterestSection {\n"); + + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" interest: ").append(toIndentedString(interest)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelCandidate.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelCandidate.java new file mode 100644 index 0000000..b7da7a6 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelCandidate.java @@ -0,0 +1,297 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Answer; +import br.com.senior.hcm.recruitment.pojos.BigFive; +import br.com.senior.hcm.recruitment.pojos.Needs; +import br.com.senior.hcm.recruitment.pojos.PersonalityQuiz; +import br.com.senior.hcm.recruitment.pojos.ToneAnalysis; +import br.com.senior.hcm.recruitment.pojos.Values; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * PersonalityModelCandidate + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PersonalityModelCandidate { + @SerializedName("needs") + private Needs needs = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("values") + private Values values = null; + + @SerializedName("answers") + private List answers = null; + + @SerializedName("personalityQuiz") + private PersonalityQuiz personalityQuiz = null; + + @SerializedName("employeeId") + private String employeeId = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("bigFive") + private BigFive bigFive = null; + + @SerializedName("toneAnalysis") + private ToneAnalysis toneAnalysis = null; + + public PersonalityModelCandidate needs(Needs needs) { + this.needs = needs; + return this; + } + + /** + * Get needs + * @return needs + **/ + @ApiModelProperty(value = "") + public Needs getNeeds() { + return needs; + } + + public void setNeeds(Needs needs) { + this.needs = needs; + } + + public PersonalityModelCandidate resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * ID do candidato externo (quando aplicável). + * @return resumeId + **/ + @ApiModelProperty(value = "ID do candidato externo (quando aplicável).") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public PersonalityModelCandidate values(Values values) { + this.values = values; + return this; + } + + /** + * Get values + * @return values + **/ + @ApiModelProperty(value = "") + public Values getValues() { + return values; + } + + public void setValues(Values values) { + this.values = values; + } + + public PersonalityModelCandidate answers(List answers) { + this.answers = answers; + return this; + } + + public PersonalityModelCandidate addAnswersItem(Answer answersItem) { + if (this.answers == null) { + this.answers = new ArrayList(); + } + this.answers.add(answersItem); + return this; + } + + /** + * Repostas do candidato para a criação do modelo e personalidade. + * @return answers + **/ + @ApiModelProperty(value = "Repostas do candidato para a criação do modelo e personalidade.") + public List getAnswers() { + return answers; + } + + public void setAnswers(List answers) { + this.answers = answers; + } + + public PersonalityModelCandidate personalityQuiz(PersonalityQuiz personalityQuiz) { + this.personalityQuiz = personalityQuiz; + return this; + } + + /** + * Get personalityQuiz + * @return personalityQuiz + **/ + @ApiModelProperty(value = "") + public PersonalityQuiz getPersonalityQuiz() { + return personalityQuiz; + } + + public void setPersonalityQuiz(PersonalityQuiz personalityQuiz) { + this.personalityQuiz = personalityQuiz; + } + + public PersonalityModelCandidate employeeId(String employeeId) { + this.employeeId = employeeId; + return this; + } + + /** + * ID do candidato interno (quando aplicável). + * @return employeeId + **/ + @ApiModelProperty(value = "ID do candidato interno (quando aplicável).") + public String getEmployeeId() { + return employeeId; + } + + public void setEmployeeId(String employeeId) { + this.employeeId = employeeId; + } + + public PersonalityModelCandidate id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PersonalityModelCandidate bigFive(BigFive bigFive) { + this.bigFive = bigFive; + return this; + } + + /** + * Get bigFive + * @return bigFive + **/ + @ApiModelProperty(value = "") + public BigFive getBigFive() { + return bigFive; + } + + public void setBigFive(BigFive bigFive) { + this.bigFive = bigFive; + } + + public PersonalityModelCandidate toneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + return this; + } + + /** + * Get toneAnalysis + * @return toneAnalysis + **/ + @ApiModelProperty(value = "") + public ToneAnalysis getToneAnalysis() { + return toneAnalysis; + } + + public void setToneAnalysis(ToneAnalysis toneAnalysis) { + this.toneAnalysis = toneAnalysis; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PersonalityModelCandidate personalityModelCandidate = (PersonalityModelCandidate) o; + return Objects.equals(this.needs, personalityModelCandidate.needs) && + Objects.equals(this.resumeId, personalityModelCandidate.resumeId) && + Objects.equals(this.values, personalityModelCandidate.values) && + Objects.equals(this.answers, personalityModelCandidate.answers) && + Objects.equals(this.personalityQuiz, personalityModelCandidate.personalityQuiz) && + Objects.equals(this.employeeId, personalityModelCandidate.employeeId) && + Objects.equals(this.id, personalityModelCandidate.id) && + Objects.equals(this.bigFive, personalityModelCandidate.bigFive) && + Objects.equals(this.toneAnalysis, personalityModelCandidate.toneAnalysis); + } + + @Override + public int hashCode() { + return Objects.hash(needs, resumeId, values, answers, personalityQuiz, employeeId, id, bigFive, toneAnalysis); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PersonalityModelCandidate {\n"); + + sb.append(" needs: ").append(toIndentedString(needs)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); + sb.append(" answers: ").append(toIndentedString(answers)).append("\n"); + sb.append(" personalityQuiz: ").append(toIndentedString(personalityQuiz)).append("\n"); + sb.append(" employeeId: ").append(toIndentedString(employeeId)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" bigFive: ").append(toIndentedString(bigFive)).append("\n"); + sb.append(" toneAnalysis: ").append(toIndentedString(toneAnalysis)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelVacancy.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelVacancy.java new file mode 100644 index 0000000..f6c1b94 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityModelVacancy.java @@ -0,0 +1,260 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.PersonalityQuiz; +import br.com.senior.hcm.recruitment.pojos.Vacancy; +import java.io.IOException; + +/** + * PersonalityModelVacancy + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PersonalityModelVacancy { + @SerializedName("conscientiousness") + private Double conscientiousness = null; + + @SerializedName("openness") + private Double openness = null; + + @SerializedName("neuroticism") + private Double neuroticism = null; + + @SerializedName("extraversion") + private Double extraversion = null; + + @SerializedName("personalityQuiz") + private PersonalityQuiz personalityQuiz = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("vacancy") + private Vacancy vacancy = null; + + @SerializedName("agreeableness") + private Double agreeableness = null; + + public PersonalityModelVacancy conscientiousness(Double conscientiousness) { + this.conscientiousness = conscientiousness; + return this; + } + + /** + * Escrupulosidade. + * @return conscientiousness + **/ + @ApiModelProperty(value = "Escrupulosidade.") + public Double getConscientiousness() { + return conscientiousness; + } + + public void setConscientiousness(Double conscientiousness) { + this.conscientiousness = conscientiousness; + } + + public PersonalityModelVacancy openness(Double openness) { + this.openness = openness; + return this; + } + + /** + * Abertura. + * @return openness + **/ + @ApiModelProperty(value = "Abertura.") + public Double getOpenness() { + return openness; + } + + public void setOpenness(Double openness) { + this.openness = openness; + } + + public PersonalityModelVacancy neuroticism(Double neuroticism) { + this.neuroticism = neuroticism; + return this; + } + + /** + * Alcance emocional. + * @return neuroticism + **/ + @ApiModelProperty(value = "Alcance emocional.") + public Double getNeuroticism() { + return neuroticism; + } + + public void setNeuroticism(Double neuroticism) { + this.neuroticism = neuroticism; + } + + public PersonalityModelVacancy extraversion(Double extraversion) { + this.extraversion = extraversion; + return this; + } + + /** + * Extroversão. + * @return extraversion + **/ + @ApiModelProperty(value = "Extroversão.") + public Double getExtraversion() { + return extraversion; + } + + public void setExtraversion(Double extraversion) { + this.extraversion = extraversion; + } + + public PersonalityModelVacancy personalityQuiz(PersonalityQuiz personalityQuiz) { + this.personalityQuiz = personalityQuiz; + return this; + } + + /** + * Get personalityQuiz + * @return personalityQuiz + **/ + @ApiModelProperty(value = "") + public PersonalityQuiz getPersonalityQuiz() { + return personalityQuiz; + } + + public void setPersonalityQuiz(PersonalityQuiz personalityQuiz) { + this.personalityQuiz = personalityQuiz; + } + + public PersonalityModelVacancy id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PersonalityModelVacancy vacancy(Vacancy vacancy) { + this.vacancy = vacancy; + return this; + } + + /** + * Get vacancy + * @return vacancy + **/ + @ApiModelProperty(value = "") + public Vacancy getVacancy() { + return vacancy; + } + + public void setVacancy(Vacancy vacancy) { + this.vacancy = vacancy; + } + + public PersonalityModelVacancy agreeableness(Double agreeableness) { + this.agreeableness = agreeableness; + return this; + } + + /** + * Amabilidade. + * @return agreeableness + **/ + @ApiModelProperty(value = "Amabilidade.") + public Double getAgreeableness() { + return agreeableness; + } + + public void setAgreeableness(Double agreeableness) { + this.agreeableness = agreeableness; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PersonalityModelVacancy personalityModelVacancy = (PersonalityModelVacancy) o; + return Objects.equals(this.conscientiousness, personalityModelVacancy.conscientiousness) && + Objects.equals(this.openness, personalityModelVacancy.openness) && + Objects.equals(this.neuroticism, personalityModelVacancy.neuroticism) && + Objects.equals(this.extraversion, personalityModelVacancy.extraversion) && + Objects.equals(this.personalityQuiz, personalityModelVacancy.personalityQuiz) && + Objects.equals(this.id, personalityModelVacancy.id) && + Objects.equals(this.vacancy, personalityModelVacancy.vacancy) && + Objects.equals(this.agreeableness, personalityModelVacancy.agreeableness); + } + + @Override + public int hashCode() { + return Objects.hash(conscientiousness, openness, neuroticism, extraversion, personalityQuiz, id, vacancy, agreeableness); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PersonalityModelVacancy {\n"); + + sb.append(" conscientiousness: ").append(toIndentedString(conscientiousness)).append("\n"); + sb.append(" openness: ").append(toIndentedString(openness)).append("\n"); + sb.append(" neuroticism: ").append(toIndentedString(neuroticism)).append("\n"); + sb.append(" extraversion: ").append(toIndentedString(extraversion)).append("\n"); + sb.append(" personalityQuiz: ").append(toIndentedString(personalityQuiz)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" vacancy: ").append(toIndentedString(vacancy)).append("\n"); + sb.append(" agreeableness: ").append(toIndentedString(agreeableness)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityQuiz.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityQuiz.java new file mode 100644 index 0000000..ceb90bc --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PersonalityQuiz.java @@ -0,0 +1,271 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelVacancy; +import br.com.senior.hcm.recruitment.pojos.Question; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.threeten.bp.LocalDate; + +/** + * PersonalityQuiz + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PersonalityQuiz { + @SerializedName("wordCount") + private Integer wordCount = null; + + @SerializedName("canEdit") + private Boolean canEdit = null; + + @SerializedName("questions") + private List questions = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("isActive") + private Boolean isActive = null; + + @SerializedName("initialDate") + private LocalDate initialDate = null; + + @SerializedName("personalityModelVacancy") + private PersonalityModelVacancy personalityModelVacancy = null; + + public PersonalityQuiz wordCount(Integer wordCount) { + this.wordCount = wordCount; + return this; + } + + /** + * Quantidade de palavras na resposta. + * @return wordCount + **/ + @ApiModelProperty(value = "Quantidade de palavras na resposta.") + public Integer getWordCount() { + return wordCount; + } + + public void setWordCount(Integer wordCount) { + this.wordCount = wordCount; + } + + public PersonalityQuiz canEdit(Boolean canEdit) { + this.canEdit = canEdit; + return this; + } + + /** + * Indica se o usuário pode alterar o questionário vigente. O usuário só poderá editar, caso nenhum candidato interno ou externo tenha o respondido. + * @return canEdit + **/ + @ApiModelProperty(value = "Indica se o usuário pode alterar o questionário vigente. O usuário só poderá editar, caso nenhum candidato interno ou externo tenha o respondido.") + public Boolean isCanEdit() { + return canEdit; + } + + public void setCanEdit(Boolean canEdit) { + this.canEdit = canEdit; + } + + public PersonalityQuiz questions(List questions) { + this.questions = questions; + return this; + } + + public PersonalityQuiz addQuestionsItem(Question questionsItem) { + if (this.questions == null) { + this.questions = new ArrayList(); + } + this.questions.add(questionsItem); + return this; + } + + /** + * Perguntas do questionário. + * @return questions + **/ + @ApiModelProperty(value = "Perguntas do questionário.") + public List getQuestions() { + return questions; + } + + public void setQuestions(List questions) { + this.questions = questions; + } + + public PersonalityQuiz description(String description) { + this.description = description; + return this; + } + + /** + * Descrição do questionário. + * @return description + **/ + @ApiModelProperty(value = "Descrição do questionário.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public PersonalityQuiz id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PersonalityQuiz isActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Indica se é o modelo vigente (última data de criação - initialDate). + * @return isActive + **/ + @ApiModelProperty(value = "Indica se é o modelo vigente (última data de criação - initialDate).") + public Boolean isIsActive() { + return isActive; + } + + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + public PersonalityQuiz initialDate(LocalDate initialDate) { + this.initialDate = initialDate; + return this; + } + + /** + * Data de início do período de vigência. + * @return initialDate + **/ + @ApiModelProperty(value = "Data de início do período de vigência.") + public LocalDate getInitialDate() { + return initialDate; + } + + public void setInitialDate(LocalDate initialDate) { + this.initialDate = initialDate; + } + + public PersonalityQuiz personalityModelVacancy(PersonalityModelVacancy personalityModelVacancy) { + this.personalityModelVacancy = personalityModelVacancy; + return this; + } + + /** + * Get personalityModelVacancy + * @return personalityModelVacancy + **/ + @ApiModelProperty(value = "") + public PersonalityModelVacancy getPersonalityModelVacancy() { + return personalityModelVacancy; + } + + public void setPersonalityModelVacancy(PersonalityModelVacancy personalityModelVacancy) { + this.personalityModelVacancy = personalityModelVacancy; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PersonalityQuiz personalityQuiz = (PersonalityQuiz) o; + return Objects.equals(this.wordCount, personalityQuiz.wordCount) && + Objects.equals(this.canEdit, personalityQuiz.canEdit) && + Objects.equals(this.questions, personalityQuiz.questions) && + Objects.equals(this.description, personalityQuiz.description) && + Objects.equals(this.id, personalityQuiz.id) && + Objects.equals(this.isActive, personalityQuiz.isActive) && + Objects.equals(this.initialDate, personalityQuiz.initialDate) && + Objects.equals(this.personalityModelVacancy, personalityQuiz.personalityModelVacancy); + } + + @Override + public int hashCode() { + return Objects.hash(wordCount, canEdit, questions, description, id, isActive, initialDate, personalityModelVacancy); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PersonalityQuiz {\n"); + + sb.append(" wordCount: ").append(toIndentedString(wordCount)).append("\n"); + sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n"); + sb.append(" questions: ").append(toIndentedString(questions)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" initialDate: ").append(toIndentedString(initialDate)).append("\n"); + sb.append(" personalityModelVacancy: ").append(toIndentedString(personalityModelVacancy)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PhoneContact.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PhoneContact.java new file mode 100644 index 0000000..0cf8c6d --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PhoneContact.java @@ -0,0 +1,189 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PhoneContact + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PhoneContact { + @SerializedName("number") + private String number = null; + + @SerializedName("carrier") + private String carrier = null; + + @SerializedName("countryCode") + private Integer countryCode = null; + + @SerializedName("localCode") + private Integer localCode = null; + + @SerializedName("id") + private String id = null; + + public PhoneContact number(String number) { + this.number = number; + return this; + } + + /** + * Número. + * @return number + **/ + @ApiModelProperty(value = "Número.") + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public PhoneContact carrier(String carrier) { + this.carrier = carrier; + return this; + } + + /** + * Operadora (Vivo, Oi). + * @return carrier + **/ + @ApiModelProperty(value = "Operadora (Vivo, Oi).") + public String getCarrier() { + return carrier; + } + + public void setCarrier(String carrier) { + this.carrier = carrier; + } + + public PhoneContact countryCode(Integer countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * DDI. + * @return countryCode + **/ + @ApiModelProperty(value = "DDI.") + public Integer getCountryCode() { + return countryCode; + } + + public void setCountryCode(Integer countryCode) { + this.countryCode = countryCode; + } + + public PhoneContact localCode(Integer localCode) { + this.localCode = localCode; + return this; + } + + /** + * DDD. + * @return localCode + **/ + @ApiModelProperty(value = "DDD.") + public Integer getLocalCode() { + return localCode; + } + + public void setLocalCode(Integer localCode) { + this.localCode = localCode; + } + + public PhoneContact id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PhoneContact phoneContact = (PhoneContact) o; + return Objects.equals(this.number, phoneContact.number) && + Objects.equals(this.carrier, phoneContact.carrier) && + Objects.equals(this.countryCode, phoneContact.countryCode) && + Objects.equals(this.localCode, phoneContact.localCode) && + Objects.equals(this.id, phoneContact.id); + } + + @Override + public int hashCode() { + return Objects.hash(number, carrier, countryCode, localCode, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PhoneContact {\n"); + + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" carrier: ").append(toIndentedString(carrier)).append("\n"); + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" localCode: ").append(toIndentedString(localCode)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/PositionSought.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/PositionSought.java new file mode 100644 index 0000000..e4aed8d --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/PositionSought.java @@ -0,0 +1,236 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * PositionSought + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class PositionSought { + @SerializedName("area") + private String area = null; + + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("resumeId") + private String resumeId = null; + + @SerializedName("g5Id") + private String g5Id = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("position") + private String position = null; + + @SerializedName("updatedAt") + private OffsetDateTime updatedAt = null; + + public PositionSought area(String area) { + this.area = area; + return this; + } + + /** + * Descrição da área pretendida. + * @return area + **/ + @ApiModelProperty(value = "Descrição da área pretendida.") + public String getArea() { + return area; + } + + public void setArea(String area) { + this.area = area; + } + + public PositionSought createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public PositionSought resumeId(String resumeId) { + this.resumeId = resumeId; + return this; + } + + /** + * Identificador único do currículo. + * @return resumeId + **/ + @ApiModelProperty(value = "Identificador único do currículo.") + public String getResumeId() { + return resumeId; + } + + public void setResumeId(String resumeId) { + this.resumeId = resumeId; + } + + public PositionSought g5Id(String g5Id) { + this.g5Id = g5Id; + return this; + } + + /** + * ID do registro no sistema legado. Esse atributo não é persistido na base, é utilizado apenas como identificador na integração do registro da g5 para G7. + * @return g5Id + **/ + @ApiModelProperty(value = "ID do registro no sistema legado. Esse atributo não é persistido na base, é utilizado apenas como identificador na integração do registro da g5 para G7.") + public String getG5Id() { + return g5Id; + } + + public void setG5Id(String g5Id) { + this.g5Id = g5Id; + } + + public PositionSought id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PositionSought position(String position) { + this.position = position; + return this; + } + + /** + * Descrição do cargo pretendido. + * @return position + **/ + @ApiModelProperty(value = "Descrição do cargo pretendido.") + public String getPosition() { + return position; + } + + public void setPosition(String position) { + this.position = position; + } + + public PositionSought updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Data da última alteração. + * @return updatedAt + **/ + @ApiModelProperty(value = "Data da última alteração.") + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PositionSought positionSought = (PositionSought) o; + return Objects.equals(this.area, positionSought.area) && + Objects.equals(this.createdAt, positionSought.createdAt) && + Objects.equals(this.resumeId, positionSought.resumeId) && + Objects.equals(this.g5Id, positionSought.g5Id) && + Objects.equals(this.id, positionSought.id) && + Objects.equals(this.position, positionSought.position) && + Objects.equals(this.updatedAt, positionSought.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(area, createdAt, resumeId, g5Id, id, position, updatedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PositionSought {\n"); + + sb.append(" area: ").append(toIndentedString(area)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" resumeId: ").append(toIndentedString(resumeId)).append("\n"); + sb.append(" g5Id: ").append(toIndentedString(g5Id)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" position: ").append(toIndentedString(position)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ProcessTypeDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProcessTypeDto.java index 28927a9..6af32f3 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/ProcessTypeDto.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProcessTypeDto.java @@ -1,15 +1,73 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + /** - * + * Gets or Sets processTypeDto */ +@JsonAdapter(ProcessTypeDto.Adapter.class) public enum ProcessTypeDto { - /** - * Requisição de pessoal - Aumento de quadro - */ - STAFF_INCREASE, - /** - * Requisição de Pessoal - Substituição - */ - REPLACEMENT + + STAFF_INCREASE("STAFF_INCREASE"), + + REPLACEMENT("REPLACEMENT"); + + private String value; + + ProcessTypeDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ProcessTypeDto fromValue(String text) { + for (ProcessTypeDto b : ProcessTypeDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ProcessTypeDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ProcessTypeDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ProcessTypeDto.fromValue(String.valueOf(value)); + } + } } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ProfessionalExperienceSection.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProfessionalExperienceSection.java index da96078..416f73d 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/ProfessionalExperienceSection.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProfessionalExperienceSection.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,10 +27,12 @@ import org.threeten.bp.OffsetDateTime; /** - * Experiência profissional (Currículo). + * ProfessionalExperienceSection */ -@ApiModel(description = "Experiência profissional (Currículo).") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class ProfessionalExperienceSection { @SerializedName("createdAt") private OffsetDateTime createdAt = null; @@ -110,7 +112,7 @@ public ProfessionalExperienceSection resumeId(String resumeId) { * Identificador do currículo a qual o interesse está associado. * @return resumeId **/ - @ApiModelProperty(required = true, value = "Identificador do currículo a qual o interesse está associado.") + @ApiModelProperty(value = "Identificador do currículo a qual o interesse está associado.") public String getResumeId() { return resumeId; } @@ -182,7 +184,7 @@ public ProfessionalExperienceSection company(String company) { * Empresa. * @return company **/ - @ApiModelProperty(required = true, value = "Empresa.") + @ApiModelProperty(value = "Empresa.") public String getCompany() { return company; } @@ -218,7 +220,7 @@ public ProfessionalExperienceSection position(String position) { * Cargo. * @return position **/ - @ApiModelProperty(required = true, value = "Cargo.") + @ApiModelProperty(value = "Cargo.") public String getPosition() { return position; } @@ -236,7 +238,7 @@ public ProfessionalExperienceSection startDate(LocalDate startDate) { * Data inicial. * @return startDate **/ - @ApiModelProperty(required = true, value = "Data inicial.") + @ApiModelProperty(value = "Data inicial.") public LocalDate getStartDate() { return startDate; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ProficiencyDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProficiencyDto.java new file mode 100644 index 0000000..b004d2c --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ProficiencyDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets proficiencyDto + */ +@JsonAdapter(ProficiencyDto.Adapter.class) +public enum ProficiencyDto { + + BASIC("BASIC"), + + INTERMEDIATE("INTERMEDIATE"), + + ADVANCED("ADVANCED"); + + private String value; + + ProficiencyDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ProficiencyDto fromValue(String text) { + for (ProficiencyDto b : ProficiencyDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ProficiencyDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ProficiencyDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ProficiencyDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Question.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Question.java new file mode 100644 index 0000000..5489f1a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Question.java @@ -0,0 +1,213 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Answer; +import java.io.IOException; + +/** + * Question + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Question { + @SerializedName("orderNumber") + private Integer orderNumber = null; + + @SerializedName("answer") + private Answer answer = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("personalityQuizId") + private String personalityQuizId = null; + + @SerializedName("questionType") + private String questionType = null; + + public Question orderNumber(Integer orderNumber) { + this.orderNumber = orderNumber; + return this; + } + + /** + * Numero de Ordenação da questão + * @return orderNumber + **/ + @ApiModelProperty(value = "Numero de Ordenação da questão") + public Integer getOrderNumber() { + return orderNumber; + } + + public void setOrderNumber(Integer orderNumber) { + this.orderNumber = orderNumber; + } + + public Question answer(Answer answer) { + this.answer = answer; + return this; + } + + /** + * Get answer + * @return answer + **/ + @ApiModelProperty(value = "") + public Answer getAnswer() { + return answer; + } + + public void setAnswer(Answer answer) { + this.answer = answer; + } + + public Question description(String description) { + this.description = description; + return this; + } + + /** + * Descrição da pergunta. + * @return description + **/ + @ApiModelProperty(value = "Descrição da pergunta.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Question id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Question personalityQuizId(String personalityQuizId) { + this.personalityQuizId = personalityQuizId; + return this; + } + + /** + * Questionário utilizado para identificar a personalidade de um candidato. + * @return personalityQuizId + **/ + @ApiModelProperty(value = "Questionário utilizado para identificar a personalidade de um candidato.") + public String getPersonalityQuizId() { + return personalityQuizId; + } + + public void setPersonalityQuizId(String personalityQuizId) { + this.personalityQuizId = personalityQuizId; + } + + public Question questionType(String questionType) { + this.questionType = questionType; + return this; + } + + /** + * Tipo do Registro + * @return questionType + **/ + @ApiModelProperty(value = "Tipo do Registro") + public String getQuestionType() { + return questionType; + } + + public void setQuestionType(String questionType) { + this.questionType = questionType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Question question = (Question) o; + return Objects.equals(this.orderNumber, question.orderNumber) && + Objects.equals(this.answer, question.answer) && + Objects.equals(this.description, question.description) && + Objects.equals(this.id, question.id) && + Objects.equals(this.personalityQuizId, question.personalityQuizId) && + Objects.equals(this.questionType, question.questionType); + } + + @Override + public int hashCode() { + return Objects.hash(orderNumber, answer, description, id, personalityQuizId, questionType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Question {\n"); + + sb.append(" orderNumber: ").append(toIndentedString(orderNumber)).append("\n"); + sb.append(" answer: ").append(toIndentedString(answer)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" personalityQuizId: ").append(toIndentedString(personalityQuizId)).append("\n"); + sb.append(" questionType: ").append(toIndentedString(questionType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcess.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcess.java index 498e660..33d1431 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcess.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcess.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,17 +22,23 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Employee; +import br.com.senior.hcm.recruitment.pojos.RecruitmentProcessStatusDto; +import br.com.senior.hcm.recruitment.pojos.Resume; +import br.com.senior.hcm.recruitment.pojos.Vacancy; import java.io.IOException; import org.threeten.bp.OffsetDateTime; /** - * Processo seletivo do candidato. + * RecruitmentProcess */ -@ApiModel(description = "Processo seletivo do candidato.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class RecruitmentProcess { @SerializedName("resume") - private Object resume = null; + private Resume resume = null; @SerializedName("createdAt") private OffsetDateTime createdAt = null; @@ -50,10 +56,10 @@ public class RecruitmentProcess { private String justification = null; @SerializedName("employee") - private Object employee = null; + private Employee employee = null; @SerializedName("vacancy") - private Object vacancy = null; + private Vacancy vacancy = null; @SerializedName("vacancyId") private String vacancyId = null; @@ -62,23 +68,23 @@ public class RecruitmentProcess { private OffsetDateTime updatedAt = null; @SerializedName("status") - private Object status = null; + private RecruitmentProcessStatusDto status = null; - public RecruitmentProcess resume(Object resume) { + public RecruitmentProcess resume(Resume resume) { this.resume = resume; return this; } /** - * Candidato externo. + * Get resume * @return resume **/ - @ApiModelProperty(value = "Candidato externo.") - public Object getResume() { + @ApiModelProperty(value = "") + public Resume getResume() { return resume; } - public void setResume(Object resume) { + public void setResume(Resume resume) { this.resume = resume; } @@ -172,39 +178,39 @@ public void setJustification(String justification) { this.justification = justification; } - public RecruitmentProcess employee(Object employee) { + public RecruitmentProcess employee(Employee employee) { this.employee = employee; return this; } /** - * Candidato interno + * Get employee * @return employee **/ - @ApiModelProperty(value = "Candidato interno") - public Object getEmployee() { + @ApiModelProperty(value = "") + public Employee getEmployee() { return employee; } - public void setEmployee(Object employee) { + public void setEmployee(Employee employee) { this.employee = employee; } - public RecruitmentProcess vacancy(Object vacancy) { + public RecruitmentProcess vacancy(Vacancy vacancy) { this.vacancy = vacancy; return this; } /** - * Vaga. + * Get vacancy * @return vacancy **/ - @ApiModelProperty(value = "Vaga.") - public Object getVacancy() { + @ApiModelProperty(value = "") + public Vacancy getVacancy() { return vacancy; } - public void setVacancy(Object vacancy) { + public void setVacancy(Vacancy vacancy) { this.vacancy = vacancy; } @@ -244,21 +250,21 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - public RecruitmentProcess status(Object status) { + public RecruitmentProcess status(RecruitmentProcessStatusDto status) { this.status = status; return this; } /** - * Status do candidato na vaga. + * Get status * @return status **/ - @ApiModelProperty(value = "Status do candidato na vaga.") - public Object getStatus() { + @ApiModelProperty(value = "") + public RecruitmentProcessStatusDto getStatus() { return status; } - public void setStatus(Object status) { + public void setStatus(RecruitmentProcessStatusDto status) { this.status = status; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStage.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStage.java index dcbdadf..54cb264 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStage.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStage.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,29 +22,37 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.AprovationTypeDto; +import br.com.senior.hcm.recruitment.pojos.IntegrationStatusDto; +import br.com.senior.hcm.recruitment.pojos.ModelStage; +import br.com.senior.hcm.recruitment.pojos.Person; +import br.com.senior.hcm.recruitment.pojos.RecruitmentProcess; +import br.com.senior.hcm.recruitment.pojos.SeemMedicalStatusDto; import java.io.IOException; import org.threeten.bp.OffsetDateTime; /** - * Etapa do processo seletivo do candidato. + * RecruitmentProcessStage */ -@ApiModel(description = "Etapa do processo seletivo do candidato.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class RecruitmentProcessStage { @SerializedName("process") - private Object process = null; + private RecruitmentProcess process = null; @SerializedName("stage") - private Object stage = null; + private ModelStage stage = null; @SerializedName("processId") private String processId = null; @SerializedName("seemMedicalStatus") - private Object seemMedicalStatus = null; + private SeemMedicalStatusDto seemMedicalStatus = null; @SerializedName("integrationStatus") - private Object integrationStatus = null; + private IntegrationStatusDto integrationStatus = null; @SerializedName("integrationSendDate") private OffsetDateTime integrationSendDate = null; @@ -59,47 +67,47 @@ public class RecruitmentProcessStage { private OffsetDateTime integrationG5Date = null; @SerializedName("integrationResponsiblePerson") - private Object integrationResponsiblePerson = null; + private Person integrationResponsiblePerson = null; @SerializedName("status") - private Object status = null; + private AprovationTypeDto status = null; @SerializedName("stageId") private String stageId = null; - public RecruitmentProcessStage process(Object process) { + public RecruitmentProcessStage process(RecruitmentProcess process) { this.process = process; return this; } /** - * Processo a qual está etapa pertence. + * Get process * @return process **/ - @ApiModelProperty(value = "Processo a qual está etapa pertence.") - public Object getProcess() { + @ApiModelProperty(value = "") + public RecruitmentProcess getProcess() { return process; } - public void setProcess(Object process) { + public void setProcess(RecruitmentProcess process) { this.process = process; } - public RecruitmentProcessStage stage(Object stage) { + public RecruitmentProcessStage stage(ModelStage stage) { this.stage = stage; return this; } /** - * Etapa do processo seletivo. + * Get stage * @return stage **/ - @ApiModelProperty(value = "Etapa do processo seletivo.") - public Object getStage() { + @ApiModelProperty(value = "") + public ModelStage getStage() { return stage; } - public void setStage(Object stage) { + public void setStage(ModelStage stage) { this.stage = stage; } @@ -121,39 +129,39 @@ public void setProcessId(String processId) { this.processId = processId; } - public RecruitmentProcessStage seemMedicalStatus(Object seemMedicalStatus) { + public RecruitmentProcessStage seemMedicalStatus(SeemMedicalStatusDto seemMedicalStatus) { this.seemMedicalStatus = seemMedicalStatus; return this; } /** - * Status da ficha médica integrada. + * Get seemMedicalStatus * @return seemMedicalStatus **/ - @ApiModelProperty(value = "Status da ficha médica integrada.") - public Object getSeemMedicalStatus() { + @ApiModelProperty(value = "") + public SeemMedicalStatusDto getSeemMedicalStatus() { return seemMedicalStatus; } - public void setSeemMedicalStatus(Object seemMedicalStatus) { + public void setSeemMedicalStatus(SeemMedicalStatusDto seemMedicalStatus) { this.seemMedicalStatus = seemMedicalStatus; } - public RecruitmentProcessStage integrationStatus(Object integrationStatus) { + public RecruitmentProcessStage integrationStatus(IntegrationStatusDto integrationStatus) { this.integrationStatus = integrationStatus; return this; } /** - * Status para gerar a ficha médica e ASO. + * Get integrationStatus * @return integrationStatus **/ - @ApiModelProperty(value = "Status para gerar a ficha médica e ASO.") - public Object getIntegrationStatus() { + @ApiModelProperty(value = "") + public IntegrationStatusDto getIntegrationStatus() { return integrationStatus; } - public void setIntegrationStatus(Object integrationStatus) { + public void setIntegrationStatus(IntegrationStatusDto integrationStatus) { this.integrationStatus = integrationStatus; } @@ -229,39 +237,39 @@ public void setIntegrationG5Date(OffsetDateTime integrationG5Date) { this.integrationG5Date = integrationG5Date; } - public RecruitmentProcessStage integrationResponsiblePerson(Object integrationResponsiblePerson) { + public RecruitmentProcessStage integrationResponsiblePerson(Person integrationResponsiblePerson) { this.integrationResponsiblePerson = integrationResponsiblePerson; return this; } /** - * Responsável por gerar a ficha médica e ASO. + * Get integrationResponsiblePerson * @return integrationResponsiblePerson **/ - @ApiModelProperty(value = "Responsável por gerar a ficha médica e ASO.") - public Object getIntegrationResponsiblePerson() { + @ApiModelProperty(value = "") + public Person getIntegrationResponsiblePerson() { return integrationResponsiblePerson; } - public void setIntegrationResponsiblePerson(Object integrationResponsiblePerson) { + public void setIntegrationResponsiblePerson(Person integrationResponsiblePerson) { this.integrationResponsiblePerson = integrationResponsiblePerson; } - public RecruitmentProcessStage status(Object status) { + public RecruitmentProcessStage status(AprovationTypeDto status) { this.status = status; return this; } /** - * Status da etapa. + * Get status * @return status **/ - @ApiModelProperty(value = "Status da etapa.") - public Object getStatus() { + @ApiModelProperty(value = "") + public AprovationTypeDto getStatus() { return status; } - public void setStatus(Object status) { + public void setStatus(AprovationTypeDto status) { this.status = status; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStatusDto.java new file mode 100644 index 0000000..3921d20 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/RecruitmentProcessStatusDto.java @@ -0,0 +1,79 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets recruitmentProcessStatusDto + */ +@JsonAdapter(RecruitmentProcessStatusDto.Adapter.class) +public enum RecruitmentProcessStatusDto { + + SUBSCRIBED("SUBSCRIBED"), + + SELECTED("SELECTED"), + + DELETED("DELETED"), + + DISAPPROVED("DISAPPROVED"), + + GIVENUP("GIVENUP"); + + private String value; + + RecruitmentProcessStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RecruitmentProcessStatusDto fromValue(String text) { + for (RecruitmentProcessStatusDto b : RecruitmentProcessStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RecruitmentProcessStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RecruitmentProcessStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RecruitmentProcessStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Resume.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Resume.java index a8bf798..8eba558 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Resume.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Resume.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,6 +22,19 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Ability; +import br.com.senior.hcm.recruitment.pojos.DisabilityDto; +import br.com.senior.hcm.recruitment.pojos.EducationSection; +import br.com.senior.hcm.recruitment.pojos.GenderDto; +import br.com.senior.hcm.recruitment.pojos.HonorificDto; +import br.com.senior.hcm.recruitment.pojos.Knowledge; +import br.com.senior.hcm.recruitment.pojos.LanguageSection; +import br.com.senior.hcm.recruitment.pojos.MaritalStatusDto; +import br.com.senior.hcm.recruitment.pojos.PersonalInterestSection; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelCandidate; +import br.com.senior.hcm.recruitment.pojos.PositionSought; +import br.com.senior.hcm.recruitment.pojos.ProfessionalExperienceSection; +import br.com.senior.hcm.recruitment.pojos.ResumePhoneContact; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -29,10 +42,12 @@ import org.threeten.bp.OffsetDateTime; /** - * Currículo. + * Resume */ -@ApiModel(description = "Currículo.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Resume { @SerializedName("birthday") private LocalDate birthday = null; @@ -41,7 +56,7 @@ public class Resume { private String country = null; @SerializedName("gender") - private Object gender = null; + private GenderDto gender = null; @SerializedName("city") private String city = null; @@ -53,7 +68,7 @@ public class Resume { private String postalCode = null; @SerializedName("educations") - private List educations = null; + private List educations = null; @SerializedName("instagram") private String instagram = null; @@ -65,13 +80,13 @@ public class Resume { private String salaryExpectation = null; @SerializedName("personalInterests") - private List personalInterests = null; + private List personalInterests = null; @SerializedName("googlePlus") private String googlePlus = null; @SerializedName("abilities") - private List abilities = null; + private List abilities = null; @SerializedName("number") private String number = null; @@ -86,10 +101,10 @@ public class Resume { private String twitter = null; @SerializedName("personalityModelCandidate") - private Object personalityModelCandidate = null; + private PersonalityModelCandidate personalityModelCandidate = null; @SerializedName("children") - private Long children = null; + private Integer children = null; @SerializedName("cpf") private String cpf = null; @@ -107,13 +122,13 @@ public class Resume { private String attachmentId = null; @SerializedName("phoneContacts") - private List phoneContacts = null; + private List phoneContacts = null; @SerializedName("email") private String email = null; @SerializedName("honorific") - private Object honorific = null; + private HonorificDto honorific = null; @SerializedName("updatedAt") private OffsetDateTime updatedAt = null; @@ -122,10 +137,10 @@ public class Resume { private String address = null; @SerializedName("languages") - private List languages = null; + private List languages = null; @SerializedName("professionalExperiences") - private List professionalExperiences = null; + private List professionalExperiences = null; @SerializedName("photoThumbnailLink") private String photoThumbnailLink = null; @@ -149,13 +164,13 @@ public class Resume { private String linkedIn = null; @SerializedName("disabilities") - private List disabilities = null; + private List disabilities = null; @SerializedName("incompleteNotifications") - private Long incompleteNotifications = null; + private Integer incompleteNotifications = null; @SerializedName("positionsSought") - private List positionsSought = null; + private List positionsSought = null; @SerializedName("name") private String name = null; @@ -170,10 +185,10 @@ public class Resume { private Boolean travel = null; @SerializedName("maritalStatus") - private Object maritalStatus = null; + private MaritalStatusDto maritalStatus = null; @SerializedName("knowledges") - private List knowledges = null; + private List knowledges = null; public Resume birthday(LocalDate birthday) { this.birthday = birthday; @@ -184,7 +199,7 @@ public Resume birthday(LocalDate birthday) { * Data de nascimento da pessoa. * @return birthday **/ - @ApiModelProperty(required = true, value = "Data de nascimento da pessoa.") + @ApiModelProperty(value = "Data de nascimento da pessoa.") public LocalDate getBirthday() { return birthday; } @@ -211,21 +226,21 @@ public void setCountry(String country) { this.country = country; } - public Resume gender(Object gender) { + public Resume gender(GenderDto gender) { this.gender = gender; return this; } /** - * Gênero (Sexo). + * Get gender * @return gender **/ - @ApiModelProperty(required = true, value = "Gênero (Sexo).") - public Object getGender() { + @ApiModelProperty(value = "") + public GenderDto getGender() { return gender; } - public void setGender(Object gender) { + public void setGender(GenderDto gender) { this.gender = gender; } @@ -283,14 +298,14 @@ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } - public Resume educations(List educations) { + public Resume educations(List educations) { this.educations = educations; return this; } - public Resume addEducationsItem(Object educationsItem) { + public Resume addEducationsItem(EducationSection educationsItem) { if (this.educations == null) { - this.educations = new ArrayList(); + this.educations = new ArrayList(); } this.educations.add(educationsItem); return this; @@ -301,11 +316,11 @@ public Resume addEducationsItem(Object educationsItem) { * @return educations **/ @ApiModelProperty(value = "Formação acadêmica.") - public List getEducations() { + public List getEducations() { return educations; } - public void setEducations(List educations) { + public void setEducations(List educations) { this.educations = educations; } @@ -363,14 +378,14 @@ public void setSalaryExpectation(String salaryExpectation) { this.salaryExpectation = salaryExpectation; } - public Resume personalInterests(List personalInterests) { + public Resume personalInterests(List personalInterests) { this.personalInterests = personalInterests; return this; } - public Resume addPersonalInterestsItem(Object personalInterestsItem) { + public Resume addPersonalInterestsItem(PersonalInterestSection personalInterestsItem) { if (this.personalInterests == null) { - this.personalInterests = new ArrayList(); + this.personalInterests = new ArrayList(); } this.personalInterests.add(personalInterestsItem); return this; @@ -381,11 +396,11 @@ public Resume addPersonalInterestsItem(Object personalInterestsItem) { * @return personalInterests **/ @ApiModelProperty(value = "Interesses pessoais.") - public List getPersonalInterests() { + public List getPersonalInterests() { return personalInterests; } - public void setPersonalInterests(List personalInterests) { + public void setPersonalInterests(List personalInterests) { this.personalInterests = personalInterests; } @@ -407,14 +422,14 @@ public void setGooglePlus(String googlePlus) { this.googlePlus = googlePlus; } - public Resume abilities(List abilities) { + public Resume abilities(List abilities) { this.abilities = abilities; return this; } - public Resume addAbilitiesItem(Object abilitiesItem) { + public Resume addAbilitiesItem(Ability abilitiesItem) { if (this.abilities == null) { - this.abilities = new ArrayList(); + this.abilities = new ArrayList(); } this.abilities.add(abilitiesItem); return this; @@ -425,11 +440,11 @@ public Resume addAbilitiesItem(Object abilitiesItem) { * @return abilities **/ @ApiModelProperty(value = "Habilidades.") - public List getAbilities() { + public List getAbilities() { return abilities; } - public void setAbilities(List abilities) { + public void setAbilities(List abilities) { this.abilities = abilities; } @@ -505,25 +520,25 @@ public void setTwitter(String twitter) { this.twitter = twitter; } - public Resume personalityModelCandidate(Object personalityModelCandidate) { + public Resume personalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { this.personalityModelCandidate = personalityModelCandidate; return this; } /** - * Modelo de personalidade do candidato + * Get personalityModelCandidate * @return personalityModelCandidate **/ - @ApiModelProperty(value = "Modelo de personalidade do candidato") - public Object getPersonalityModelCandidate() { + @ApiModelProperty(value = "") + public PersonalityModelCandidate getPersonalityModelCandidate() { return personalityModelCandidate; } - public void setPersonalityModelCandidate(Object personalityModelCandidate) { + public void setPersonalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { this.personalityModelCandidate = personalityModelCandidate; } - public Resume children(Long children) { + public Resume children(Integer children) { this.children = children; return this; } @@ -533,11 +548,11 @@ public Resume children(Long children) { * @return children **/ @ApiModelProperty(value = "Quantidade de filhos.") - public Long getChildren() { + public Integer getChildren() { return children; } - public void setChildren(Long children) { + public void setChildren(Integer children) { this.children = children; } @@ -631,14 +646,14 @@ public void setAttachmentId(String attachmentId) { this.attachmentId = attachmentId; } - public Resume phoneContacts(List phoneContacts) { + public Resume phoneContacts(List phoneContacts) { this.phoneContacts = phoneContacts; return this; } - public Resume addPhoneContactsItem(Object phoneContactsItem) { + public Resume addPhoneContactsItem(ResumePhoneContact phoneContactsItem) { if (this.phoneContacts == null) { - this.phoneContacts = new ArrayList(); + this.phoneContacts = new ArrayList(); } this.phoneContacts.add(phoneContactsItem); return this; @@ -649,11 +664,11 @@ public Resume addPhoneContactsItem(Object phoneContactsItem) { * @return phoneContacts **/ @ApiModelProperty(value = "Contatos telefônicos.") - public List getPhoneContacts() { + public List getPhoneContacts() { return phoneContacts; } - public void setPhoneContacts(List phoneContacts) { + public void setPhoneContacts(List phoneContacts) { this.phoneContacts = phoneContacts; } @@ -666,7 +681,7 @@ public Resume email(String email) { * E-mail. * @return email **/ - @ApiModelProperty(required = true, value = "E-mail.") + @ApiModelProperty(value = "E-mail.") public String getEmail() { return email; } @@ -675,21 +690,21 @@ public void setEmail(String email) { this.email = email; } - public Resume honorific(Object honorific) { + public Resume honorific(HonorificDto honorific) { this.honorific = honorific; return this; } /** - * Honorífico. + * Get honorific * @return honorific **/ - @ApiModelProperty(value = "Honorífico.") - public Object getHonorific() { + @ApiModelProperty(value = "") + public HonorificDto getHonorific() { return honorific; } - public void setHonorific(Object honorific) { + public void setHonorific(HonorificDto honorific) { this.honorific = honorific; } @@ -729,14 +744,14 @@ public void setAddress(String address) { this.address = address; } - public Resume languages(List languages) { + public Resume languages(List languages) { this.languages = languages; return this; } - public Resume addLanguagesItem(Object languagesItem) { + public Resume addLanguagesItem(LanguageSection languagesItem) { if (this.languages == null) { - this.languages = new ArrayList(); + this.languages = new ArrayList(); } this.languages.add(languagesItem); return this; @@ -747,22 +762,22 @@ public Resume addLanguagesItem(Object languagesItem) { * @return languages **/ @ApiModelProperty(value = "Idiomas.") - public List getLanguages() { + public List getLanguages() { return languages; } - public void setLanguages(List languages) { + public void setLanguages(List languages) { this.languages = languages; } - public Resume professionalExperiences(List professionalExperiences) { + public Resume professionalExperiences(List professionalExperiences) { this.professionalExperiences = professionalExperiences; return this; } - public Resume addProfessionalExperiencesItem(Object professionalExperiencesItem) { + public Resume addProfessionalExperiencesItem(ProfessionalExperienceSection professionalExperiencesItem) { if (this.professionalExperiences == null) { - this.professionalExperiences = new ArrayList(); + this.professionalExperiences = new ArrayList(); } this.professionalExperiences.add(professionalExperiencesItem); return this; @@ -773,11 +788,11 @@ public Resume addProfessionalExperiencesItem(Object professionalExperiencesItem) * @return professionalExperiences **/ @ApiModelProperty(value = "Experiências profissionais.") - public List getProfessionalExperiences() { + public List getProfessionalExperiences() { return professionalExperiences; } - public void setProfessionalExperiences(List professionalExperiences) { + public void setProfessionalExperiences(List professionalExperiences) { this.professionalExperiences = professionalExperiences; } @@ -907,14 +922,14 @@ public void setLinkedIn(String linkedIn) { this.linkedIn = linkedIn; } - public Resume disabilities(List disabilities) { + public Resume disabilities(List disabilities) { this.disabilities = disabilities; return this; } - public Resume addDisabilitiesItem(Object disabilitiesItem) { + public Resume addDisabilitiesItem(DisabilityDto disabilitiesItem) { if (this.disabilities == null) { - this.disabilities = new ArrayList(); + this.disabilities = new ArrayList(); } this.disabilities.add(disabilitiesItem); return this; @@ -925,15 +940,15 @@ public Resume addDisabilitiesItem(Object disabilitiesItem) { * @return disabilities **/ @ApiModelProperty(value = "Deficiências da pessoa.") - public List getDisabilities() { + public List getDisabilities() { return disabilities; } - public void setDisabilities(List disabilities) { + public void setDisabilities(List disabilities) { this.disabilities = disabilities; } - public Resume incompleteNotifications(Long incompleteNotifications) { + public Resume incompleteNotifications(Integer incompleteNotifications) { this.incompleteNotifications = incompleteNotifications; return this; } @@ -943,22 +958,22 @@ public Resume incompleteNotifications(Long incompleteNotifications) { * @return incompleteNotifications **/ @ApiModelProperty(value = "Número de notificação de currículo incompleto enviadas.") - public Long getIncompleteNotifications() { + public Integer getIncompleteNotifications() { return incompleteNotifications; } - public void setIncompleteNotifications(Long incompleteNotifications) { + public void setIncompleteNotifications(Integer incompleteNotifications) { this.incompleteNotifications = incompleteNotifications; } - public Resume positionsSought(List positionsSought) { + public Resume positionsSought(List positionsSought) { this.positionsSought = positionsSought; return this; } - public Resume addPositionsSoughtItem(Object positionsSoughtItem) { + public Resume addPositionsSoughtItem(PositionSought positionsSoughtItem) { if (this.positionsSought == null) { - this.positionsSought = new ArrayList(); + this.positionsSought = new ArrayList(); } this.positionsSought.add(positionsSoughtItem); return this; @@ -969,11 +984,11 @@ public Resume addPositionsSoughtItem(Object positionsSoughtItem) { * @return positionsSought **/ @ApiModelProperty(value = "Cargos pretendidos.") - public List getPositionsSought() { + public List getPositionsSought() { return positionsSought; } - public void setPositionsSought(List positionsSought) { + public void setPositionsSought(List positionsSought) { this.positionsSought = positionsSought; } @@ -986,7 +1001,7 @@ public Resume name(String name) { * Nome completo da pessoa. * @return name **/ - @ApiModelProperty(required = true, value = "Nome completo da pessoa.") + @ApiModelProperty(value = "Nome completo da pessoa.") public String getName() { return name; } @@ -1049,32 +1064,32 @@ public void setTravel(Boolean travel) { this.travel = travel; } - public Resume maritalStatus(Object maritalStatus) { + public Resume maritalStatus(MaritalStatusDto maritalStatus) { this.maritalStatus = maritalStatus; return this; } /** - * Estado civil. + * Get maritalStatus * @return maritalStatus **/ - @ApiModelProperty(value = "Estado civil.") - public Object getMaritalStatus() { + @ApiModelProperty(value = "") + public MaritalStatusDto getMaritalStatus() { return maritalStatus; } - public void setMaritalStatus(Object maritalStatus) { + public void setMaritalStatus(MaritalStatusDto maritalStatus) { this.maritalStatus = maritalStatus; } - public Resume knowledges(List knowledges) { + public Resume knowledges(List knowledges) { this.knowledges = knowledges; return this; } - public Resume addKnowledgesItem(Object knowledgesItem) { + public Resume addKnowledgesItem(Knowledge knowledgesItem) { if (this.knowledges == null) { - this.knowledges = new ArrayList(); + this.knowledges = new ArrayList(); } this.knowledges.add(knowledgesItem); return this; @@ -1085,11 +1100,11 @@ public Resume addKnowledgesItem(Object knowledgesItem) { * @return knowledges **/ @ApiModelProperty(value = "Conhecimentos.") - public List getKnowledges() { + public List getKnowledges() { return knowledges; } - public void setKnowledges(List knowledges) { + public void setKnowledges(List knowledges) { this.knowledges = knowledges; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ResumePhoneContact.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ResumePhoneContact.java index 59c55d1..d7c5f83 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/ResumePhoneContact.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ResumePhoneContact.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,14 +22,17 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.PhoneContact; import java.io.IOException; import org.threeten.bp.OffsetDateTime; /** - * Contato telefônico (Currículo). + * ResumePhoneContact */ -@ApiModel(description = "Contato telefônico (Currículo).") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class ResumePhoneContact { @SerializedName("createdAt") private OffsetDateTime createdAt = null; @@ -38,7 +41,7 @@ public class ResumePhoneContact { private String resumeId = null; @SerializedName("phoneContact") - private Object phoneContact = null; + private PhoneContact phoneContact = null; @SerializedName("g5Id") private String g5Id = null; @@ -76,7 +79,7 @@ public ResumePhoneContact resumeId(String resumeId) { * Identificador único do currículo. * @return resumeId **/ - @ApiModelProperty(required = true, value = "Identificador único do currículo.") + @ApiModelProperty(value = "Identificador único do currículo.") public String getResumeId() { return resumeId; } @@ -85,21 +88,21 @@ public void setResumeId(String resumeId) { this.resumeId = resumeId; } - public ResumePhoneContact phoneContact(Object phoneContact) { + public ResumePhoneContact phoneContact(PhoneContact phoneContact) { this.phoneContact = phoneContact; return this; } /** - * Identificador único do telefone de contato. + * Get phoneContact * @return phoneContact **/ - @ApiModelProperty(required = true, value = "Identificador único do telefone de contato.") - public Object getPhoneContact() { + @ApiModelProperty(value = "") + public PhoneContact getPhoneContact() { return phoneContact; } - public void setPhoneContact(Object phoneContact) { + public void setPhoneContact(PhoneContact phoneContact) { this.phoneContact = phoneContact; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/SeemMedicalStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/SeemMedicalStatusDto.java new file mode 100644 index 0000000..6ba2854 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/SeemMedicalStatusDto.java @@ -0,0 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets seemMedicalStatusDto + */ +@JsonAdapter(SeemMedicalStatusDto.Adapter.class) +public enum SeemMedicalStatusDto { + + FIT("FIT"), + + UNFIT("UNFIT"), + + FITWITHRESTRICTIONS("FITWITHRESTRICTIONS"); + + private String value; + + SeemMedicalStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SeemMedicalStatusDto fromValue(String text) { + for (SeemMedicalStatusDto b : SeemMedicalStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SeemMedicalStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SeemMedicalStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SeemMedicalStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/SequenceStaffrequisitionVacancy.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/SequenceStaffrequisitionVacancy.java new file mode 100644 index 0000000..4b80283 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/SequenceStaffrequisitionVacancy.java @@ -0,0 +1,120 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SequenceStaffrequisitionVacancy + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class SequenceStaffrequisitionVacancy { + @SerializedName("sequence") + private Integer sequence = null; + + @SerializedName("id") + private String id = null; + + public SequenceStaffrequisitionVacancy sequence(Integer sequence) { + this.sequence = sequence; + return this; + } + + /** + * Sequência única. + * @return sequence + **/ + @ApiModelProperty(value = "Sequência única.") + public Integer getSequence() { + return sequence; + } + + public void setSequence(Integer sequence) { + this.sequence = sequence; + } + + public SequenceStaffrequisitionVacancy id(String id) { + this.id = id; + return this; + } + + /** + * Identificador da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy = (SequenceStaffrequisitionVacancy) o; + return Objects.equals(this.sequence, sequenceStaffrequisitionVacancy.sequence) && + Objects.equals(this.id, sequenceStaffrequisitionVacancy.id); + } + + @Override + public int hashCode() { + return Objects.hash(sequence, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SequenceStaffrequisitionVacancy {\n"); + + sb.append(" sequence: ").append(toIndentedString(sequence)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ShiftDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ShiftDto.java index 4a8e67c..f68de34 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/ShiftDto.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ShiftDto.java @@ -1,31 +1,81 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + /** - * Turnos de trabalho + * Gets or Sets shiftDto */ +@JsonAdapter(ShiftDto.Adapter.class) public enum ShiftDto { - /** - * Primeiro turno - */ - FIRST_TURN, - /** - * Segundo turno - */ - SECOND_TURN, - /** - * Terceiro turno - */ - THIRD_TURN, - /** - * Quarto turno - */ - FOURTH_TURN, - /** - * Turno misto - */ - MIST, - /** - * Turno geral - */ - GENERAL + + FIRST_TURN("FIRST_TURN"), + + SECOND_TURN("SECOND_TURN"), + + THIRD_TURN("THIRD_TURN"), + + FOURTH_TURN("FOURTH_TURN"), + + MIST("MIST"), + + GENERAL("GENERAL"); + + private String value; + + ShiftDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ShiftDto fromValue(String text) { + for (ShiftDto b : ShiftDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ShiftDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ShiftDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ShiftDto.fromValue(String.valueOf(value)); + } + } } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisition.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisition.java new file mode 100644 index 0000000..01cf374 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisition.java @@ -0,0 +1,1064 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Company; +import br.com.senior.hcm.recruitment.pojos.ContractTypeDto; +import br.com.senior.hcm.recruitment.pojos.CostCenter; +import br.com.senior.hcm.recruitment.pojos.Department; +import br.com.senior.hcm.recruitment.pojos.EmployeeSummary; +import br.com.senior.hcm.recruitment.pojos.EmploymentContractDto; +import br.com.senior.hcm.recruitment.pojos.JobPosition; +import br.com.senior.hcm.recruitment.pojos.ProcessTypeDto; +import br.com.senior.hcm.recruitment.pojos.SequenceStaffrequisitionVacancy; +import br.com.senior.hcm.recruitment.pojos.StaffRequisitionStatusDto; +import br.com.senior.hcm.recruitment.pojos.WorkShift; +import br.com.senior.hcm.recruitment.pojos.WorkstationGroup; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.threeten.bp.LocalDate; +import org.threeten.bp.OffsetDateTime; + +/** + * StaffRequisition + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class StaffRequisition { + @SerializedName("reason") + private ProcessTypeDto reason = null; + + @SerializedName("finalizationComment") + private String finalizationComment = null; + + @SerializedName("workstationGroup") + private WorkstationGroup workstationGroup = null; + + @SerializedName("employmentContract") + private EmploymentContractDto employmentContract = null; + + @SerializedName("keywords") + private List keywords = null; + + @SerializedName("contractType") + private ContractTypeDto contractType = null; + + @SerializedName("departmentId") + private String departmentId = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("disapprovalJustification") + private String disapprovalJustification = null; + + @SerializedName("keywordCompetencySession") + private Boolean keywordCompetencySession = null; + + @SerializedName("createdAt") + private OffsetDateTime createdAt = null; + + @SerializedName("costCenterId") + private String costCenterId = null; + + @SerializedName("keywordProfessionalExperienceSession") + private Boolean keywordProfessionalExperienceSession = null; + + @SerializedName("company") + private Company company = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("justification") + private String justification = null; + + @SerializedName("department") + private Department department = null; + + @SerializedName("keywordEducationSession") + private Boolean keywordEducationSession = null; + + @SerializedName("requester") + private EmployeeSummary requester = null; + + @SerializedName("workShift") + private WorkShift workShift = null; + + @SerializedName("finalizationAttachmentId") + private String finalizationAttachmentId = null; + + @SerializedName("startSalaryRange") + private String startSalaryRange = null; + + @SerializedName("admissionDate") + private LocalDate admissionDate = null; + + @SerializedName("workstationGroupId") + private String workstationGroupId = null; + + @SerializedName("requesterId") + private String requesterId = null; + + @SerializedName("costCenter") + private CostCenter costCenter = null; + + @SerializedName("createdByVacancyManagement") + private Boolean createdByVacancyManagement = null; + + @SerializedName("keywordPositionSoughtSession") + private Boolean keywordPositionSoughtSession = null; + + @SerializedName("positions") + private Integer positions = null; + + @SerializedName("replacedEmployeeId") + private String replacedEmployeeId = null; + + @SerializedName("keywordTrajectorySession") + private Boolean keywordTrajectorySession = null; + + @SerializedName("jobPosition") + private JobPosition jobPosition = null; + + @SerializedName("keywordLanguageSession") + private Boolean keywordLanguageSession = null; + + @SerializedName("companyId") + private String companyId = null; + + @SerializedName("sequenceStaffrequisitionVacancyId") + private String sequenceStaffrequisitionVacancyId = null; + + @SerializedName("endSalaryRange") + private String endSalaryRange = null; + + @SerializedName("jobPositionId") + private String jobPositionId = null; + + @SerializedName("sequenceStaffrequisitionVacancy") + private SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy = null; + + @SerializedName("replacedEmployee") + private EmployeeSummary replacedEmployee = null; + + @SerializedName("location") + private String location = null; + + @SerializedName("status") + private StaffRequisitionStatusDto status = null; + + @SerializedName("workShiftId") + private String workShiftId = null; + + public StaffRequisition reason(ProcessTypeDto reason) { + this.reason = reason; + return this; + } + + /** + * Get reason + * @return reason + **/ + @ApiModelProperty(value = "") + public ProcessTypeDto getReason() { + return reason; + } + + public void setReason(ProcessTypeDto reason) { + this.reason = reason; + } + + public StaffRequisition finalizationComment(String finalizationComment) { + this.finalizationComment = finalizationComment; + return this; + } + + /** + * Justificativa do cancelamento da RP. + * @return finalizationComment + **/ + @ApiModelProperty(value = "Justificativa do cancelamento da RP.") + public String getFinalizationComment() { + return finalizationComment; + } + + public void setFinalizationComment(String finalizationComment) { + this.finalizationComment = finalizationComment; + } + + public StaffRequisition workstationGroup(WorkstationGroup workstationGroup) { + this.workstationGroup = workstationGroup; + return this; + } + + /** + * Get workstationGroup + * @return workstationGroup + **/ + @ApiModelProperty(value = "") + public WorkstationGroup getWorkstationGroup() { + return workstationGroup; + } + + public void setWorkstationGroup(WorkstationGroup workstationGroup) { + this.workstationGroup = workstationGroup; + } + + public StaffRequisition employmentContract(EmploymentContractDto employmentContract) { + this.employmentContract = employmentContract; + return this; + } + + /** + * Get employmentContract + * @return employmentContract + **/ + @ApiModelProperty(value = "") + public EmploymentContractDto getEmploymentContract() { + return employmentContract; + } + + public void setEmploymentContract(EmploymentContractDto employmentContract) { + this.employmentContract = employmentContract; + } + + public StaffRequisition keywords(List keywords) { + this.keywords = keywords; + return this; + } + + public StaffRequisition addKeywordsItem(String keywordsItem) { + if (this.keywords == null) { + this.keywords = new ArrayList(); + } + this.keywords.add(keywordsItem); + return this; + } + + /** + * Palavras chaves para o cálculo da aderência. + * @return keywords + **/ + @ApiModelProperty(value = "Palavras chaves para o cálculo da aderência.") + public List getKeywords() { + return keywords; + } + + public void setKeywords(List keywords) { + this.keywords = keywords; + } + + public StaffRequisition contractType(ContractTypeDto contractType) { + this.contractType = contractType; + return this; + } + + /** + * Get contractType + * @return contractType + **/ + @ApiModelProperty(value = "") + public ContractTypeDto getContractType() { + return contractType; + } + + public void setContractType(ContractTypeDto contractType) { + this.contractType = contractType; + } + + public StaffRequisition departmentId(String departmentId) { + this.departmentId = departmentId; + return this; + } + + /** + * Identificador do departamento. + * @return departmentId + **/ + @ApiModelProperty(value = "Identificador do departamento.") + public String getDepartmentId() { + return departmentId; + } + + public void setDepartmentId(String departmentId) { + this.departmentId = departmentId; + } + + public StaffRequisition description(String description) { + this.description = description; + return this; + } + + /** + * Descrição da vaga. + * @return description + **/ + @ApiModelProperty(value = "Descrição da vaga.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public StaffRequisition disapprovalJustification(String disapprovalJustification) { + this.disapprovalJustification = disapprovalJustification; + return this; + } + + /** + * Justificativa da reprovação da RP. + * @return disapprovalJustification + **/ + @ApiModelProperty(value = "Justificativa da reprovação da RP.") + public String getDisapprovalJustification() { + return disapprovalJustification; + } + + public void setDisapprovalJustification(String disapprovalJustification) { + this.disapprovalJustification = disapprovalJustification; + } + + public StaffRequisition keywordCompetencySession(Boolean keywordCompetencySession) { + this.keywordCompetencySession = keywordCompetencySession; + return this; + } + + /** + * Seção de conhecimentos e habilidades (aderência). + * @return keywordCompetencySession + **/ + @ApiModelProperty(value = "Seção de conhecimentos e habilidades (aderência).") + public Boolean isKeywordCompetencySession() { + return keywordCompetencySession; + } + + public void setKeywordCompetencySession(Boolean keywordCompetencySession) { + this.keywordCompetencySession = keywordCompetencySession; + } + + public StaffRequisition createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Data de criação da requisição de pessoal. + * @return createdAt + **/ + @ApiModelProperty(value = "Data de criação da requisição de pessoal.") + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public StaffRequisition costCenterId(String costCenterId) { + this.costCenterId = costCenterId; + return this; + } + + /** + * Identificador do centro de custo + * @return costCenterId + **/ + @ApiModelProperty(value = "Identificador do centro de custo") + public String getCostCenterId() { + return costCenterId; + } + + public void setCostCenterId(String costCenterId) { + this.costCenterId = costCenterId; + } + + public StaffRequisition keywordProfessionalExperienceSession(Boolean keywordProfessionalExperienceSession) { + this.keywordProfessionalExperienceSession = keywordProfessionalExperienceSession; + return this; + } + + /** + * Seção de histórico profissional (aderência). + * @return keywordProfessionalExperienceSession + **/ + @ApiModelProperty(value = "Seção de histórico profissional (aderência).") + public Boolean isKeywordProfessionalExperienceSession() { + return keywordProfessionalExperienceSession; + } + + public void setKeywordProfessionalExperienceSession(Boolean keywordProfessionalExperienceSession) { + this.keywordProfessionalExperienceSession = keywordProfessionalExperienceSession; + } + + public StaffRequisition company(Company company) { + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @ApiModelProperty(value = "") + public Company getCompany() { + return company; + } + + public void setCompany(Company company) { + this.company = company; + } + + public StaffRequisition id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public StaffRequisition justification(String justification) { + this.justification = justification; + return this; + } + + /** + * Justificativa para a abertura da requisição de pessoal. + * @return justification + **/ + @ApiModelProperty(value = "Justificativa para a abertura da requisição de pessoal.") + public String getJustification() { + return justification; + } + + public void setJustification(String justification) { + this.justification = justification; + } + + public StaffRequisition department(Department department) { + this.department = department; + return this; + } + + /** + * Get department + * @return department + **/ + @ApiModelProperty(value = "") + public Department getDepartment() { + return department; + } + + public void setDepartment(Department department) { + this.department = department; + } + + public StaffRequisition keywordEducationSession(Boolean keywordEducationSession) { + this.keywordEducationSession = keywordEducationSession; + return this; + } + + /** + * Seção de formação acadêmica (aderência). + * @return keywordEducationSession + **/ + @ApiModelProperty(value = "Seção de formação acadêmica (aderência).") + public Boolean isKeywordEducationSession() { + return keywordEducationSession; + } + + public void setKeywordEducationSession(Boolean keywordEducationSession) { + this.keywordEducationSession = keywordEducationSession; + } + + public StaffRequisition requester(EmployeeSummary requester) { + this.requester = requester; + return this; + } + + /** + * Get requester + * @return requester + **/ + @ApiModelProperty(value = "") + public EmployeeSummary getRequester() { + return requester; + } + + public void setRequester(EmployeeSummary requester) { + this.requester = requester; + } + + public StaffRequisition workShift(WorkShift workShift) { + this.workShift = workShift; + return this; + } + + /** + * Get workShift + * @return workShift + **/ + @ApiModelProperty(value = "") + public WorkShift getWorkShift() { + return workShift; + } + + public void setWorkShift(WorkShift workShift) { + this.workShift = workShift; + } + + public StaffRequisition finalizationAttachmentId(String finalizationAttachmentId) { + this.finalizationAttachmentId = finalizationAttachmentId; + return this; + } + + /** + * Id do anexo de finalização da requisição de pessoal. + * @return finalizationAttachmentId + **/ + @ApiModelProperty(value = "Id do anexo de finalização da requisição de pessoal.") + public String getFinalizationAttachmentId() { + return finalizationAttachmentId; + } + + public void setFinalizationAttachmentId(String finalizationAttachmentId) { + this.finalizationAttachmentId = finalizationAttachmentId; + } + + public StaffRequisition startSalaryRange(String startSalaryRange) { + this.startSalaryRange = startSalaryRange; + return this; + } + + /** + * Faixa inicial da remuneração da vaga. + * @return startSalaryRange + **/ + @ApiModelProperty(value = "Faixa inicial da remuneração da vaga.") + public String getStartSalaryRange() { + return startSalaryRange; + } + + public void setStartSalaryRange(String startSalaryRange) { + this.startSalaryRange = startSalaryRange; + } + + public StaffRequisition admissionDate(LocalDate admissionDate) { + this.admissionDate = admissionDate; + return this; + } + + /** + * Data de admissão prevista do colaborador. + * @return admissionDate + **/ + @ApiModelProperty(value = "Data de admissão prevista do colaborador.") + public LocalDate getAdmissionDate() { + return admissionDate; + } + + public void setAdmissionDate(LocalDate admissionDate) { + this.admissionDate = admissionDate; + } + + public StaffRequisition workstationGroupId(String workstationGroupId) { + this.workstationGroupId = workstationGroupId; + return this; + } + + /** + * Identificador do posto de trabalho. + * @return workstationGroupId + **/ + @ApiModelProperty(value = "Identificador do posto de trabalho.") + public String getWorkstationGroupId() { + return workstationGroupId; + } + + public void setWorkstationGroupId(String workstationGroupId) { + this.workstationGroupId = workstationGroupId; + } + + public StaffRequisition requesterId(String requesterId) { + this.requesterId = requesterId; + return this; + } + + /** + * ID do colaborador que criou a requisição de pessoal. + * @return requesterId + **/ + @ApiModelProperty(value = "ID do colaborador que criou a requisição de pessoal.") + public String getRequesterId() { + return requesterId; + } + + public void setRequesterId(String requesterId) { + this.requesterId = requesterId; + } + + public StaffRequisition costCenter(CostCenter costCenter) { + this.costCenter = costCenter; + return this; + } + + /** + * Get costCenter + * @return costCenter + **/ + @ApiModelProperty(value = "") + public CostCenter getCostCenter() { + return costCenter; + } + + public void setCostCenter(CostCenter costCenter) { + this.costCenter = costCenter; + } + + public StaffRequisition createdByVacancyManagement(Boolean createdByVacancyManagement) { + this.createdByVacancyManagement = createdByVacancyManagement; + return this; + } + + /** + * Identifica se deve criar a vaga no vacancymanagement ou no recruitment (default false). + * @return createdByVacancyManagement + **/ + @ApiModelProperty(value = "Identifica se deve criar a vaga no vacancymanagement ou no recruitment (default false).") + public Boolean isCreatedByVacancyManagement() { + return createdByVacancyManagement; + } + + public void setCreatedByVacancyManagement(Boolean createdByVacancyManagement) { + this.createdByVacancyManagement = createdByVacancyManagement; + } + + public StaffRequisition keywordPositionSoughtSession(Boolean keywordPositionSoughtSession) { + this.keywordPositionSoughtSession = keywordPositionSoughtSession; + return this; + } + + /** + * Seção de cargos e áreas desejadas (aderência). + * @return keywordPositionSoughtSession + **/ + @ApiModelProperty(value = "Seção de cargos e áreas desejadas (aderência).") + public Boolean isKeywordPositionSoughtSession() { + return keywordPositionSoughtSession; + } + + public void setKeywordPositionSoughtSession(Boolean keywordPositionSoughtSession) { + this.keywordPositionSoughtSession = keywordPositionSoughtSession; + } + + public StaffRequisition positions(Integer positions) { + this.positions = positions; + return this; + } + + /** + * Quantidade de vagas. + * @return positions + **/ + @ApiModelProperty(value = "Quantidade de vagas.") + public Integer getPositions() { + return positions; + } + + public void setPositions(Integer positions) { + this.positions = positions; + } + + public StaffRequisition replacedEmployeeId(String replacedEmployeeId) { + this.replacedEmployeeId = replacedEmployeeId; + return this; + } + + /** + * ID do colaborador que será substituido (Se for o caso). + * @return replacedEmployeeId + **/ + @ApiModelProperty(value = "ID do colaborador que será substituido (Se for o caso).") + public String getReplacedEmployeeId() { + return replacedEmployeeId; + } + + public void setReplacedEmployeeId(String replacedEmployeeId) { + this.replacedEmployeeId = replacedEmployeeId; + } + + public StaffRequisition keywordTrajectorySession(Boolean keywordTrajectorySession) { + this.keywordTrajectorySession = keywordTrajectorySession; + return this; + } + + /** + * Seção de trajetória profissional (aderência). + * @return keywordTrajectorySession + **/ + @ApiModelProperty(value = "Seção de trajetória profissional (aderência).") + public Boolean isKeywordTrajectorySession() { + return keywordTrajectorySession; + } + + public void setKeywordTrajectorySession(Boolean keywordTrajectorySession) { + this.keywordTrajectorySession = keywordTrajectorySession; + } + + public StaffRequisition jobPosition(JobPosition jobPosition) { + this.jobPosition = jobPosition; + return this; + } + + /** + * Get jobPosition + * @return jobPosition + **/ + @ApiModelProperty(value = "") + public JobPosition getJobPosition() { + return jobPosition; + } + + public void setJobPosition(JobPosition jobPosition) { + this.jobPosition = jobPosition; + } + + public StaffRequisition keywordLanguageSession(Boolean keywordLanguageSession) { + this.keywordLanguageSession = keywordLanguageSession; + return this; + } + + /** + * Seção de idiomas (aderência). + * @return keywordLanguageSession + **/ + @ApiModelProperty(value = "Seção de idiomas (aderência).") + public Boolean isKeywordLanguageSession() { + return keywordLanguageSession; + } + + public void setKeywordLanguageSession(Boolean keywordLanguageSession) { + this.keywordLanguageSession = keywordLanguageSession; + } + + public StaffRequisition companyId(String companyId) { + this.companyId = companyId; + return this; + } + + /** + * Identificador da empresa + * @return companyId + **/ + @ApiModelProperty(value = "Identificador da empresa") + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public StaffRequisition sequenceStaffrequisitionVacancyId(String sequenceStaffrequisitionVacancyId) { + this.sequenceStaffrequisitionVacancyId = sequenceStaffrequisitionVacancyId; + return this; + } + + /** + * Identificador do responsável por armazenar uma sequência única da Requisição de Pessoal. + * @return sequenceStaffrequisitionVacancyId + **/ + @ApiModelProperty(value = "Identificador do responsável por armazenar uma sequência única da Requisição de Pessoal.") + public String getSequenceStaffrequisitionVacancyId() { + return sequenceStaffrequisitionVacancyId; + } + + public void setSequenceStaffrequisitionVacancyId(String sequenceStaffrequisitionVacancyId) { + this.sequenceStaffrequisitionVacancyId = sequenceStaffrequisitionVacancyId; + } + + public StaffRequisition endSalaryRange(String endSalaryRange) { + this.endSalaryRange = endSalaryRange; + return this; + } + + /** + * Faixa final da remuneração da vaga. + * @return endSalaryRange + **/ + @ApiModelProperty(value = "Faixa final da remuneração da vaga.") + public String getEndSalaryRange() { + return endSalaryRange; + } + + public void setEndSalaryRange(String endSalaryRange) { + this.endSalaryRange = endSalaryRange; + } + + public StaffRequisition jobPositionId(String jobPositionId) { + this.jobPositionId = jobPositionId; + return this; + } + + /** + * ID do cargo desejado na requisição de pessoal. + * @return jobPositionId + **/ + @ApiModelProperty(value = "ID do cargo desejado na requisição de pessoal.") + public String getJobPositionId() { + return jobPositionId; + } + + public void setJobPositionId(String jobPositionId) { + this.jobPositionId = jobPositionId; + } + + public StaffRequisition sequenceStaffrequisitionVacancy(SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy) { + this.sequenceStaffrequisitionVacancy = sequenceStaffrequisitionVacancy; + return this; + } + + /** + * Get sequenceStaffrequisitionVacancy + * @return sequenceStaffrequisitionVacancy + **/ + @ApiModelProperty(value = "") + public SequenceStaffrequisitionVacancy getSequenceStaffrequisitionVacancy() { + return sequenceStaffrequisitionVacancy; + } + + public void setSequenceStaffrequisitionVacancy(SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy) { + this.sequenceStaffrequisitionVacancy = sequenceStaffrequisitionVacancy; + } + + public StaffRequisition replacedEmployee(EmployeeSummary replacedEmployee) { + this.replacedEmployee = replacedEmployee; + return this; + } + + /** + * Get replacedEmployee + * @return replacedEmployee + **/ + @ApiModelProperty(value = "") + public EmployeeSummary getReplacedEmployee() { + return replacedEmployee; + } + + public void setReplacedEmployee(EmployeeSummary replacedEmployee) { + this.replacedEmployee = replacedEmployee; + } + + public StaffRequisition location(String location) { + this.location = location; + return this; + } + + /** + * Local geográfico que a vaga referência. + * @return location + **/ + @ApiModelProperty(value = "Local geográfico que a vaga referência.") + public String getLocation() { + return location; + } + + public void setLocation(String location) { + this.location = location; + } + + public StaffRequisition status(StaffRequisitionStatusDto status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @ApiModelProperty(value = "") + public StaffRequisitionStatusDto getStatus() { + return status; + } + + public void setStatus(StaffRequisitionStatusDto status) { + this.status = status; + } + + public StaffRequisition workShiftId(String workShiftId) { + this.workShiftId = workShiftId; + return this; + } + + /** + * Identificador do turno de trabalho + * @return workShiftId + **/ + @ApiModelProperty(value = "Identificador do turno de trabalho") + public String getWorkShiftId() { + return workShiftId; + } + + public void setWorkShiftId(String workShiftId) { + this.workShiftId = workShiftId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StaffRequisition staffRequisition = (StaffRequisition) o; + return Objects.equals(this.reason, staffRequisition.reason) && + Objects.equals(this.finalizationComment, staffRequisition.finalizationComment) && + Objects.equals(this.workstationGroup, staffRequisition.workstationGroup) && + Objects.equals(this.employmentContract, staffRequisition.employmentContract) && + Objects.equals(this.keywords, staffRequisition.keywords) && + Objects.equals(this.contractType, staffRequisition.contractType) && + Objects.equals(this.departmentId, staffRequisition.departmentId) && + Objects.equals(this.description, staffRequisition.description) && + Objects.equals(this.disapprovalJustification, staffRequisition.disapprovalJustification) && + Objects.equals(this.keywordCompetencySession, staffRequisition.keywordCompetencySession) && + Objects.equals(this.createdAt, staffRequisition.createdAt) && + Objects.equals(this.costCenterId, staffRequisition.costCenterId) && + Objects.equals(this.keywordProfessionalExperienceSession, staffRequisition.keywordProfessionalExperienceSession) && + Objects.equals(this.company, staffRequisition.company) && + Objects.equals(this.id, staffRequisition.id) && + Objects.equals(this.justification, staffRequisition.justification) && + Objects.equals(this.department, staffRequisition.department) && + Objects.equals(this.keywordEducationSession, staffRequisition.keywordEducationSession) && + Objects.equals(this.requester, staffRequisition.requester) && + Objects.equals(this.workShift, staffRequisition.workShift) && + Objects.equals(this.finalizationAttachmentId, staffRequisition.finalizationAttachmentId) && + Objects.equals(this.startSalaryRange, staffRequisition.startSalaryRange) && + Objects.equals(this.admissionDate, staffRequisition.admissionDate) && + Objects.equals(this.workstationGroupId, staffRequisition.workstationGroupId) && + Objects.equals(this.requesterId, staffRequisition.requesterId) && + Objects.equals(this.costCenter, staffRequisition.costCenter) && + Objects.equals(this.createdByVacancyManagement, staffRequisition.createdByVacancyManagement) && + Objects.equals(this.keywordPositionSoughtSession, staffRequisition.keywordPositionSoughtSession) && + Objects.equals(this.positions, staffRequisition.positions) && + Objects.equals(this.replacedEmployeeId, staffRequisition.replacedEmployeeId) && + Objects.equals(this.keywordTrajectorySession, staffRequisition.keywordTrajectorySession) && + Objects.equals(this.jobPosition, staffRequisition.jobPosition) && + Objects.equals(this.keywordLanguageSession, staffRequisition.keywordLanguageSession) && + Objects.equals(this.companyId, staffRequisition.companyId) && + Objects.equals(this.sequenceStaffrequisitionVacancyId, staffRequisition.sequenceStaffrequisitionVacancyId) && + Objects.equals(this.endSalaryRange, staffRequisition.endSalaryRange) && + Objects.equals(this.jobPositionId, staffRequisition.jobPositionId) && + Objects.equals(this.sequenceStaffrequisitionVacancy, staffRequisition.sequenceStaffrequisitionVacancy) && + Objects.equals(this.replacedEmployee, staffRequisition.replacedEmployee) && + Objects.equals(this.location, staffRequisition.location) && + Objects.equals(this.status, staffRequisition.status) && + Objects.equals(this.workShiftId, staffRequisition.workShiftId); + } + + @Override + public int hashCode() { + return Objects.hash(reason, finalizationComment, workstationGroup, employmentContract, keywords, contractType, departmentId, description, disapprovalJustification, keywordCompetencySession, createdAt, costCenterId, keywordProfessionalExperienceSession, company, id, justification, department, keywordEducationSession, requester, workShift, finalizationAttachmentId, startSalaryRange, admissionDate, workstationGroupId, requesterId, costCenter, createdByVacancyManagement, keywordPositionSoughtSession, positions, replacedEmployeeId, keywordTrajectorySession, jobPosition, keywordLanguageSession, companyId, sequenceStaffrequisitionVacancyId, endSalaryRange, jobPositionId, sequenceStaffrequisitionVacancy, replacedEmployee, location, status, workShiftId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StaffRequisition {\n"); + + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" finalizationComment: ").append(toIndentedString(finalizationComment)).append("\n"); + sb.append(" workstationGroup: ").append(toIndentedString(workstationGroup)).append("\n"); + sb.append(" employmentContract: ").append(toIndentedString(employmentContract)).append("\n"); + sb.append(" keywords: ").append(toIndentedString(keywords)).append("\n"); + sb.append(" contractType: ").append(toIndentedString(contractType)).append("\n"); + sb.append(" departmentId: ").append(toIndentedString(departmentId)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" disapprovalJustification: ").append(toIndentedString(disapprovalJustification)).append("\n"); + sb.append(" keywordCompetencySession: ").append(toIndentedString(keywordCompetencySession)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" costCenterId: ").append(toIndentedString(costCenterId)).append("\n"); + sb.append(" keywordProfessionalExperienceSession: ").append(toIndentedString(keywordProfessionalExperienceSession)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" justification: ").append(toIndentedString(justification)).append("\n"); + sb.append(" department: ").append(toIndentedString(department)).append("\n"); + sb.append(" keywordEducationSession: ").append(toIndentedString(keywordEducationSession)).append("\n"); + sb.append(" requester: ").append(toIndentedString(requester)).append("\n"); + sb.append(" workShift: ").append(toIndentedString(workShift)).append("\n"); + sb.append(" finalizationAttachmentId: ").append(toIndentedString(finalizationAttachmentId)).append("\n"); + sb.append(" startSalaryRange: ").append(toIndentedString(startSalaryRange)).append("\n"); + sb.append(" admissionDate: ").append(toIndentedString(admissionDate)).append("\n"); + sb.append(" workstationGroupId: ").append(toIndentedString(workstationGroupId)).append("\n"); + sb.append(" requesterId: ").append(toIndentedString(requesterId)).append("\n"); + sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); + sb.append(" createdByVacancyManagement: ").append(toIndentedString(createdByVacancyManagement)).append("\n"); + sb.append(" keywordPositionSoughtSession: ").append(toIndentedString(keywordPositionSoughtSession)).append("\n"); + sb.append(" positions: ").append(toIndentedString(positions)).append("\n"); + sb.append(" replacedEmployeeId: ").append(toIndentedString(replacedEmployeeId)).append("\n"); + sb.append(" keywordTrajectorySession: ").append(toIndentedString(keywordTrajectorySession)).append("\n"); + sb.append(" jobPosition: ").append(toIndentedString(jobPosition)).append("\n"); + sb.append(" keywordLanguageSession: ").append(toIndentedString(keywordLanguageSession)).append("\n"); + sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); + sb.append(" sequenceStaffrequisitionVacancyId: ").append(toIndentedString(sequenceStaffrequisitionVacancyId)).append("\n"); + sb.append(" endSalaryRange: ").append(toIndentedString(endSalaryRange)).append("\n"); + sb.append(" jobPositionId: ").append(toIndentedString(jobPositionId)).append("\n"); + sb.append(" sequenceStaffrequisitionVacancy: ").append(toIndentedString(sequenceStaffrequisitionVacancy)).append("\n"); + sb.append(" replacedEmployee: ").append(toIndentedString(replacedEmployee)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" workShiftId: ").append(toIndentedString(workShiftId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisitionStatusDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisitionStatusDto.java new file mode 100644 index 0000000..2cb50a4 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/StaffRequisitionStatusDto.java @@ -0,0 +1,79 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets staffRequisitionStatusDto + */ +@JsonAdapter(StaffRequisitionStatusDto.Adapter.class) +public enum StaffRequisitionStatusDto { + + IN_DEFINITION("IN_DEFINITION"), + + IN_APPROVAL("IN_APPROVAL"), + + APPROVED("APPROVED"), + + REJECTED("REJECTED"), + + CANCELED("CANCELED"); + + private String value; + + StaffRequisitionStatusDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StaffRequisitionStatusDto fromValue(String text) { + for (StaffRequisitionStatusDto b : StaffRequisitionStatusDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StaffRequisitionStatusDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StaffRequisitionStatusDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StaffRequisitionStatusDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/ToneAnalysis.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/ToneAnalysis.java new file mode 100644 index 0000000..5211841 --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/ToneAnalysis.java @@ -0,0 +1,169 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.EmotionTone; +import br.com.senior.hcm.recruitment.pojos.LanguageTone; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelCandidate; +import java.io.IOException; + +/** + * ToneAnalysis + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class ToneAnalysis { + @SerializedName("personalityModelCandidate") + private PersonalityModelCandidate personalityModelCandidate = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("languageTone") + private LanguageTone languageTone = null; + + @SerializedName("emotionTone") + private EmotionTone emotionTone = null; + + public ToneAnalysis personalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + return this; + } + + /** + * Get personalityModelCandidate + * @return personalityModelCandidate + **/ + @ApiModelProperty(value = "") + public PersonalityModelCandidate getPersonalityModelCandidate() { + return personalityModelCandidate; + } + + public void setPersonalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + } + + public ToneAnalysis id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ToneAnalysis languageTone(LanguageTone languageTone) { + this.languageTone = languageTone; + return this; + } + + /** + * Get languageTone + * @return languageTone + **/ + @ApiModelProperty(value = "") + public LanguageTone getLanguageTone() { + return languageTone; + } + + public void setLanguageTone(LanguageTone languageTone) { + this.languageTone = languageTone; + } + + public ToneAnalysis emotionTone(EmotionTone emotionTone) { + this.emotionTone = emotionTone; + return this; + } + + /** + * Get emotionTone + * @return emotionTone + **/ + @ApiModelProperty(value = "") + public EmotionTone getEmotionTone() { + return emotionTone; + } + + public void setEmotionTone(EmotionTone emotionTone) { + this.emotionTone = emotionTone; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ToneAnalysis toneAnalysis = (ToneAnalysis) o; + return Objects.equals(this.personalityModelCandidate, toneAnalysis.personalityModelCandidate) && + Objects.equals(this.id, toneAnalysis.id) && + Objects.equals(this.languageTone, toneAnalysis.languageTone) && + Objects.equals(this.emotionTone, toneAnalysis.emotionTone); + } + + @Override + public int hashCode() { + return Objects.hash(personalityModelCandidate, id, languageTone, emotionTone); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ToneAnalysis {\n"); + + sb.append(" personalityModelCandidate: ").append(toIndentedString(personalityModelCandidate)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" languageTone: ").append(toIndentedString(languageTone)).append("\n"); + sb.append(" emotionTone: ").append(toIndentedString(emotionTone)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Vacancy.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Vacancy.java index 0c70505..98970a1 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/Vacancy.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Vacancy.java @@ -1,8 +1,8 @@ /* - * recruitment + * Recrutamento e Seleção * Serviço do Gestão de Recrutamento e Seleção. * - * OpenAPI spec version: develop-SNAPSHOT + * OpenAPI spec version: 15.10.4 * Contact: seniorx-dev@senior.com.br * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,30 +22,49 @@ import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Chat; +import br.com.senior.hcm.recruitment.pojos.Company; +import br.com.senior.hcm.recruitment.pojos.ContractTypeDto; +import br.com.senior.hcm.recruitment.pojos.CostCenter; +import br.com.senior.hcm.recruitment.pojos.Department; +import br.com.senior.hcm.recruitment.pojos.EmployeeSummary; +import br.com.senior.hcm.recruitment.pojos.EmploymentContractDto; +import br.com.senior.hcm.recruitment.pojos.IntegrationStatusDto; +import br.com.senior.hcm.recruitment.pojos.JobPosition; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelVacancy; +import br.com.senior.hcm.recruitment.pojos.ProcessTypeDto; +import br.com.senior.hcm.recruitment.pojos.SequenceStaffrequisitionVacancy; +import br.com.senior.hcm.recruitment.pojos.StaffRequisition; +import br.com.senior.hcm.recruitment.pojos.VacancyAdmissionSituationDto; +import br.com.senior.hcm.recruitment.pojos.VacancySituationDto; +import br.com.senior.hcm.recruitment.pojos.WorkShift; +import br.com.senior.hcm.recruitment.pojos.WorkstationGroup; import java.io.IOException; import org.threeten.bp.LocalDate; import org.threeten.bp.OffsetDateTime; /** - * Vaga de emprego. + * Vacancy */ -@ApiModel(description = "Vaga de emprego.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-07-24T19:32:03.519Z") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class Vacancy { @SerializedName("reason") - private Object reason = null; + private ProcessTypeDto reason = null; @SerializedName("finalizationComment") private String finalizationComment = null; @SerializedName("workstationGroup") - private Object workstationGroup = null; + private WorkstationGroup workstationGroup = null; @SerializedName("requisition") - private Object requisition = null; + private StaffRequisition requisition = null; @SerializedName("contractType") - private Object contractType = null; + private ContractTypeDto contractType = null; @SerializedName("externalStartDate") private LocalDate externalStartDate = null; @@ -57,7 +76,7 @@ public class Vacancy { private OffsetDateTime createdAt = null; @SerializedName("admissionSituation") - private Object admissionSituation = null; + private VacancyAdmissionSituationDto admissionSituation = null; @SerializedName("id") private String id = null; @@ -66,10 +85,10 @@ public class Vacancy { private String locationURI = null; @SerializedName("requester") - private Object requester = null; + private EmployeeSummary requester = null; @SerializedName("workShift") - private Object workShift = null; + private WorkShift workShift = null; @SerializedName("finalizationAttachmentId") private String finalizationAttachmentId = null; @@ -84,16 +103,16 @@ public class Vacancy { private String requesterId = null; @SerializedName("costCenter") - private Object costCenter = null; + private CostCenter costCenter = null; @SerializedName("pendencyHours") - private Long pendencyHours = null; + private Integer pendencyHours = null; @SerializedName("version") private String version = null; @SerializedName("jobPosition") - private Object jobPosition = null; + private JobPosition jobPosition = null; @SerializedName("companyId") private String companyId = null; @@ -105,13 +124,13 @@ public class Vacancy { private String jobPositionId = null; @SerializedName("sequenceStaffrequisitionVacancy") - private Object sequenceStaffrequisitionVacancy = null; + private SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy = null; @SerializedName("replacedEmployee") - private Object replacedEmployee = null; + private EmployeeSummary replacedEmployee = null; @SerializedName("integrationStatus") - private Object integrationStatus = null; + private IntegrationStatusDto integrationStatus = null; @SerializedName("workShiftId") private String workShiftId = null; @@ -123,10 +142,10 @@ public class Vacancy { private String questionnaire = null; @SerializedName("personalityModel") - private Object personalityModel = null; + private PersonalityModelVacancy personalityModel = null; @SerializedName("employmentContract") - private Object employmentContract = null; + private EmploymentContractDto employmentContract = null; @SerializedName("chatId") private String chatId = null; @@ -159,19 +178,19 @@ public class Vacancy { private Boolean internalPublish = null; @SerializedName("responsible") - private Object responsible = null; + private EmployeeSummary responsible = null; @SerializedName("company") - private Object company = null; + private Company company = null; @SerializedName("justification") private String justification = null; @SerializedName("department") - private Object department = null; + private Department department = null; @SerializedName("situation") - private Object situation = null; + private VacancySituationDto situation = null; @SerializedName("startSalaryRange") private String startSalaryRange = null; @@ -198,7 +217,7 @@ public class Vacancy { private OffsetDateTime finalizedAt = null; @SerializedName("chat") - private Object chat = null; + private Chat chat = null; @SerializedName("progress") private Double progress = null; @@ -206,21 +225,21 @@ public class Vacancy { @SerializedName("location") private String location = null; - public Vacancy reason(Object reason) { + public Vacancy reason(ProcessTypeDto reason) { this.reason = reason; return this; } /** - * Motivo de abertura da vaga. + * Get reason * @return reason **/ - @ApiModelProperty(required = true, value = "Motivo de abertura da vaga.") - public Object getReason() { + @ApiModelProperty(value = "") + public ProcessTypeDto getReason() { return reason; } - public void setReason(Object reason) { + public void setReason(ProcessTypeDto reason) { this.reason = reason; } @@ -242,57 +261,57 @@ public void setFinalizationComment(String finalizationComment) { this.finalizationComment = finalizationComment; } - public Vacancy workstationGroup(Object workstationGroup) { + public Vacancy workstationGroup(WorkstationGroup workstationGroup) { this.workstationGroup = workstationGroup; return this; } /** - * Representa o posto de trabalho. + * Get workstationGroup * @return workstationGroup **/ - @ApiModelProperty(value = "Representa o posto de trabalho.") - public Object getWorkstationGroup() { + @ApiModelProperty(value = "") + public WorkstationGroup getWorkstationGroup() { return workstationGroup; } - public void setWorkstationGroup(Object workstationGroup) { + public void setWorkstationGroup(WorkstationGroup workstationGroup) { this.workstationGroup = workstationGroup; } - public Vacancy requisition(Object requisition) { + public Vacancy requisition(StaffRequisition requisition) { this.requisition = requisition; return this; } /** - * Requisição da vaga. + * Get requisition * @return requisition **/ - @ApiModelProperty(value = "Requisição da vaga.") - public Object getRequisition() { + @ApiModelProperty(value = "") + public StaffRequisition getRequisition() { return requisition; } - public void setRequisition(Object requisition) { + public void setRequisition(StaffRequisition requisition) { this.requisition = requisition; } - public Vacancy contractType(Object contractType) { + public Vacancy contractType(ContractTypeDto contractType) { this.contractType = contractType; return this; } /** - * Tipo de contrato de trabalho. + * Get contractType * @return contractType **/ - @ApiModelProperty(value = "Tipo de contrato de trabalho.") - public Object getContractType() { + @ApiModelProperty(value = "") + public ContractTypeDto getContractType() { return contractType; } - public void setContractType(Object contractType) { + public void setContractType(ContractTypeDto contractType) { this.contractType = contractType; } @@ -350,21 +369,21 @@ public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - public Vacancy admissionSituation(Object admissionSituation) { + public Vacancy admissionSituation(VacancyAdmissionSituationDto admissionSituation) { this.admissionSituation = admissionSituation; return this; } /** - * Situação da admissão do candidato escolhido para a vaga. + * Get admissionSituation * @return admissionSituation **/ - @ApiModelProperty(value = "Situação da admissão do candidato escolhido para a vaga.") - public Object getAdmissionSituation() { + @ApiModelProperty(value = "") + public VacancyAdmissionSituationDto getAdmissionSituation() { return admissionSituation; } - public void setAdmissionSituation(Object admissionSituation) { + public void setAdmissionSituation(VacancyAdmissionSituationDto admissionSituation) { this.admissionSituation = admissionSituation; } @@ -404,39 +423,39 @@ public void setLocationURI(String locationURI) { this.locationURI = locationURI; } - public Vacancy requester(Object requester) { + public Vacancy requester(EmployeeSummary requester) { this.requester = requester; return this; } /** - * Solicitante da vaga. + * Get requester * @return requester **/ - @ApiModelProperty(value = "Solicitante da vaga.") - public Object getRequester() { + @ApiModelProperty(value = "") + public EmployeeSummary getRequester() { return requester; } - public void setRequester(Object requester) { + public void setRequester(EmployeeSummary requester) { this.requester = requester; } - public Vacancy workShift(Object workShift) { + public Vacancy workShift(WorkShift workShift) { this.workShift = workShift; return this; } /** - * Turno de trabalho + * Get workShift * @return workShift **/ - @ApiModelProperty(value = "Turno de trabalho") - public Object getWorkShift() { + @ApiModelProperty(value = "") + public WorkShift getWorkShift() { return workShift; } - public void setWorkShift(Object workShift) { + public void setWorkShift(WorkShift workShift) { this.workShift = workShift; } @@ -512,25 +531,25 @@ public void setRequesterId(String requesterId) { this.requesterId = requesterId; } - public Vacancy costCenter(Object costCenter) { + public Vacancy costCenter(CostCenter costCenter) { this.costCenter = costCenter; return this; } /** - * Centro de custo + * Get costCenter * @return costCenter **/ - @ApiModelProperty(value = "Centro de custo") - public Object getCostCenter() { + @ApiModelProperty(value = "") + public CostCenter getCostCenter() { return costCenter; } - public void setCostCenter(Object costCenter) { + public void setCostCenter(CostCenter costCenter) { this.costCenter = costCenter; } - public Vacancy pendencyHours(Long pendencyHours) { + public Vacancy pendencyHours(Integer pendencyHours) { this.pendencyHours = pendencyHours; return this; } @@ -540,11 +559,11 @@ public Vacancy pendencyHours(Long pendencyHours) { * @return pendencyHours **/ @ApiModelProperty(value = "Quantidade de horas que a vaga ficou pendente com o solicitante.") - public Long getPendencyHours() { + public Integer getPendencyHours() { return pendencyHours; } - public void setPendencyHours(Long pendencyHours) { + public void setPendencyHours(Integer pendencyHours) { this.pendencyHours = pendencyHours; } @@ -566,21 +585,21 @@ public void setVersion(String version) { this.version = version; } - public Vacancy jobPosition(Object jobPosition) { + public Vacancy jobPosition(JobPosition jobPosition) { this.jobPosition = jobPosition; return this; } /** - * Cargo da vaga. + * Get jobPosition * @return jobPosition **/ - @ApiModelProperty(value = "Cargo da vaga.") - public Object getJobPosition() { + @ApiModelProperty(value = "") + public JobPosition getJobPosition() { return jobPosition; } - public void setJobPosition(Object jobPosition) { + public void setJobPosition(JobPosition jobPosition) { this.jobPosition = jobPosition; } @@ -638,57 +657,57 @@ public void setJobPositionId(String jobPositionId) { this.jobPositionId = jobPositionId; } - public Vacancy sequenceStaffrequisitionVacancy(Object sequenceStaffrequisitionVacancy) { + public Vacancy sequenceStaffrequisitionVacancy(SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy) { this.sequenceStaffrequisitionVacancy = sequenceStaffrequisitionVacancy; return this; } /** - * Responsável por armazenar uma sequência única da RP na vaga. + * Get sequenceStaffrequisitionVacancy * @return sequenceStaffrequisitionVacancy **/ - @ApiModelProperty(value = "Responsável por armazenar uma sequência única da RP na vaga.") - public Object getSequenceStaffrequisitionVacancy() { + @ApiModelProperty(value = "") + public SequenceStaffrequisitionVacancy getSequenceStaffrequisitionVacancy() { return sequenceStaffrequisitionVacancy; } - public void setSequenceStaffrequisitionVacancy(Object sequenceStaffrequisitionVacancy) { + public void setSequenceStaffrequisitionVacancy(SequenceStaffrequisitionVacancy sequenceStaffrequisitionVacancy) { this.sequenceStaffrequisitionVacancy = sequenceStaffrequisitionVacancy; } - public Vacancy replacedEmployee(Object replacedEmployee) { + public Vacancy replacedEmployee(EmployeeSummary replacedEmployee) { this.replacedEmployee = replacedEmployee; return this; } /** - * Colaborador que será substituido (Se for o caso). + * Get replacedEmployee * @return replacedEmployee **/ - @ApiModelProperty(value = "Colaborador que será substituido (Se for o caso).") - public Object getReplacedEmployee() { + @ApiModelProperty(value = "") + public EmployeeSummary getReplacedEmployee() { return replacedEmployee; } - public void setReplacedEmployee(Object replacedEmployee) { + public void setReplacedEmployee(EmployeeSummary replacedEmployee) { this.replacedEmployee = replacedEmployee; } - public Vacancy integrationStatus(Object integrationStatus) { + public Vacancy integrationStatus(IntegrationStatusDto integrationStatus) { this.integrationStatus = integrationStatus; return this; } /** - * Status da efetivação. + * Get integrationStatus * @return integrationStatus **/ - @ApiModelProperty(value = "Status da efetivação.") - public Object getIntegrationStatus() { + @ApiModelProperty(value = "") + public IntegrationStatusDto getIntegrationStatus() { return integrationStatus; } - public void setIntegrationStatus(Object integrationStatus) { + public void setIntegrationStatus(IntegrationStatusDto integrationStatus) { this.integrationStatus = integrationStatus; } @@ -746,39 +765,39 @@ public void setQuestionnaire(String questionnaire) { this.questionnaire = questionnaire; } - public Vacancy personalityModel(Object personalityModel) { + public Vacancy personalityModel(PersonalityModelVacancy personalityModel) { this.personalityModel = personalityModel; return this; } /** - * Modelo de personalidade desejado para a vaga. + * Get personalityModel * @return personalityModel **/ - @ApiModelProperty(value = "Modelo de personalidade desejado para a vaga.") - public Object getPersonalityModel() { + @ApiModelProperty(value = "") + public PersonalityModelVacancy getPersonalityModel() { return personalityModel; } - public void setPersonalityModel(Object personalityModel) { + public void setPersonalityModel(PersonalityModelVacancy personalityModel) { this.personalityModel = personalityModel; } - public Vacancy employmentContract(Object employmentContract) { + public Vacancy employmentContract(EmploymentContractDto employmentContract) { this.employmentContract = employmentContract; return this; } /** - * Tipo de vínculo empregatício da vaga. + * Get employmentContract * @return employmentContract **/ - @ApiModelProperty(value = "Tipo de vínculo empregatício da vaga.") - public Object getEmploymentContract() { + @ApiModelProperty(value = "") + public EmploymentContractDto getEmploymentContract() { return employmentContract; } - public void setEmploymentContract(Object employmentContract) { + public void setEmploymentContract(EmploymentContractDto employmentContract) { this.employmentContract = employmentContract; } @@ -827,7 +846,7 @@ public Vacancy description(String description) { * Descrição da vaga. * @return description **/ - @ApiModelProperty(required = true, value = "Descrição da vaga.") + @ApiModelProperty(value = "Descrição da vaga.") public String getDescription() { return description; } @@ -845,7 +864,7 @@ public Vacancy title(String title) { * Título da vaga. * @return title **/ - @ApiModelProperty(required = true, value = "Título da vaga.") + @ApiModelProperty(value = "Título da vaga.") public String getTitle() { return title; } @@ -962,39 +981,39 @@ public void setInternalPublish(Boolean internalPublish) { this.internalPublish = internalPublish; } - public Vacancy responsible(Object responsible) { + public Vacancy responsible(EmployeeSummary responsible) { this.responsible = responsible; return this; } /** - * Analista de RH responsável pela vaga. + * Get responsible * @return responsible **/ - @ApiModelProperty(value = "Analista de RH responsável pela vaga.") - public Object getResponsible() { + @ApiModelProperty(value = "") + public EmployeeSummary getResponsible() { return responsible; } - public void setResponsible(Object responsible) { + public void setResponsible(EmployeeSummary responsible) { this.responsible = responsible; } - public Vacancy company(Object company) { + public Vacancy company(Company company) { this.company = company; return this; } /** - * Empresa + * Get company * @return company **/ - @ApiModelProperty(value = "Empresa") - public Object getCompany() { + @ApiModelProperty(value = "") + public Company getCompany() { return company; } - public void setCompany(Object company) { + public void setCompany(Company company) { this.company = company; } @@ -1007,7 +1026,7 @@ public Vacancy justification(String justification) { * Justificativa para a abertura da vaga. * @return justification **/ - @ApiModelProperty(required = true, value = "Justificativa para a abertura da vaga.") + @ApiModelProperty(value = "Justificativa para a abertura da vaga.") public String getJustification() { return justification; } @@ -1016,39 +1035,39 @@ public void setJustification(String justification) { this.justification = justification; } - public Vacancy department(Object department) { + public Vacancy department(Department department) { this.department = department; return this; } /** - * Departamento + * Get department * @return department **/ - @ApiModelProperty(value = "Departamento") - public Object getDepartment() { + @ApiModelProperty(value = "") + public Department getDepartment() { return department; } - public void setDepartment(Object department) { + public void setDepartment(Department department) { this.department = department; } - public Vacancy situation(Object situation) { + public Vacancy situation(VacancySituationDto situation) { this.situation = situation; return this; } /** - * Situação atual da vaga. + * Get situation * @return situation **/ - @ApiModelProperty(value = "Situação atual da vaga.") - public Object getSituation() { + @ApiModelProperty(value = "") + public VacancySituationDto getSituation() { return situation; } - public void setSituation(Object situation) { + public void setSituation(VacancySituationDto situation) { this.situation = situation; } @@ -1196,21 +1215,21 @@ public void setFinalizedAt(OffsetDateTime finalizedAt) { this.finalizedAt = finalizedAt; } - public Vacancy chat(Object chat) { + public Vacancy chat(Chat chat) { this.chat = chat; return this; } /** - * Chat da vaga. + * Get chat * @return chat **/ - @ApiModelProperty(value = "Chat da vaga.") - public Object getChat() { + @ApiModelProperty(value = "") + public Chat getChat() { return chat; } - public void setChat(Object chat) { + public void setChat(Chat chat) { this.chat = chat; } diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancyAdmissionSituationDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancyAdmissionSituationDto.java new file mode 100644 index 0000000..7a2610a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancyAdmissionSituationDto.java @@ -0,0 +1,73 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets vacancyAdmissionSituationDto + */ +@JsonAdapter(VacancyAdmissionSituationDto.Adapter.class) +public enum VacancyAdmissionSituationDto { + + PENDING("PENDING"), + + CONCLUDED("CONCLUDED"); + + private String value; + + VacancyAdmissionSituationDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static VacancyAdmissionSituationDto fromValue(String text) { + for (VacancyAdmissionSituationDto b : VacancyAdmissionSituationDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final VacancyAdmissionSituationDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public VacancyAdmissionSituationDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return VacancyAdmissionSituationDto.fromValue(String.valueOf(value)); + } + } +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancySituationDto.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancySituationDto.java index 1ef1b32..833de0e 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancySituationDto.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/VacancySituationDto.java @@ -1,21 +1,75 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + /** - * Situação da vaga + * Gets or Sets vacancySituationDto */ +@JsonAdapter(VacancySituationDto.Adapter.class) public enum VacancySituationDto { - /** - * Em andamento - */ - IN_PROGRESS, - - /** - * Encerrado - */ - CLOSED, - - /** - * Cancelado - */ - CANCELED + + IN_PROGRESS("IN_PROGRESS"), + + CLOSED("CLOSED"), + + CANCELED("CANCELED"); + + private String value; + + VacancySituationDto(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static VacancySituationDto fromValue(String text) { + for (VacancySituationDto b : VacancySituationDto.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final VacancySituationDto enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public VacancySituationDto read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return VacancySituationDto.fromValue(String.valueOf(value)); + } + } } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/Values.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/Values.java new file mode 100644 index 0000000..14eb37a --- /dev/null +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/Values.java @@ -0,0 +1,236 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.PersonalityModelCandidate; +import java.io.IOException; + +/** + * Values + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + +public class Values { + @SerializedName("selfEnhancement") + private Double selfEnhancement = null; + + @SerializedName("conservation") + private Double conservation = null; + + @SerializedName("opennessToChange") + private Double opennessToChange = null; + + @SerializedName("personalityModelCandidate") + private PersonalityModelCandidate personalityModelCandidate = null; + + @SerializedName("selfTranscendence") + private Double selfTranscendence = null; + + @SerializedName("hedonism") + private Double hedonism = null; + + @SerializedName("id") + private String id = null; + + public Values selfEnhancement(Double selfEnhancement) { + this.selfEnhancement = selfEnhancement; + return this; + } + + /** + * Auto-crescimento. + * @return selfEnhancement + **/ + @ApiModelProperty(value = "Auto-crescimento.") + public Double getSelfEnhancement() { + return selfEnhancement; + } + + public void setSelfEnhancement(Double selfEnhancement) { + this.selfEnhancement = selfEnhancement; + } + + public Values conservation(Double conservation) { + this.conservation = conservation; + return this; + } + + /** + * Conservação. + * @return conservation + **/ + @ApiModelProperty(value = "Conservação.") + public Double getConservation() { + return conservation; + } + + public void setConservation(Double conservation) { + this.conservation = conservation; + } + + public Values opennessToChange(Double opennessToChange) { + this.opennessToChange = opennessToChange; + return this; + } + + /** + * Abertura à mudança. + * @return opennessToChange + **/ + @ApiModelProperty(value = "Abertura à mudança.") + public Double getOpennessToChange() { + return opennessToChange; + } + + public void setOpennessToChange(Double opennessToChange) { + this.opennessToChange = opennessToChange; + } + + public Values personalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + return this; + } + + /** + * Get personalityModelCandidate + * @return personalityModelCandidate + **/ + @ApiModelProperty(value = "") + public PersonalityModelCandidate getPersonalityModelCandidate() { + return personalityModelCandidate; + } + + public void setPersonalityModelCandidate(PersonalityModelCandidate personalityModelCandidate) { + this.personalityModelCandidate = personalityModelCandidate; + } + + public Values selfTranscendence(Double selfTranscendence) { + this.selfTranscendence = selfTranscendence; + return this; + } + + /** + * Auto-transcendência. + * @return selfTranscendence + **/ + @ApiModelProperty(value = "Auto-transcendência.") + public Double getSelfTranscendence() { + return selfTranscendence; + } + + public void setSelfTranscendence(Double selfTranscendence) { + this.selfTranscendence = selfTranscendence; + } + + public Values hedonism(Double hedonism) { + this.hedonism = hedonism; + return this; + } + + /** + * Hedonismo. + * @return hedonism + **/ + @ApiModelProperty(value = "Hedonismo.") + public Double getHedonism() { + return hedonism; + } + + public void setHedonism(Double hedonism) { + this.hedonism = hedonism; + } + + public Values id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único da entidade. + * @return id + **/ + @ApiModelProperty(value = "Identificador único da entidade.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Values values = (Values) o; + return Objects.equals(this.selfEnhancement, values.selfEnhancement) && + Objects.equals(this.conservation, values.conservation) && + Objects.equals(this.opennessToChange, values.opennessToChange) && + Objects.equals(this.personalityModelCandidate, values.personalityModelCandidate) && + Objects.equals(this.selfTranscendence, values.selfTranscendence) && + Objects.equals(this.hedonism, values.hedonism) && + Objects.equals(this.id, values.id); + } + + @Override + public int hashCode() { + return Objects.hash(selfEnhancement, conservation, opennessToChange, personalityModelCandidate, selfTranscendence, hedonism, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Values {\n"); + + sb.append(" selfEnhancement: ").append(toIndentedString(selfEnhancement)).append("\n"); + sb.append(" conservation: ").append(toIndentedString(conservation)).append("\n"); + sb.append(" opennessToChange: ").append(toIndentedString(opennessToChange)).append("\n"); + sb.append(" personalityModelCandidate: ").append(toIndentedString(personalityModelCandidate)).append("\n"); + sb.append(" selfTranscendence: ").append(toIndentedString(selfTranscendence)).append("\n"); + sb.append(" hedonism: ").append(toIndentedString(hedonism)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkShift.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkShift.java index 5a1e7f0..512ec2e 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkShift.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkShift.java @@ -1,24 +1,167 @@ +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + package br.com.senior.hcm.recruitment.pojos; -import lombok.Data; +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.ShiftDto; +import java.io.IOException; + +/** + * WorkShift + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + -@Data public class WorkShift { - /** - * Identificador do turno de trabalho - */ - String id; - /** - * Código do turno de trabalho - */ - int code; - /** - * Descrição do turno - */ - String description; - - /** - * Turno - */ - ShiftDto shift; + @SerializedName("code") + private Integer code = null; + + @SerializedName("shift") + private ShiftDto shift = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("id") + private String id = null; + + public WorkShift code(Integer code) { + this.code = code; + return this; + } + + /** + * Código do turno de trabalho. + * @return code + **/ + @ApiModelProperty(value = "Código do turno de trabalho.") + public Integer getCode() { + return code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public WorkShift shift(ShiftDto shift) { + this.shift = shift; + return this; + } + + /** + * Get shift + * @return shift + **/ + @ApiModelProperty(value = "") + public ShiftDto getShift() { + return shift; + } + + public void setShift(ShiftDto shift) { + this.shift = shift; + } + + public WorkShift description(String description) { + this.description = description; + return this; + } + + /** + * Descrição do turno. + * @return description + **/ + @ApiModelProperty(value = "Descrição do turno.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public WorkShift id(String id) { + this.id = id; + return this; + } + + /** + * Identificador do turno de trabalho. + * @return id + **/ + @ApiModelProperty(value = "Identificador do turno de trabalho.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WorkShift workShift = (WorkShift) o; + return Objects.equals(this.code, workShift.code) && + Objects.equals(this.shift, workShift.shift) && + Objects.equals(this.description, workShift.description) && + Objects.equals(this.id, workShift.id); + } + + @Override + public int hashCode() { + return Objects.hash(code, shift, description, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WorkShift {\n"); + + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" shift: ").append(toIndentedString(shift)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + diff --git a/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkstationGroup.java b/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkstationGroup.java index 61d79fa..7a546e3 100644 --- a/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkstationGroup.java +++ b/src/main/java/br/com/senior/hcm/recruitment/pojos/WorkstationGroup.java @@ -1,56 +1,341 @@ -package br.com.senior.hcm.recruitment.pojos; +/* + * Recrutamento e Seleção + * Serviço do Gestão de Recrutamento e Seleção. + * + * OpenAPI spec version: 15.10.4 + * Contact: seniorx-dev@senior.com.br + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ -import lombok.Data; +package br.com.senior.hcm.recruitment.pojos; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import br.com.senior.hcm.recruitment.pojos.Company; +import br.com.senior.hcm.recruitment.pojos.CostCenter; +import br.com.senior.hcm.recruitment.pojos.Department; +import br.com.senior.hcm.recruitment.pojos.JobPosition; +import java.io.IOException; +import java.util.ArrayList; import java.util.List; /** - * Entidade que representa o posto de trabalho + * WorkstationGroup */ -@Data +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-08-14T11:43:22.583Z") + + + public class WorkstationGroup { - /** - * Identificador único que representa o posto de trabalho - */ - String id; - /** - * Nome do grupo de postos de trabalho - */ - String name; - /** - * Identificador da matriz do posto de trabalho - */ - String headOfficeId; - /** - * Identificador da filial do posto de trabalho - */ - String branchOfficeId; - /** - * Centro de custo que compõe o grupo de posto de trabalho - */ - String costCenterId; - /** - * Identificador do departamento a qual o grupo de postos de trabalho está associado - */ - String departamentId; - /** - * Objeto que representa o departamento - */ - Department department; - /** - * Objeto que representa a filial - */ - Company branchOffice; - /** - * Objeto que representa o centro de custo - */ - CostCenter costCenter; - /** - * Lista de postos de trabalho - */ - List jobPositions; - /** - * Código do posto - */ - String code; + @SerializedName("branchOffice") + private Company branchOffice = null; + + @SerializedName("code") + private String code = null; + + @SerializedName("costCenterId") + private String costCenterId = null; + + @SerializedName("headOfficeId") + private String headOfficeId = null; + + @SerializedName("costCenter") + private CostCenter costCenter = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("jobPositions") + private List jobPositions = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("branchOfficeId") + private String branchOfficeId = null; + + @SerializedName("department") + private Department department = null; + + @SerializedName("departamentId") + private String departamentId = null; + + public WorkstationGroup branchOffice(Company branchOffice) { + this.branchOffice = branchOffice; + return this; + } + + /** + * Get branchOffice + * @return branchOffice + **/ + @ApiModelProperty(value = "") + public Company getBranchOffice() { + return branchOffice; + } + + public void setBranchOffice(Company branchOffice) { + this.branchOffice = branchOffice; + } + + public WorkstationGroup code(String code) { + this.code = code; + return this; + } + + /** + * Código do posto. + * @return code + **/ + @ApiModelProperty(value = "Código do posto.") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public WorkstationGroup costCenterId(String costCenterId) { + this.costCenterId = costCenterId; + return this; + } + + /** + * Centro de custo que compõe o grupo de posto de trabalho. + * @return costCenterId + **/ + @ApiModelProperty(value = "Centro de custo que compõe o grupo de posto de trabalho.") + public String getCostCenterId() { + return costCenterId; + } + + public void setCostCenterId(String costCenterId) { + this.costCenterId = costCenterId; + } + + public WorkstationGroup headOfficeId(String headOfficeId) { + this.headOfficeId = headOfficeId; + return this; + } + + /** + * Identificador da matriz do posto de trabalho. + * @return headOfficeId + **/ + @ApiModelProperty(value = "Identificador da matriz do posto de trabalho.") + public String getHeadOfficeId() { + return headOfficeId; + } + + public void setHeadOfficeId(String headOfficeId) { + this.headOfficeId = headOfficeId; + } + + public WorkstationGroup costCenter(CostCenter costCenter) { + this.costCenter = costCenter; + return this; + } + + /** + * Get costCenter + * @return costCenter + **/ + @ApiModelProperty(value = "") + public CostCenter getCostCenter() { + return costCenter; + } + + public void setCostCenter(CostCenter costCenter) { + this.costCenter = costCenter; + } + + public WorkstationGroup name(String name) { + this.name = name; + return this; + } + + /** + * Nome do grupo de postos de trabalho. + * @return name + **/ + @ApiModelProperty(value = "Nome do grupo de postos de trabalho.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public WorkstationGroup jobPositions(List jobPositions) { + this.jobPositions = jobPositions; + return this; + } + + public WorkstationGroup addJobPositionsItem(JobPosition jobPositionsItem) { + if (this.jobPositions == null) { + this.jobPositions = new ArrayList(); + } + this.jobPositions.add(jobPositionsItem); + return this; + } + + /** + * Lista de postos de trabalho. + * @return jobPositions + **/ + @ApiModelProperty(value = "Lista de postos de trabalho.") + public List getJobPositions() { + return jobPositions; + } + + public void setJobPositions(List jobPositions) { + this.jobPositions = jobPositions; + } + + public WorkstationGroup id(String id) { + this.id = id; + return this; + } + + /** + * Identificador único que representa o posto de trabalho. + * @return id + **/ + @ApiModelProperty(value = "Identificador único que representa o posto de trabalho.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public WorkstationGroup branchOfficeId(String branchOfficeId) { + this.branchOfficeId = branchOfficeId; + return this; + } + + /** + * Identificador da filial do posto de trabalho. + * @return branchOfficeId + **/ + @ApiModelProperty(value = "Identificador da filial do posto de trabalho.") + public String getBranchOfficeId() { + return branchOfficeId; + } + + public void setBranchOfficeId(String branchOfficeId) { + this.branchOfficeId = branchOfficeId; + } + + public WorkstationGroup department(Department department) { + this.department = department; + return this; + } + + /** + * Get department + * @return department + **/ + @ApiModelProperty(value = "") + public Department getDepartment() { + return department; + } + + public void setDepartment(Department department) { + this.department = department; + } + + public WorkstationGroup departamentId(String departamentId) { + this.departamentId = departamentId; + return this; + } + + /** + * Identificador do departamento a qual o grupo de postos de trabalho está associado. + * @return departamentId + **/ + @ApiModelProperty(value = "Identificador do departamento a qual o grupo de postos de trabalho está associado.") + public String getDepartamentId() { + return departamentId; + } + + public void setDepartamentId(String departamentId) { + this.departamentId = departamentId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WorkstationGroup workstationGroup = (WorkstationGroup) o; + return Objects.equals(this.branchOffice, workstationGroup.branchOffice) && + Objects.equals(this.code, workstationGroup.code) && + Objects.equals(this.costCenterId, workstationGroup.costCenterId) && + Objects.equals(this.headOfficeId, workstationGroup.headOfficeId) && + Objects.equals(this.costCenter, workstationGroup.costCenter) && + Objects.equals(this.name, workstationGroup.name) && + Objects.equals(this.jobPositions, workstationGroup.jobPositions) && + Objects.equals(this.id, workstationGroup.id) && + Objects.equals(this.branchOfficeId, workstationGroup.branchOfficeId) && + Objects.equals(this.department, workstationGroup.department) && + Objects.equals(this.departamentId, workstationGroup.departamentId); + } + + @Override + public int hashCode() { + return Objects.hash(branchOffice, code, costCenterId, headOfficeId, costCenter, name, jobPositions, id, branchOfficeId, department, departamentId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WorkstationGroup {\n"); + + sb.append(" branchOffice: ").append(toIndentedString(branchOffice)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" costCenterId: ").append(toIndentedString(costCenterId)).append("\n"); + sb.append(" headOfficeId: ").append(toIndentedString(headOfficeId)).append("\n"); + sb.append(" costCenter: ").append(toIndentedString(costCenter)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" jobPositions: ").append(toIndentedString(jobPositions)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" branchOfficeId: ").append(toIndentedString(branchOfficeId)).append("\n"); + sb.append(" department: ").append(toIndentedString(department)).append("\n"); + sb.append(" departamentId: ").append(toIndentedString(departamentId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } +