2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2017 Intel Corp. All rights reserved.
4 * Modifications Copyright (C) 2018-2019 AT&T Corporation. All rights reserved.
5 * ================================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ============LICENSE_END=========================================================
20 package org.onap.policy.vfc;
22 import com.google.gson.annotations.SerializedName;
24 import java.io.Serializable;
25 import java.util.List;
27 public class VfcResponseDescriptor implements Serializable {
29 private static final long serialVersionUID = 6827782899144150158L;
31 @SerializedName("progress")
32 private String progress;
34 @SerializedName("status")
35 private String status;
37 @SerializedName("statusDescription")
38 private String statusDescription;
40 @SerializedName("errorCode")
41 private String errorCode;
43 @SerializedName("responseId")
44 private String responseId;
46 @SerializedName("responseHistoryList")
47 private List<VfcResponseDescriptor> responseHistoryList;
49 public VfcResponseDescriptor() {
50 // Default constructor
53 public String getStatus() {
57 public String getProgress() {
61 public void setProgress(String progress) {
62 this.progress = progress;
65 public String getStatusDescription() {
66 return statusDescription;
69 public void setStatusDescription(String statusDescription) {
70 this.statusDescription = statusDescription;
73 public String getErrorCode() {
77 public void setErrorCode(String errorCode) {
78 this.errorCode = errorCode;
81 public String getResponseId() {
85 public void setResponseId(String responseId) {
86 this.responseId = responseId;
89 public List<VfcResponseDescriptor> getResponseHistoryList() {
90 return responseHistoryList;
93 public void setResponseHistoryList(List<VfcResponseDescriptor> responseHistoryList) {
94 this.responseHistoryList = responseHistoryList;
97 public void setStatus(String status) {