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

no.nav.sbl.soknadsosialhjelp.soknad.familie.JsonForsorgerplikt Maven / Gradle / Ivy

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

package no.nav.sbl.soknadsosialhjelp.soknad.familie;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
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.JsonPropertyOrder;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;


/**
 * Forsørgerplikt
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "harForsorgerplikt", "barnebidrag", "ansvar" }) public class JsonForsorgerplikt { @JsonProperty("harForsorgerplikt") private JsonHarForsorgerplikt harForsorgerplikt; @JsonProperty("barnebidrag") private JsonBarnebidrag barnebidrag; @JsonProperty("ansvar") private List ansvar = new ArrayList(); @JsonIgnore private Map additionalProperties = new HashMap(); @JsonProperty("harForsorgerplikt") public JsonHarForsorgerplikt getHarForsorgerplikt() { return harForsorgerplikt; } @JsonProperty("harForsorgerplikt") public void setHarForsorgerplikt(JsonHarForsorgerplikt harForsorgerplikt) { this.harForsorgerplikt = harForsorgerplikt; } public JsonForsorgerplikt withHarForsorgerplikt(JsonHarForsorgerplikt harForsorgerplikt) { this.harForsorgerplikt = harForsorgerplikt; return this; } @JsonProperty("barnebidrag") public JsonBarnebidrag getBarnebidrag() { return barnebidrag; } @JsonProperty("barnebidrag") public void setBarnebidrag(JsonBarnebidrag barnebidrag) { this.barnebidrag = barnebidrag; } public JsonForsorgerplikt withBarnebidrag(JsonBarnebidrag barnebidrag) { this.barnebidrag = barnebidrag; return this; } @JsonProperty("ansvar") public List getAnsvar() { return ansvar; } @JsonProperty("ansvar") public void setAnsvar(List ansvar) { this.ansvar = ansvar; } public JsonForsorgerplikt withAnsvar(List ansvar) { this.ansvar = ansvar; return this; } @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } public JsonForsorgerplikt withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); return this; } @Override public String toString() { return new ToStringBuilder(this).append("harForsorgerplikt", harForsorgerplikt).append("barnebidrag", barnebidrag).append("ansvar", ansvar).append("additionalProperties", additionalProperties).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(ansvar).append(additionalProperties).append(harForsorgerplikt).append(barnebidrag).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof JsonForsorgerplikt) == false) { return false; } JsonForsorgerplikt rhs = ((JsonForsorgerplikt) other); return new EqualsBuilder().append(ansvar, rhs.ansvar).append(additionalProperties, rhs.additionalProperties).append(harForsorgerplikt, rhs.harForsorgerplikt).append(barnebidrag, rhs.barnebidrag).isEquals(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy