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