2 * ============LICENSE_START=======================================================
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
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.so.client.avpn.dmaap.beans;
23 import com.fasterxml.jackson.annotation.JsonProperty;
24 import com.fasterxml.jackson.annotation.JsonRootName;
26 @JsonRootName(value = "requestStatus")
27 public class RequestStatus {
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;
40 public String getTimestamp() {
44 public void setTimestamp(String timestamp) {
45 this.timestamp = timestamp;
48 public String getRequestState() {
52 public void setRequestState(String requestState) {
53 this.requestState = requestState;
56 public String getStatusMessage() {
60 public void setStatusMessage(String statusMessage) {
61 this.statusMessage = statusMessage;
64 public String getPercentProgress() {
65 return percentProgress;
68 public void setPercentProgress(String percentProgress) {
69 this.percentProgress = percentProgress;
72 public Boolean isWasRolledBack() {
76 public void setWasRolledBack(Boolean wasRolledBack) {
77 this.wasRolledBack = wasRolledBack;