fb20edb6b173681593f4c832bd00b7d920d0d10a
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / openecomp / appc / flow / controller / data / Response.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.appc.flow.controller.data;    
22
23 import java.util.List;
24
25 import com.fasterxml.jackson.annotation.JsonProperty;
26
27 public class Response {
28     
29     @JsonProperty("response-code")
30     private String responseCode;
31     
32     @JsonProperty("response-message")
33     private String responseMessage;
34     
35     @JsonProperty("response-action")
36     private ResponseAction responseAction;
37     
38     private String responseActionHanlder;
39
40     public String getResponseCode() {
41         return responseCode;
42     }
43
44     public void setResponseCode(String responseCode) {
45         this.responseCode = responseCode;
46     }
47
48     public String getResponseMessage() {
49         return responseMessage;
50     }
51
52     public void setResponseMessage(String responseMessage) {
53         this.responseMessage = responseMessage;
54     }
55
56
57     public String getResponseActionHanlder() {
58         return responseActionHanlder;
59     }
60
61     public void setResponseActionHanlder(String responseActionHanlder) {
62         this.responseActionHanlder = responseActionHanlder;
63     }
64
65     public ResponseAction getResponseAction() {
66         return responseAction;
67     }
68
69     public void setResponseAction(ResponseAction responseAction) {
70         this.responseAction = responseAction;
71     }
72     
73     @Override
74     public String toString() {
75         return "Response [responseCode=" + responseCode + ", responseMessage=" + responseMessage + ", responseAction="
76                 + responseAction + ", responseActionHanlder=" + responseActionHanlder + "]";
77     }
78
79 }