io.katharsis.request.dto.Attributes Maven / Gradle / Ivy
package io.katharsis.request.dto;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import java.util.HashMap;
import java.util.Map;
public class Attributes {
private final Map attributesMap = new HashMap<>();
@JsonAnyGetter
public Map getAttributesMap() {
return this.attributesMap;
}
@JsonAnySetter
public void addAttribute(String name, Object value) {
this.attributesMap.put(name, value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy