model.events.SymphonyElementsAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symphony-api-client-java Show documentation
Show all versions of symphony-api-client-java Show documentation
Symphony API Client provided by Symphony Platform Solutions team
package model.events;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
public class SymphonyElementsAction {
private Map formStream;
private Map stream;
private String formId;
private Map formValues;
public String getStreamId() {
if (stream != null && stream.get("id") != null) {
return stream.get("id");
}
if (formStream != null && formStream.get("streamId") != null) {
return formStream.get("streamId")
.replaceAll("=", "")
.replaceAll("/", "_")
.replaceAll("\\+", "-");
}
return null;
}
public String getStreamType() {
if (stream != null && stream.get("type") != null) {
return stream.get("type");
}
return null;
}
public void setFormStream(Map formStream) {
this.formStream = formStream;
}
public void setStream(Map stream) {
this.stream = stream;
}
public String getFormId() {
return formId;
}
public void setFormId(String formId) {
this.formId = formId;
}
public Map getFormValues() {
return formValues;
}
public void setFormValues(Map formValues) {
this.formValues = formValues;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy