From 43467ecc6a1624b7fd695883c5c6c214782f6bcd Mon Sep 17 00:00:00 2001 From: Ramya Ravichandran Date: Fri, 15 Feb 2019 16:26:45 +0530 Subject: Son-handler microservice seed code Change-Id: If4000e26044fe267bdd5fae3a1b2599182423950 Issue-ID: DCAEGEN2-1219 Signed-off-by: Ramya Ravichandran --- .../www/sonhms/restclient/AsyncResponseBody.java | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 src/main/java/com/wipro/www/sonhms/restclient/AsyncResponseBody.java (limited to 'src/main/java/com/wipro/www/sonhms/restclient/AsyncResponseBody.java') diff --git a/src/main/java/com/wipro/www/sonhms/restclient/AsyncResponseBody.java b/src/main/java/com/wipro/www/sonhms/restclient/AsyncResponseBody.java new file mode 100644 index 0000000..94e6919 --- /dev/null +++ b/src/main/java/com/wipro/www/sonhms/restclient/AsyncResponseBody.java @@ -0,0 +1,79 @@ +/******************************************************************************* + * ============LICENSE_START======================================================= + * pcims + * ================================================================================ + * Copyright (C) 2018 Wipro Limited. + * ============================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + ******************************************************************************/ + +package com.wipro.www.sonhms.restclient; + +import java.util.List; + +public class AsyncResponseBody { + + String transactionId = null; + String requestId = null; + String requestStatus = null; + String statusMessage = null; + List solutions; + + public String getTransactionId() { + return transactionId; + } + + public void setTransactionId(String transactionId) { + this.transactionId = transactionId; + } + + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getRequestStatus() { + return requestStatus; + } + + @Override + public String toString() { + return "AsyncResponseBody [transactionId=" + transactionId + ", requestId=" + requestId + ", requestStatus=" + + requestStatus + ", statusMessage=" + statusMessage + ", solutions=" + solutions + "]"; + } + + public void setRequestStatus(String requestStatus) { + this.requestStatus = requestStatus; + } + + public String getStatusMessage() { + return statusMessage; + } + + public void setStatusMessage(String statusMessage) { + this.statusMessage = statusMessage; + } + + public List getSolutions() { + return solutions; + } + + public void setSolutions(List solutions) { + this.solutions = solutions; + } + +} -- cgit 1.2.3-korg