OrgEnhetsLederDto.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 OrgEnhetsLederDto implements java.io.Serializable {
- private static final long serialVersionUID = 1L;
- @jakarta.validation.constraints.NotNull
- private RessursDto ressurs;
- public OrgEnhetsLederDto() {
- }
- public OrgEnhetsLederDto(RessursDto ressurs) {
- this.ressurs = ressurs;
- }
- public RessursDto getRessurs() {
- return ressurs;
- }
- public void setRessurs(RessursDto ressurs) {
- this.ressurs = ressurs;
- }
- @Override
- public String toString() {
- StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
- if (ressurs != null) {
- joiner.add("ressurs: " + ressurs);
- }
- return joiner.toString();
- }
- public static OrgEnhetsLederDto.Builder builder() {
- return new OrgEnhetsLederDto.Builder();
- }
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public static class Builder {
- private RessursDto ressurs;
- public Builder() {
- }
- public Builder setRessurs(RessursDto ressurs) {
- this.ressurs = ressurs;
- return this;
- }
- public OrgEnhetsLederDto build() {
- return new OrgEnhetsLederDto(ressurs);
- }
- }
- }