All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.nav.sbl.soknadsosialhjelp.soknad.JsonInternalSoknad Maven / Gradle / Ivy

There is a newer version: 1.2019.09.25-00.21-49b69f0625e0
Show newest version

package no.nav.sbl.soknadsosialhjelp.soknad;

import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import no.nav.sbl.soknadsosialhjelp.soknad.internal.JsonSoknadsmottaker;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "soknad",
    "mottaker"
})
public class JsonInternalSoknad {

    /**
     * JSON-formatert søknad om sosialhjelp.
     * 

* Encoding er UTF-8. * */ @JsonProperty("soknad") @JsonPropertyDescription("Encoding er UTF-8.") private JsonSoknad soknad; /** * Soknadsmottaker *

* * */ @JsonProperty("mottaker") private JsonSoknadsmottaker mottaker; @JsonIgnore private Map additionalProperties = new HashMap(); /** * JSON-formatert søknad om sosialhjelp. *

* Encoding er UTF-8. * */ @JsonProperty("soknad") public JsonSoknad getSoknad() { return soknad; } /** * JSON-formatert søknad om sosialhjelp. *

* Encoding er UTF-8. * */ @JsonProperty("soknad") public void setSoknad(JsonSoknad soknad) { this.soknad = soknad; } public JsonInternalSoknad withSoknad(JsonSoknad soknad) { this.soknad = soknad; return this; } /** * Soknadsmottaker *

* * */ @JsonProperty("mottaker") public JsonSoknadsmottaker getMottaker() { return mottaker; } /** * Soknadsmottaker *

* * */ @JsonProperty("mottaker") public void setMottaker(JsonSoknadsmottaker mottaker) { this.mottaker = mottaker; } public JsonInternalSoknad withMottaker(JsonSoknadsmottaker mottaker) { this.mottaker = mottaker; return this; } @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } public JsonInternalSoknad withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); return this; } @Override public String toString() { return new ToStringBuilder(this).append("soknad", soknad).append("mottaker", mottaker).append("additionalProperties", additionalProperties).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(soknad).append(additionalProperties).append(mottaker).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof JsonInternalSoknad) == false) { return false; } JsonInternalSoknad rhs = ((JsonInternalSoknad) other); return new EqualsBuilder().append(soknad, rhs.soknad).append(additionalProperties, rhs.additionalProperties).append(mottaker, rhs.mottaker).isEquals(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy