2 * Copyright 2016-2017, Nokia Corporation
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo;
19 import org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity.ResponseDescriptor;
21 import com.fasterxml.jackson.annotation.JsonProperty;
23 public class OperStatusVnfResponse {
24 @JsonProperty("jobId")
27 @JsonProperty("status")
28 private String status;
30 @JsonProperty("progress")
31 private String progress;
33 @JsonProperty("statusDescription")
34 private String statusDescription;
36 @JsonProperty("errorCode")
37 private String errorCode;
39 @JsonProperty("responseId")
40 private String responseId;
42 @JsonProperty("responseDescriptor")//Including:vnfStatus��statusDescription��errorCode��progress��responseHistoryList��responseId
43 private ResponseDescriptor responseDescriptor;
45 public String getJobId() {
49 public void setJobId(String jobId) {
53 public ResponseDescriptor getResponseDescriptor() {
54 return responseDescriptor;
57 public void setResponseDescriptor(ResponseDescriptor responseDescriptor) {
58 this.responseDescriptor = responseDescriptor;
61 public String getStatus() {
65 public void setStatus(String status) {
69 public String getProgress() {
73 public void setProgress(String progress) {
74 this.progress = progress;
77 public String getStatusDescription() {
78 return statusDescription;
81 public void setStatusDescription(String statusDescription) {
82 this.statusDescription = statusDescription;
85 public String getErrorCode() {
89 public void setErrorCode(String errorCode) {
90 this.errorCode = errorCode;
93 public String getResponseId() {
97 public void setResponseId(String responseId) {
98 this.responseId = responseId;