OrgEnhetSearchDto.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 OrgEnhetSearchDto implements java.io.Serializable {
- private static final long serialVersionUID = 1L;
- private String agressoId;
- private String orgNiv;
- private String navn;
- private String id;
- public OrgEnhetSearchDto() {
- }
- public OrgEnhetSearchDto(String agressoId, String orgNiv, String navn, String id) {
- this.agressoId = agressoId;
- this.orgNiv = orgNiv;
- this.navn = navn;
- this.id = id;
- }
- public String getAgressoId() {
- return agressoId;
- }
- public void setAgressoId(String agressoId) {
- this.agressoId = agressoId;
- }
- public String getOrgNiv() {
- return orgNiv;
- }
- public void setOrgNiv(String orgNiv) {
- this.orgNiv = orgNiv;
- }
- public String getNavn() {
- return navn;
- }
- public void setNavn(String navn) {
- this.navn = navn;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- @Override
- public String toString() {
- StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
- if (agressoId != null) {
- joiner.add("agressoId: \"" + agressoId + "\"");
- }
- if (orgNiv != null) {
- joiner.add("orgNiv: \"" + orgNiv + "\"");
- }
- if (navn != null) {
- joiner.add("navn: \"" + navn + "\"");
- }
- if (id != null) {
- joiner.add("id: \"" + id + "\"");
- }
- return joiner.toString();
- }
- public static OrgEnhetSearchDto.Builder builder() {
- return new OrgEnhetSearchDto.Builder();
- }
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public static class Builder {
- private String agressoId;
- private String orgNiv;
- private String navn;
- private String id;
- public Builder() {
- }
- public Builder setAgressoId(String agressoId) {
- this.agressoId = agressoId;
- return this;
- }
- public Builder setOrgNiv(String orgNiv) {
- this.orgNiv = orgNiv;
- return this;
- }
- public Builder setNavn(String navn) {
- this.navn = navn;
- return this;
- }
- public Builder setId(String id) {
- this.id = id;
- return this;
- }
- public OrgEnhetSearchDto build() {
- return new OrgEnhetSearchDto(agressoId, orgNiv, navn, id);
- }
- }
- }