83aa8580eb318eca09be7432d22318d9dbd7af0d
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / vnfmdriver / bo / entity / ResponseDescriptor.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity;
18
19 import java.util.List;
20
21 import com.fasterxml.jackson.annotation.JsonProperty;
22
23 public class ResponseDescriptor {
24
25         
26         @JsonProperty("status")
27         private String  status;//started;processing;finished;error
28         
29         @JsonProperty("progress")
30         private String  progress;//progress (1-100)
31         
32         @JsonProperty("statusDescription")
33         private String  statusDescription;
34         
35         @JsonProperty("errorCode")
36         private String errorCode;
37         
38         @JsonProperty("responseId")
39         private String responseId;
40         
41         @JsonProperty("responseHistoryList")
42         private List<ResponseHistoryList> responseHistoryList;
43
44         public String getStatus() {
45                 return status;
46         }
47
48         public void setStatus(String status) {
49                 this.status = status;
50         }
51
52         public String getProgress() {
53                 return progress;
54         }
55
56
57         public void setProgress(String progr) {
58                   progress = progr;
59         }
60
61         public String getStatusDescription() {
62                 return statusDescription;
63         }
64
65         public void setStatusDescription(String statusDescription) {
66                 this.statusDescription = statusDescription;
67         }
68
69         public String getErrorCode() {
70                 return errorCode;
71         }
72
73         public void setErrorCode(String errorCode) {
74                 this.errorCode = errorCode;
75         }
76
77         public String getResponseId() {
78                 return responseId;
79         }
80
81         public void setResponseId(String responseId) {
82                 this.responseId = responseId;
83         }
84
85         public List<ResponseHistoryList> getResponseHistoryList() {
86                 return responseHistoryList;
87         }
88
89         public void setResponseHistoryList(List<ResponseHistoryList> responseHistoryList) {
90                 this.responseHistoryList = responseHistoryList;
91         }
92
93         
94
95         
96         
97         
98         
99         
100 }