RessursSearchDto.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 RessursSearchDto implements java.io.Serializable {
- private static final long serialVersionUID = 1L;
- @Deprecated
- private String navIdent;
- private String navident;
- private String telefonNummer;
- @Deprecated
- private String personIdent;
- private String personident;
- public RessursSearchDto() {
- }
- public RessursSearchDto(String navIdent, String navident, String telefonNummer, String personIdent, String personident) {
- this.navIdent = navIdent;
- this.navident = navident;
- this.telefonNummer = telefonNummer;
- this.personIdent = 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;
- }
- public String getTelefonNummer() {
- return telefonNummer;
- }
- public void setTelefonNummer(String telefonNummer) {
- this.telefonNummer = telefonNummer;
- }
- @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;
- }
- @Override
- public String toString() {
- StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
- if (navIdent != null) {
- joiner.add("navIdent: \"" + navIdent + "\"");
- }
- if (navident != null) {
- joiner.add("navident: \"" + navident + "\"");
- }
- if (telefonNummer != null) {
- joiner.add("telefonNummer: \"" + telefonNummer + "\"");
- }
- if (personIdent != null) {
- joiner.add("personIdent: \"" + personIdent + "\"");
- }
- if (personident != null) {
- joiner.add("personident: \"" + personident + "\"");
- }
- return joiner.toString();
- }
- public static RessursSearchDto.Builder builder() {
- return new RessursSearchDto.Builder();
- }
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public static class Builder {
- private String navIdent;
- private String navident;
- private String telefonNummer;
- private String personIdent;
- private String personident;
- public Builder() {
- }
- @Deprecated
- public Builder setNavIdent(String navIdent) {
- this.navIdent = navIdent;
- return this;
- }
- public Builder setNavident(String navident) {
- this.navident = navident;
- return this;
- }
- public Builder setTelefonNummer(String telefonNummer) {
- this.telefonNummer = telefonNummer;
- return this;
- }
- @Deprecated
- public Builder setPersonIdent(String personIdent) {
- this.personIdent = personIdent;
- return this;
- }
- public Builder setPersonident(String personident) {
- this.personident = personident;
- return this;
- }
- public RessursSearchDto build() {
- return new RessursSearchDto(navIdent, navident, telefonNummer, personIdent, personident);
- }
- }
- }