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