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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.so.sdncsimulator.models;
22 import org.onap.sdnc.northbound.client.model.GenericResourceApiInstanceReference;
23 import com.fasterxml.jackson.annotation.JsonIgnore;
24 import com.fasterxml.jackson.annotation.JsonProperty;
27 * @author Waqas Ikram (waqas.ikram@est.tech)
32 @JsonProperty("response-message")
33 private String responseMessage;
35 @JsonProperty("ack-final-indicator")
36 private String ackFinalIndicator;
38 @JsonProperty("svc-request-id")
39 private String svcRequestId;
41 @JsonProperty("response-code")
42 private String responseCode;
44 @JsonProperty("service-response-information")
45 private GenericResourceApiInstanceReference serviceResponseInformation = null;
48 * @return the responseMessage
50 public String getResponseMessage() {
51 return responseMessage;
55 * @param responseMessage the responseMessage to set
57 public void setResponseMessage(final String responseMessage) {
58 this.responseMessage = responseMessage;
62 * @return the ackFinalIndicator
64 public String getAckFinalIndicator() {
65 return ackFinalIndicator;
69 * @param ackFinalIndicator the ackFinalIndicator to set
71 public void setAckFinalIndicator(final String ackFinalIndicator) {
72 this.ackFinalIndicator = ackFinalIndicator;
76 * @return the svcRequestId
78 public String getSvcRequestId() {
83 * @param svcRequestId the svcRequestId to set
85 public void setSvcRequestId(final String svcRequestId) {
86 this.svcRequestId = svcRequestId;
90 * @return the responseCode
92 public String getResponseCode() {
97 * @param responseCode the responseCode to set
99 public void setResponseCode(final String responseCode) {
100 this.responseCode = responseCode;
104 * @return the serviceResponseInformation
106 public GenericResourceApiInstanceReference getServiceResponseInformation() {
107 return serviceResponseInformation;
111 * @param serviceResponseInformation the serviceResponseInformation to set
113 public void setServiceResponseInformation(final GenericResourceApiInstanceReference serviceResponseInformation) {
114 this.serviceResponseInformation = serviceResponseInformation;
117 public Output responseMessage(final String responseMessage) {
118 this.responseMessage = responseMessage;
122 public Output ackFinalIndicator(final String ackFinalIndicator) {
123 this.ackFinalIndicator = ackFinalIndicator;
127 public Output svcRequestId(final String svcRequestId) {
128 this.svcRequestId = svcRequestId;
132 public Output responseCode(final String responseCode) {
133 this.responseCode = responseCode;
137 public Output serviceResponseInformation(final GenericResourceApiInstanceReference serviceResponseInformation) {
138 this.serviceResponseInformation = serviceResponseInformation;
145 public String toString() {
146 return "OutputRequest [responseMessage=" + responseMessage + ", ackFinalIndicator=" + ackFinalIndicator
147 + ", svcRequestId=" + svcRequestId + ", responseCode=" + responseCode + ", serviceResponseInformation="
148 + serviceResponseInformation + "]";