RessurserSearchDto.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 RessurserSearchDto implements java.io.Serializable {

  8.     private static final long serialVersionUID = 1L;

  9.     @Deprecated
  10.     private java.util.List<String> navIdenter;
  11.     private java.util.List<String> navidenter;
  12.     @Deprecated
  13.     private java.util.List<String> personIdenter;
  14.     private java.util.List<String> personidenter;

  15.     public RessurserSearchDto() {
  16.     }

  17.     public RessurserSearchDto(java.util.List<String> navIdenter, java.util.List<String> navidenter, java.util.List<String> personIdenter, java.util.List<String> personidenter) {
  18.         this.navIdenter = navIdenter;
  19.         this.navidenter = navidenter;
  20.         this.personIdenter = personIdenter;
  21.         this.personidenter = personidenter;
  22.     }

  23.     @Deprecated
  24.     public java.util.List<String> getNavIdenter() {
  25.         return navIdenter;
  26.     }
  27.     @Deprecated
  28.     public void setNavIdenter(java.util.List<String> navIdenter) {
  29.         this.navIdenter = navIdenter;
  30.     }

  31.     public java.util.List<String> getNavidenter() {
  32.         return navidenter;
  33.     }
  34.     public void setNavidenter(java.util.List<String> navidenter) {
  35.         this.navidenter = navidenter;
  36.     }

  37.     @Deprecated
  38.     public java.util.List<String> getPersonIdenter() {
  39.         return personIdenter;
  40.     }
  41.     @Deprecated
  42.     public void setPersonIdenter(java.util.List<String> personIdenter) {
  43.         this.personIdenter = personIdenter;
  44.     }

  45.     public java.util.List<String> getPersonidenter() {
  46.         return personidenter;
  47.     }
  48.     public void setPersonidenter(java.util.List<String> personidenter) {
  49.         this.personidenter = personidenter;
  50.     }


  51.     @Override
  52.     public String toString() {
  53.         StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
  54.         if (navIdenter != null) {
  55.             joiner.add("navIdenter: " + navIdenter);
  56.         }
  57.         if (navidenter != null) {
  58.             joiner.add("navidenter: " + navidenter);
  59.         }
  60.         if (personIdenter != null) {
  61.             joiner.add("personIdenter: " + personIdenter);
  62.         }
  63.         if (personidenter != null) {
  64.             joiner.add("personidenter: " + personidenter);
  65.         }
  66.         return joiner.toString();
  67.     }

  68.     public static RessurserSearchDto.Builder builder() {
  69.         return new RessurserSearchDto.Builder();
  70.     }

  71.     @javax.annotation.processing.Generated(
  72.         value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
  73.         date = "2025-01-10T14:34:08+0000"
  74.     )
  75.     public static class Builder {

  76.         private java.util.List<String> navIdenter;
  77.         private java.util.List<String> navidenter;
  78.         private java.util.List<String> personIdenter;
  79.         private java.util.List<String> personidenter;

  80.         public Builder() {
  81.         }

  82.         @Deprecated
  83.         public Builder setNavIdenter(java.util.List<String> navIdenter) {
  84.             this.navIdenter = navIdenter;
  85.             return this;
  86.         }

  87.         public Builder setNavidenter(java.util.List<String> navidenter) {
  88.             this.navidenter = navidenter;
  89.             return this;
  90.         }

  91.         @Deprecated
  92.         public Builder setPersonIdenter(java.util.List<String> personIdenter) {
  93.             this.personIdenter = personIdenter;
  94.             return this;
  95.         }

  96.         public Builder setPersonidenter(java.util.List<String> personidenter) {
  97.             this.personidenter = personidenter;
  98.             return this;
  99.         }


  100.         public RessurserSearchDto build() {
  101.             return new RessurserSearchDto(navIdenter, navidenter, personIdenter, personidenter);
  102.         }

  103.     }
  104. }