2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.appc.flow.controller.data;
23 import java.util.List;
25 import com.fasterxml.jackson.annotation.JsonProperty;
27 public class Response {
29 @JsonProperty("response-code")
30 private String responseCode;
32 @JsonProperty("response-message")
33 private String responseMessage;
35 @JsonProperty("response-action")
36 private ResponseAction responseAction;
38 private String responseActionHanlder;
40 public String getResponseCode() {
44 public void setResponseCode(String responseCode) {
45 this.responseCode = responseCode;
48 public String getResponseMessage() {
49 return responseMessage;
52 public void setResponseMessage(String responseMessage) {
53 this.responseMessage = responseMessage;
57 public String getResponseActionHanlder() {
58 return responseActionHanlder;
61 public void setResponseActionHanlder(String responseActionHanlder) {
62 this.responseActionHanlder = responseActionHanlder;
65 public ResponseAction getResponseAction() {
66 return responseAction;
69 public void setResponseAction(ResponseAction responseAction) {
70 this.responseAction = responseAction;
74 public String toString() {
75 return "Response [responseCode=" + responseCode + ", responseMessage=" + responseMessage + ", responseAction="
76 + responseAction + ", responseActionHanlder=" + responseActionHanlder + "]";