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