RessursSearchDto.java

  1. package no.nav.nom.graphql.model;

  2. import java.util.StringJoiner;

  3. @javax.annotation.processing.Generated(
  4.     value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
  5.     date = "2025-01-10T14:34:08+0000"
  6. )
  7. public class RessursSearchDto implements java.io.Serializable {

  8.     private static final long serialVersionUID = 1L;

  9.     @Deprecated
  10.     private String navIdent;
  11.     private String navident;
  12.     private String telefonNummer;
  13.     @Deprecated
  14.     private String personIdent;
  15.     private String personident;

  16.     public RessursSearchDto() {
  17.     }

  18.     public RessursSearchDto(String navIdent, String navident, String telefonNummer, String personIdent, String personident) {
  19.         this.navIdent = navIdent;
  20.         this.navident = navident;
  21.         this.telefonNummer = telefonNummer;
  22.         this.personIdent = personIdent;
  23.         this.personident = personident;
  24.     }

  25.     @Deprecated
  26.     public String getNavIdent() {
  27.         return navIdent;
  28.     }
  29.     @Deprecated
  30.     public void setNavIdent(String navIdent) {
  31.         this.navIdent = navIdent;
  32.     }

  33.     public String getNavident() {
  34.         return navident;
  35.     }
  36.     public void setNavident(String navident) {
  37.         this.navident = navident;
  38.     }

  39.     public String getTelefonNummer() {
  40.         return telefonNummer;
  41.     }
  42.     public void setTelefonNummer(String telefonNummer) {
  43.         this.telefonNummer = telefonNummer;
  44.     }

  45.     @Deprecated
  46.     public String getPersonIdent() {
  47.         return personIdent;
  48.     }
  49.     @Deprecated
  50.     public void setPersonIdent(String personIdent) {
  51.         this.personIdent = personIdent;
  52.     }

  53.     public String getPersonident() {
  54.         return personident;
  55.     }
  56.     public void setPersonident(String personident) {
  57.         this.personident = personident;
  58.     }


  59.     @Override
  60.     public String toString() {
  61.         StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
  62.         if (navIdent != null) {
  63.             joiner.add("navIdent: \"" + navIdent + "\"");
  64.         }
  65.         if (navident != null) {
  66.             joiner.add("navident: \"" + navident + "\"");
  67.         }
  68.         if (telefonNummer != null) {
  69.             joiner.add("telefonNummer: \"" + telefonNummer + "\"");
  70.         }
  71.         if (personIdent != null) {
  72.             joiner.add("personIdent: \"" + personIdent + "\"");
  73.         }
  74.         if (personident != null) {
  75.             joiner.add("personident: \"" + personident + "\"");
  76.         }
  77.         return joiner.toString();
  78.     }

  79.     public static RessursSearchDto.Builder builder() {
  80.         return new RessursSearchDto.Builder();
  81.     }

  82.     @javax.annotation.processing.Generated(
  83.         value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
  84.         date = "2025-01-10T14:34:08+0000"
  85.     )
  86.     public static class Builder {

  87.         private String navIdent;
  88.         private String navident;
  89.         private String telefonNummer;
  90.         private String personIdent;
  91.         private String personident;

  92.         public Builder() {
  93.         }

  94.         @Deprecated
  95.         public Builder setNavIdent(String navIdent) {
  96.             this.navIdent = navIdent;
  97.             return this;
  98.         }

  99.         public Builder setNavident(String navident) {
  100.             this.navident = navident;
  101.             return this;
  102.         }

  103.         public Builder setTelefonNummer(String telefonNummer) {
  104.             this.telefonNummer = telefonNummer;
  105.             return this;
  106.         }

  107.         @Deprecated
  108.         public Builder setPersonIdent(String personIdent) {
  109.             this.personIdent = personIdent;
  110.             return this;
  111.         }

  112.         public Builder setPersonident(String personident) {
  113.             this.personident = personident;
  114.             return this;
  115.         }


  116.         public RessursSearchDto build() {
  117.             return new RessursSearchDto(navIdent, navident, telefonNummer, personIdent, personident);
  118.         }

  119.     }
  120. }