edc8be7bfed20ad0861f48cde6d7b8788fd17a37
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / client / avpn / dmaap / beans / RequestStatus.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 AT&T Intellectual Property. 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.so.client.avpn.dmaap.beans;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24 import com.fasterxml.jackson.annotation.JsonRootName;
25
26 @JsonRootName(value = "requestStatus")
27 public class RequestStatus {
28
29         @JsonProperty("timestamp")
30         private String timestamp;
31         @JsonProperty("requestState")
32         private String requestState;
33         @JsonProperty("statusMessage")
34         private String statusMessage;
35         @JsonProperty("percentProgress")
36         private String percentProgress;
37         @JsonProperty("wasRolledBack")
38         private Boolean wasRolledBack;
39         
40         public String getTimestamp() {
41                 return timestamp;
42         }
43         
44         public void setTimestamp(String timestamp) {
45                 this.timestamp = timestamp;
46         }
47         
48         public String getRequestState() {
49                 return requestState;
50         }
51         
52         public void setRequestState(String requestState) {
53                 this.requestState = requestState;
54         }
55         
56         public String getStatusMessage() {
57                 return statusMessage;
58         }
59         
60         public void setStatusMessage(String statusMessage) {
61                 this.statusMessage = statusMessage;
62         }
63         
64         public String getPercentProgress() {
65                 return percentProgress;
66         }
67         
68         public void setPercentProgress(String percentProgress) {
69                 this.percentProgress = percentProgress;
70         }
71
72         public Boolean isWasRolledBack() {
73                 return wasRolledBack;
74         }
75
76         public void setWasRolledBack(Boolean wasRolledBack) {
77                 this.wasRolledBack = wasRolledBack;
78         }
79 }