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.mso.apihandlerinfra.tasksbeans;
23 import org.codehaus.jackson.map.annotate.JsonSerialize;
24 import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;
26 import org.json.JSONArray;
28 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
29 public class TaskList {
30 protected String taskId;
31 protected String type;
32 protected String nfRole;
33 protected String subscriptionServiceType;
34 protected String originalRequestId;
35 protected String originalRequestorId;
36 protected String errorSource;
37 protected String errorCode;
38 protected String errorMessage;
39 protected String buildingBlockName;
40 protected String buildingBlockStep;
41 protected JSONArray validResponses;
44 * Gets the value of the taskId property.
51 public String getTaskId() {
56 * Sets the value of the taskId property.
63 public void setTaskId(String value) {
68 * Gets the value of the type property.
75 public String getType() {
80 * Sets the value of the type property.
87 public void setType(String value) {
92 * Gets the value of the nfRole property.
99 public String getNfRole() {
104 * Sets the value of the nfRole property.
111 public void setNfRole(String value) {
116 * Gets the value of the subscriptionServiceType property.
123 public String getSubscriptionServiceType() {
124 return subscriptionServiceType;
128 * Sets the value of the subscriptionServiceType property.
135 public void setSubscriptionServiceType(String value) {
136 this.subscriptionServiceType = value;
140 * Gets the value of the originalRequestId property.
147 public String getOriginalRequestId() {
148 return originalRequestId;
152 * Sets the value of the originalRequestId property.
159 public void setOriginalRequestId(String value) {
160 this.originalRequestId = value;
164 * Gets the value of the originalRequestorId property.
171 public String getOriginalRequestorId() {
172 return originalRequestorId;
176 * Sets the value of the originalRequestorId property.
183 public void setOriginalRequestorId(String value) {
184 this.originalRequestorId = value;
188 * Gets the value of the errorSource property.
195 public String getErrorSource() {
200 * Sets the value of the errorSource property.
207 public void setErrorSource(String value) {
208 this.errorSource = value;
212 * Gets the value of the errorCode property.
219 public String getErrorCode() {
224 * Sets the value of the errorCode property.
231 public void setErrorCode(String value) {
232 this.errorCode = value;
236 * Gets the value of the errorMessage property.
243 public String getErrorMessage() {
248 * Sets the value of the errorMessage property.
255 public void setErrorMessage(String value) {
256 this.errorMessage = value;
260 * Gets the value of the buildingBlockName property.
267 public String getBuildingBlockName() {
268 return buildingBlockName;
272 * Sets the value of the buildingBlockName property.
279 public void setBuildingBlockName(String value) {
280 this.buildingBlockName = value;
284 * Gets the value of the buildingBlockStep property.
291 public String getBuildingBlockStep() {
292 return buildingBlockStep;
296 * Sets the value of the buildingBlockStep property.
303 public void setBuildingBlockStep(String value) {
304 this.buildingBlockStep = value;
308 * Gets the value of the validResponses property.
312 * {@link ValidResponses }
315 public JSONArray getValidResponses() {
316 return validResponses;
320 * Sets the value of the validResponses property.
324 * {@link ValidResponses }
327 public void setValidResponses(JSONArray value) {
328 this.validResponses = value;