23a5119e94b169f6bb21a2a124137c6ed94266f9
[vid.git] / vid-app-common / src / main / java / org / onap / vid / mso / rest / Task.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 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.onap.vid.mso.rest;
22
23 import java.util.List;
24
25 public class Task {
26
27     private String taskId;
28     private String type;
29     private String nfRole;
30     private String subscriptionServiceType;
31     private String originalRequestId;
32     private String originalRequestorId;
33     private String errorSource;
34     private String errorCode;
35     private String errorMessage;
36     private String buildingBlockName;
37     private String buildingBlockStep;
38     private List<String> validResponses;
39
40
41     public String getTaskId() {
42         return taskId;
43     }
44
45     public void setTaskId(String taskId) {
46         this.taskId = taskId;
47     }
48
49     public String getType() {
50         return type;
51     }
52
53     public void setType(String type) {
54         this.type = type;
55     }
56
57     public String getNfRole() {
58         return nfRole;
59     }
60
61     public void setNfRole(String nfRole) {
62         this.nfRole = nfRole;
63     }
64
65     public String getSubscriptionServiceType() {
66         return subscriptionServiceType;
67     }
68
69     public void setSubscriptionServiceType(String subscriptionServiceType) {
70         this.subscriptionServiceType = subscriptionServiceType;
71     }
72
73     public String getOriginalRequestId() {
74         return originalRequestId;
75     }
76
77     public void setOriginalRequestId(String originalRequestId) {
78         this.originalRequestId = originalRequestId;
79     }
80
81     public String getOriginalRequestorId() {
82         return originalRequestorId;
83     }
84
85     public void setOriginalRequestorId(String originalRequestorId) {
86         this.originalRequestorId = originalRequestorId;
87     }
88
89     public String getErrorSource() {
90         return errorSource;
91     }
92
93     public void setErrorSource(String errorSource) {
94         this.errorSource = errorSource;
95     }
96
97     public String getErrorCode() {
98         return errorCode;
99     }
100
101     public void setErrorCode(String errorCode) {
102         this.errorCode = errorCode;
103     }
104
105     public String getErrorMessage() {
106         return errorMessage;
107     }
108
109     public void setErrorMessage(String errorMessage) {
110         this.errorMessage = errorMessage;
111     }
112
113     public String getBuildingBlockName() {
114         return buildingBlockName;
115     }
116
117     public void setBuildingBlockName(String buildingBlockName) {
118         this.buildingBlockName = buildingBlockName;
119     }
120
121     public String getBuildingBlockStep() {
122         return buildingBlockStep;
123     }
124
125     public void setBuildingBlockStep(String buildingBlockStep) {
126         this.buildingBlockStep = buildingBlockStep;
127     }
128
129     public List<String> getValidResponses() {
130         return validResponses;
131     }
132
133     public void setValidResponses(List<String> validResponses) {
134         this.validResponses = validResponses;
135     }
136
137
138
139 }