5cb90bb8c6d31bd6c79c3d1e9f89390213bf51b9
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / tasksbeans / TaskList.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.mso.apihandlerinfra.tasksbeans;
22
23 import org.codehaus.jackson.map.annotate.JsonSerialize;
24 import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;
25
26 import org.json.JSONArray;
27
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;
42
43     /**
44      * Gets the value of the taskId property.
45      * 
46      * @return
47      *     possible object is
48      *     {@link String }
49      *     
50      */
51     public String getTaskId() {
52         return taskId;
53     }
54
55     /**
56      * Sets the value of the taskId property.
57      * 
58      * @param value
59      *     allowed object is
60      *     {@link String }
61      *     
62      */
63     public void setTaskId(String value) {
64         this.taskId = value;
65     }
66
67     /**
68      * Gets the value of the type property.
69      * 
70      * @return
71      *     possible object is
72      *     {@link String }
73      *     
74      */
75     public String getType() {
76         return type;
77     }
78
79     /**
80      * Sets the value of the type property.
81      * 
82      * @param value
83      *     allowed object is
84      *     {@link String }
85      *     
86      */
87     public void setType(String value) {
88         this.type = value;
89     }
90
91     /**
92      * Gets the value of the nfRole property.
93      * 
94      * @return
95      *     possible object is
96      *     {@link String }
97      *     
98      */
99     public String getNfRole() {
100         return nfRole;
101     }
102
103     /**
104      * Sets the value of the nfRole property.
105      * 
106      * @param value
107      *     allowed object is
108      *     {@link String }
109      *     
110      */
111     public void setNfRole(String value) {
112         this.nfRole = value;
113     }
114
115     /**
116      * Gets the value of the subscriptionServiceType property.
117      * 
118      * @return
119      *     possible object is
120      *     {@link String }
121      *     
122      */
123     public String getSubscriptionServiceType() {
124         return subscriptionServiceType;
125     }
126
127     /**
128      * Sets the value of the subscriptionServiceType property.
129      * 
130      * @param value
131      *     allowed object is
132      *     {@link String }
133      *     
134      */
135     public void setSubscriptionServiceType(String value) {
136         this.subscriptionServiceType = value;
137     }
138
139     /**
140      * Gets the value of the originalRequestId property.
141      * 
142      * @return
143      *     possible object is
144      *     {@link String }
145      *     
146      */
147     public String getOriginalRequestId() {
148         return originalRequestId;
149     }
150
151     /**
152      * Sets the value of the originalRequestId property.
153      * 
154      * @param value
155      *     allowed object is
156      *     {@link String }
157      *     
158      */
159     public void setOriginalRequestId(String value) {
160         this.originalRequestId = value;
161     }
162
163     /**
164      * Gets the value of the originalRequestorId property.
165      * 
166      * @return
167      *     possible object is
168      *     {@link String }
169      *     
170      */
171     public String getOriginalRequestorId() {
172         return originalRequestorId;
173     }
174
175     /**
176      * Sets the value of the originalRequestorId property.
177      * 
178      * @param value
179      *     allowed object is
180      *     {@link String }
181      *     
182      */
183     public void setOriginalRequestorId(String value) {
184         this.originalRequestorId = value;
185     }
186
187     /**
188      * Gets the value of the errorSource property.
189      * 
190      * @return
191      *     possible object is
192      *     {@link String }
193      *     
194      */
195     public String getErrorSource() {
196         return errorSource;
197     }
198
199     /**
200      * Sets the value of the errorSource property.
201      * 
202      * @param value
203      *     allowed object is
204      *     {@link String }
205      *     
206      */
207     public void setErrorSource(String value) {
208         this.errorSource = value;
209     }
210
211     /**
212      * Gets the value of the errorCode property.
213      * 
214      * @return
215      *     possible object is
216      *     {@link String }
217      *     
218      */
219     public String getErrorCode() {
220         return errorCode;
221     }
222
223     /**
224      * Sets the value of the errorCode property.
225      * 
226      * @param value
227      *     allowed object is
228      *     {@link String }
229      *     
230      */
231     public void setErrorCode(String value) {
232         this.errorCode = value;
233     }
234
235     /**
236      * Gets the value of the errorMessage property.
237      * 
238      * @return
239      *     possible object is
240      *     {@link String }
241      *     
242      */
243     public String getErrorMessage() {
244         return errorMessage;
245     }
246
247     /**
248      * Sets the value of the errorMessage property.
249      * 
250      * @param value
251      *     allowed object is
252      *     {@link String }
253      *     
254      */
255     public void setErrorMessage(String value) {
256         this.errorMessage = value;
257     }
258
259     /**
260      * Gets the value of the buildingBlockName property.
261      * 
262      * @return
263      *     possible object is
264      *     {@link String }
265      *     
266      */
267     public String getBuildingBlockName() {
268         return buildingBlockName;
269     }
270
271     /**
272      * Sets the value of the buildingBlockName property.
273      * 
274      * @param value
275      *     allowed object is
276      *     {@link String }
277      *     
278      */
279     public void setBuildingBlockName(String value) {
280         this.buildingBlockName = value;
281     }
282
283     /**
284      * Gets the value of the buildingBlockStep property.
285      * 
286      * @return
287      *     possible object is
288      *     {@link String }
289      *     
290      */
291     public String getBuildingBlockStep() {
292         return buildingBlockStep;
293     }
294
295     /**
296      * Sets the value of the buildingBlockStep property.
297      * 
298      * @param value
299      *     allowed object is
300      *     {@link String }
301      *     
302      */
303     public void setBuildingBlockStep(String value) {
304         this.buildingBlockStep = value;
305     }
306
307     /**
308      * Gets the value of the validResponses property.
309      * 
310      * @return
311      *     possible object is
312      *     {@link ValidResponses }
313      *     
314      */
315     public JSONArray getValidResponses() {
316         return validResponses;
317     }
318
319     /**
320      * Sets the value of the validResponses property.
321      * 
322      * @param value
323      *     allowed object is
324      *     {@link ValidResponses }
325      *     
326      */
327     public void setValidResponses(JSONArray value) {
328         this.validResponses = value;
329     }
330
331
332     
333
334 }