cloud.eppo.ufc.dto.SubjectAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-common-jvm Show documentation
Show all versions of sdk-common-jvm Show documentation
Eppo SDK for JVM shared library
package cloud.eppo.ufc.dto;
import java.util.HashMap;
import java.util.Map;
public class SubjectAttributes extends HashMap {
public SubjectAttributes() {
super();
}
public SubjectAttributes(Map startingAttributes) {
super(startingAttributes);
}
public EppoValue put(String key, String value) {
return super.put(key, EppoValue.valueOf(value));
}
public EppoValue put(String key, int value) {
return super.put(key, EppoValue.valueOf(value));
}
public EppoValue put(String key, long value) {
return super.put(key, EppoValue.valueOf(value));
}
public EppoValue put(String key, boolean value) {
return super.put(key, EppoValue.valueOf(value));
}
}