Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / model-impl / vfc / src / main / java / org / onap / policy / vfc / VfcResponseDescriptor.java
1 /*-
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
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
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=========================================================
18  */
19
20 package org.onap.policy.vfc;
21
22 import com.google.gson.annotations.SerializedName;
23
24 import java.io.Serializable;
25 import java.util.List;
26
27 public class VfcResponseDescriptor implements Serializable {
28
29     private static final long serialVersionUID = 6827782899144150158L;
30
31     @SerializedName("progress")
32     private String progress;
33
34     @SerializedName("status")
35     private String status;
36
37     @SerializedName("statusDescription")
38     private String statusDescription;
39
40     @SerializedName("errorCode")
41     private String errorCode;
42
43     @SerializedName("responseId")
44     private String responseId;
45
46     @SerializedName("responseHistoryList")
47     private List<VfcResponseDescriptor> responseHistoryList;
48
49     public VfcResponseDescriptor() {
50         // Default constructor
51     }
52
53     public String getStatus() {
54         return status;
55     }
56
57     public String getProgress() {
58         return progress;
59     }
60
61     public void setProgress(String progress) {
62         this.progress = progress;
63     }
64
65     public String getStatusDescription() {
66         return statusDescription;
67     }
68
69     public void setStatusDescription(String statusDescription) {
70         this.statusDescription = statusDescription;
71     }
72
73     public String getErrorCode() {
74         return errorCode;
75     }
76
77     public void setErrorCode(String errorCode) {
78         this.errorCode = errorCode;
79     }
80
81     public String getResponseId() {
82         return responseId;
83     }
84
85     public void setResponseId(String responseId) {
86         this.responseId = responseId;
87     }
88
89     public List<VfcResponseDescriptor> getResponseHistoryList() {
90         return responseHistoryList;
91     }
92
93     public void setResponseHistoryList(List<VfcResponseDescriptor> responseHistoryList) {
94         this.responseHistoryList = responseHistoryList;
95     }
96
97     public void setStatus(String status) {
98         this.status = status;
99     }
100 }