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

io.katharsis.request.dto.ResourceRelationships Maven / Gradle / Ivy

There is a newer version: 2.6.3
Show newest version
package io.katharsis.request.dto;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.katharsis.jackson.deserializer.ResourceRelationshipsDeserializer;

import java.util.HashMap;
import java.util.Map;

/**
 * @see ResourceRelationshipsDeserializer
 */
public class ResourceRelationships {

    @JsonIgnore
    private final Map linkageList = new HashMap();

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.linkageList;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.linkageList.put(name, value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy