2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * =============================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 * ============LICENSE_END=========================================================
21 package org.onap.appc.flow.controller.data;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 public class Response {
28 @JsonProperty("response-code")
29 private String responseCode;
31 @JsonProperty("response-message")
32 private String responseMessage;
34 @JsonProperty("response-action")
35 private ResponseAction responseAction;
37 private String responseActionHanlder;
39 public String getResponseCode() {
43 public void setResponseCode(String responseCode) {
44 this.responseCode = responseCode;
47 public String getResponseMessage() {
48 return responseMessage;
51 public void setResponseMessage(String responseMessage) {
52 this.responseMessage = responseMessage;
56 public String getResponseActionHanlder() {
57 return responseActionHanlder;
60 public void setResponseActionHanlder(String responseActionHanlder) {
61 this.responseActionHanlder = responseActionHanlder;
64 public ResponseAction getResponseAction() {
65 return responseAction;
68 public void setResponseAction(ResponseAction responseAction) {
69 this.responseAction = responseAction;
73 public String toString() {
74 return "Response [responseCode=" + responseCode + ", responseMessage=" + responseMessage + ", responseAction="
75 + responseAction + ", responseActionHanlder=" + responseActionHanlder + "]";