Merge "INT:1183 fix csit for sdnc_netconf_tls_post_deploy"
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / sdnc-simulator / src / main / java / org / onap / so / sdncsimulator / models / Output.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 package org.onap.so.sdncsimulator.models;
21
22 import org.onap.sdnc.northbound.client.model.GenericResourceApiInstanceReference;
23 import com.fasterxml.jackson.annotation.JsonIgnore;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 /**
27  * @author Waqas Ikram (waqas.ikram@est.tech)
28  *
29  */
30 public class Output {
31
32     @JsonProperty("response-message")
33     private String responseMessage;
34
35     @JsonProperty("ack-final-indicator")
36     private String ackFinalIndicator;
37
38     @JsonProperty("svc-request-id")
39     private String svcRequestId;
40
41     @JsonProperty("response-code")
42     private String responseCode;
43
44     @JsonProperty("service-response-information")
45     private GenericResourceApiInstanceReference serviceResponseInformation = null;
46
47     /**
48      * @return the responseMessage
49      */
50     public String getResponseMessage() {
51         return responseMessage;
52     }
53
54     /**
55      * @param responseMessage the responseMessage to set
56      */
57     public void setResponseMessage(final String responseMessage) {
58         this.responseMessage = responseMessage;
59     }
60
61     /**
62      * @return the ackFinalIndicator
63      */
64     public String getAckFinalIndicator() {
65         return ackFinalIndicator;
66     }
67
68     /**
69      * @param ackFinalIndicator the ackFinalIndicator to set
70      */
71     public void setAckFinalIndicator(final String ackFinalIndicator) {
72         this.ackFinalIndicator = ackFinalIndicator;
73     }
74
75     /**
76      * @return the svcRequestId
77      */
78     public String getSvcRequestId() {
79         return svcRequestId;
80     }
81
82     /**
83      * @param svcRequestId the svcRequestId to set
84      */
85     public void setSvcRequestId(final String svcRequestId) {
86         this.svcRequestId = svcRequestId;
87     }
88
89     /**
90      * @return the responseCode
91      */
92     public String getResponseCode() {
93         return responseCode;
94     }
95
96     /**
97      * @param responseCode the responseCode to set
98      */
99     public void setResponseCode(final String responseCode) {
100         this.responseCode = responseCode;
101     }
102
103     /**
104      * @return the serviceResponseInformation
105      */
106     public GenericResourceApiInstanceReference getServiceResponseInformation() {
107         return serviceResponseInformation;
108     }
109
110     /**
111      * @param serviceResponseInformation the serviceResponseInformation to set
112      */
113     public void setServiceResponseInformation(final GenericResourceApiInstanceReference serviceResponseInformation) {
114         this.serviceResponseInformation = serviceResponseInformation;
115     }
116
117     public Output responseMessage(final String responseMessage) {
118         this.responseMessage = responseMessage;
119         return this;
120     }
121
122     public Output ackFinalIndicator(final String ackFinalIndicator) {
123         this.ackFinalIndicator = ackFinalIndicator;
124         return this;
125     }
126
127     public Output svcRequestId(final String svcRequestId) {
128         this.svcRequestId = svcRequestId;
129         return this;
130     }
131
132     public Output responseCode(final String responseCode) {
133         this.responseCode = responseCode;
134         return this;
135     }
136
137     public Output serviceResponseInformation(final GenericResourceApiInstanceReference serviceResponseInformation) {
138         this.serviceResponseInformation = serviceResponseInformation;
139         return this;
140     }
141
142
143     @JsonIgnore
144     @Override
145     public String toString() {
146         return "OutputRequest [responseMessage=" + responseMessage + ", ackFinalIndicator=" + ackFinalIndicator
147                 + ", svcRequestId=" + svcRequestId + ", responseCode=" + responseCode + ", serviceResponseInformation="
148                 + serviceResponseInformation + "]";
149     }
150
151
152
153 }