--- /dev/null
+/* Copyright (c) 2019 AT&T Intellectual Property. #\r
+# #\r
+# Licensed under the Apache License, Version 2.0 (the "License"); #\r
+# you may not use this file except in compliance with the License. #\r
+# You may obtain a copy of the License at #\r
+# #\r
+# http://www.apache.org/licenses/LICENSE-2.0 #\r
+# #\r
+# Unless required by applicable law or agreed to in writing, software #\r
+# distributed under the License is distributed on an "AS IS" BASIS, #\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #\r
+# See the License for the specific language governing permissions and #\r
+# limitations under the License. #\r
+##############################################################################*/\r
+\r
+\r
+package org.oran.otf.camunda.model;\r
+\r
+import org.oran.otf.common.model.TestExecution;\r
+import org.oran.otf.common.utility.gson.Convert;\r
+\r
+import java.util.Map;\r
+\r
+/**\r
+ * @version 1.0 Synchronous workflow response bean\r
+ */\r
+public class WorkflowResponse {\r
+\r
+ private String response;\r
+ private String message;\r
+ private String processInstanceId;\r
+ private Map<String, String> variables;\r
+ private TestExecution testExecution;\r
+ private int messageCode;\r
+\r
+ public String getResponse() {\r
+ return response;\r
+ }\r
+\r
+ public void setResponse(String response) {\r
+ this.response = response;\r
+ }\r
+\r
+ public String getMessage() {\r
+ return message;\r
+ }\r
+\r
+ public void setMessage(String message) {\r
+ this.message = message;\r
+ }\r
+\r
+ public String getProcessInstanceId() {\r
+ return processInstanceId;\r
+ }\r
+\r
+ public void setProcessInstanceId(String pID) {\r
+ this.processInstanceId = pID;\r
+ }\r
+\r
+ public Map<String, String> getVariables() {\r
+ return variables;\r
+ }\r
+\r
+ public void setVariables(Map<String, String> variables) {\r
+ this.variables = variables;\r
+ }\r
+\r
+ public int getMessageCode() {\r
+ return messageCode;\r
+ }\r
+\r
+ public void setMessageCode(int messageCode) {\r
+ this.messageCode = messageCode;\r
+ }\r
+\r
+ public TestExecution getTestExecution() {\r
+ return testExecution;\r
+ }\r
+\r
+ public void setTestExecution(TestExecution testExecution) {\r
+ this.testExecution = testExecution;\r
+ }\r
+\r
+ @Override\r
+ public String toString() {\r
+ return Convert.objectToJson(this);\r
+ }\r
+}\r