PersonResultDto.java
- package no.nav.nom.graphql.model;
- import java.util.StringJoiner;
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public class PersonResultDto implements java.io.Serializable {
- private static final long serialVersionUID = 1L;
- @Deprecated
- @jakarta.validation.constraints.NotNull
- private String personIdent;
- @jakarta.validation.constraints.NotNull
- private String personident;
- @Deprecated
- private String navIdent;
- private String navident;
- @Deprecated
- private FolkeregisterPersonDto person;
- private FolkeregisterPersonDto folkeregisterPerson;
- public PersonResultDto() {
- }
- public PersonResultDto(String personIdent, String personident, String navIdent, String navident, FolkeregisterPersonDto person, FolkeregisterPersonDto folkeregisterPerson) {
- this.personIdent = personIdent;
- this.personident = personident;
- this.navIdent = navIdent;
- this.navident = navident;
- this.person = person;
- this.folkeregisterPerson = folkeregisterPerson;
- }
- @Deprecated
- public String getPersonIdent() {
- return personIdent;
- }
- @Deprecated
- public void setPersonIdent(String personIdent) {
- this.personIdent = personIdent;
- }
- public String getPersonident() {
- return personident;
- }
- public void setPersonident(String personident) {
- this.personident = personident;
- }
- @Deprecated
- public String getNavIdent() {
- return navIdent;
- }
- @Deprecated
- public void setNavIdent(String navIdent) {
- this.navIdent = navIdent;
- }
- public String getNavident() {
- return navident;
- }
- public void setNavident(String navident) {
- this.navident = navident;
- }
- @Deprecated
- public FolkeregisterPersonDto getPerson() {
- return person;
- }
- @Deprecated
- public void setPerson(FolkeregisterPersonDto person) {
- this.person = person;
- }
- public FolkeregisterPersonDto getFolkeregisterPerson() {
- return folkeregisterPerson;
- }
- public void setFolkeregisterPerson(FolkeregisterPersonDto folkeregisterPerson) {
- this.folkeregisterPerson = folkeregisterPerson;
- }
- @Override
- public String toString() {
- StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
- if (personIdent != null) {
- joiner.add("personIdent: \"" + personIdent + "\"");
- }
- if (personident != null) {
- joiner.add("personident: \"" + personident + "\"");
- }
- if (navIdent != null) {
- joiner.add("navIdent: \"" + navIdent + "\"");
- }
- if (navident != null) {
- joiner.add("navident: \"" + navident + "\"");
- }
- if (person != null) {
- joiner.add("person: " + person);
- }
- if (folkeregisterPerson != null) {
- joiner.add("folkeregisterPerson: " + folkeregisterPerson);
- }
- return joiner.toString();
- }
- public static PersonResultDto.Builder builder() {
- return new PersonResultDto.Builder();
- }
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public static class Builder {
- private String personIdent;
- private String personident;
- private String navIdent;
- private String navident;
- private FolkeregisterPersonDto person;
- private FolkeregisterPersonDto folkeregisterPerson;
- public Builder() {
- }
- @Deprecated
- public Builder setPersonIdent(String personIdent) {
- this.personIdent = personIdent;
- return this;
- }
- public Builder setPersonident(String personident) {
- this.personident = personident;
- return this;
- }
- @Deprecated
- public Builder setNavIdent(String navIdent) {
- this.navIdent = navIdent;
- return this;
- }
- public Builder setNavident(String navident) {
- this.navident = navident;
- return this;
- }
- @Deprecated
- public Builder setPerson(FolkeregisterPersonDto person) {
- this.person = person;
- return this;
- }
- public Builder setFolkeregisterPerson(FolkeregisterPersonDto folkeregisterPerson) {
- this.folkeregisterPerson = folkeregisterPerson;
- return this;
- }
- public PersonResultDto build() {
- return new PersonResultDto(personIdent, personident, navIdent, navident, person, folkeregisterPerson);
- }
- }
- }