com.manywho.sdk.api.run.elements.config.AbstractResponse Maven / Gradle / Ivy
package com.manywho.sdk.api.run.elements.config;
import com.manywho.sdk.api.translate.Culture;
import org.apache.commons.collections4.MapUtils;
import java.util.HashMap;
public abstract class AbstractResponse {
protected String token;
protected String tenantId;
protected Culture culture;
protected HashMap annotations;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public Culture getCulture() {
return culture;
}
public void setCulture(Culture culture) {
this.culture = culture;
}
public HashMap getAnnotations() {
return annotations;
}
public boolean hasAnnotations() {
return MapUtils.isNotEmpty(annotations);
}
public void setAnnotations(HashMap annotations) {
this.annotations = annotations;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy