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.entity;
19 import java.util.List;
21 import com.fasterxml.jackson.annotation.JsonProperty;
23 public class ResponseDescriptor {
26 @JsonProperty("status")
27 private String status;//started;processing;finished;error
29 @JsonProperty("progress")
30 private String progress;//progress (1-100)
32 @JsonProperty("statusDescription")
33 private String statusDescription;
35 @JsonProperty("errorCode")
36 private String errorCode;
38 @JsonProperty("responseId")
39 private String responseId;
41 @JsonProperty("responseHistoryList")
42 private List<ResponseHistoryList> responseHistoryList;
44 public String getStatus() {
48 public void setStatus(String status) {
52 public String getProgress() {
57 public void setProgress(String progr) {
61 public String getStatusDescription() {
62 return statusDescription;
65 public void setStatusDescription(String statusDescription) {
66 this.statusDescription = statusDescription;
69 public String getErrorCode() {
73 public void setErrorCode(String errorCode) {
74 this.errorCode = errorCode;
77 public String getResponseId() {
81 public void setResponseId(String responseId) {
82 this.responseId = responseId;
85 public List<ResponseHistoryList> getResponseHistoryList() {
86 return responseHistoryList;
89 public void setResponseHistoryList(List<ResponseHistoryList> responseHistoryList) {
90 this.responseHistoryList = responseHistoryList;