2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2017-2019 Intel Corp. All rights reserved.
4 * Modifications Copyright (C) 2019 Nordix Foundation.
5 * Modifications Copyright (C) 2018-2019 AT&T Corporation. 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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.policy.vfc;
23 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
26 import java.util.List;
28 public class VfcResponseDescriptor implements Serializable {
30 private static final long serialVersionUID = 6827782899144150158L;
32 @SerializedName("progress")
33 private String progress;
35 @SerializedName("status")
36 private String status;
38 @SerializedName("statusDescription")
39 private String statusDescription;
41 @SerializedName("errorCode")
42 private String errorCode;
44 @SerializedName("responseId")
45 private String responseId;
47 @SerializedName("responseHistoryList")
48 private List<VfcResponseDescriptor> responseHistoryList;
50 public VfcResponseDescriptor() {
51 // Default constructor
54 public String getStatus() {
58 public String getProgress() {
62 public void setProgress(String progress) {
63 this.progress = progress;
66 public String getStatusDescription() {
67 return statusDescription;
70 public void setStatusDescription(String statusDescription) {
71 this.statusDescription = statusDescription;
74 public String getErrorCode() {
78 public void setErrorCode(String errorCode) {
79 this.errorCode = errorCode;
82 public String getResponseId() {
86 public void setResponseId(String responseId) {
87 this.responseId = responseId;
90 public List<VfcResponseDescriptor> getResponseHistoryList() {
91 return responseHistoryList;
94 public void setResponseHistoryList(List<VfcResponseDescriptor> responseHistoryList) {
95 this.responseHistoryList = responseHistoryList;
98 public void setStatus(String status) {