f47c40585121e41016f3e44c858ee8109cee52cb
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / vnfmdriver / bo / OperStatusVnfResponse.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;
18
19 import org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity.ResponseDescriptor;
20
21 import com.fasterxml.jackson.annotation.JsonProperty;
22
23 public class OperStatusVnfResponse {
24         @JsonProperty("jobId")
25         private String jobId;
26         
27         @JsonProperty("status")
28         private String status;
29         
30         @JsonProperty("progress")
31         private String progress;
32         
33         @JsonProperty("statusDescription")
34         private String  statusDescription;
35         
36         @JsonProperty("errorCode")
37         private String errorCode;
38         
39         @JsonProperty("responseId")
40         private String responseId;
41         
42         @JsonProperty("responseDescriptor")//Including:vnfStatus��statusDescription��errorCode��progress��responseHistoryList��responseId
43         private ResponseDescriptor  responseDescriptor;
44
45         public String getJobId() {
46                 return jobId;
47         }
48
49         public void setJobId(String jobId) {
50                 this.jobId = jobId;
51         }
52
53         public ResponseDescriptor getResponseDescriptor() {
54                 return responseDescriptor;
55         }
56
57         public void setResponseDescriptor(ResponseDescriptor responseDescriptor) {
58                 this.responseDescriptor = responseDescriptor;
59         }
60
61         public String getStatus() {
62                 return status;
63         }
64
65         public void setStatus(String status) {
66                 this.status = status;
67         }
68
69         public String getProgress() {
70                 return progress;
71         }
72
73         public void setProgress(String progress) {
74                 this.progress = progress;
75         }
76
77         public String getStatusDescription() {
78                 return statusDescription;
79         }
80
81         public void setStatusDescription(String statusDescription) {
82                 this.statusDescription = statusDescription;
83         }
84
85         public String getErrorCode() {
86                 return errorCode;
87         }
88
89         public void setErrorCode(String errorCode) {
90                 this.errorCode = errorCode;
91         }
92
93         public String getResponseId() {
94                 return responseId;
95         }
96
97         public void setResponseId(String responseId) {
98                 this.responseId = responseId;
99         }
100         
101 }