2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 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.policy.so;
23 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
26 import java.time.LocalDateTime;
28 public class SoAsyncRequestStatus implements Serializable {
30 private static final long serialVersionUID = -3283942659786236032L;
32 @SerializedName("correlator")
33 private String correlator;
35 @SerializedName("requestId")
36 private String requestId;
38 @SerializedName("instanceReferences")
39 private SoInstanceReferences instanceReferences;
41 @SerializedName("startTime")
42 private LocalDateTime startTime;
44 @SerializedName("finishTime")
45 private LocalDateTime finishTime;
47 @SerializedName("requestScope")
48 private String requestScope;
50 @SerializedName("requestType")
51 private String requestType;
53 @SerializedName("requestStatus")
54 private SoRequestStatus requestStatus;
56 public SoAsyncRequestStatus() {
60 public String getCorrelator() {
65 public LocalDateTime getFinishTime() {
69 public SoInstanceReferences getInstanceReferences() {
70 return instanceReferences;
73 public String getRequestId() {
77 public String getRequestScope() {
81 public SoRequestStatus getRequestStatus() {
85 public String getRequestType() {
89 public LocalDateTime getStartTime() {
93 public void setCorrelator(String correlator) {
94 this.correlator = correlator;
97 public void setFinishTime(LocalDateTime finishTime) {
98 this.finishTime = finishTime;
101 public void setInstanceReferences(SoInstanceReferences instanceReferences) {
102 this.instanceReferences = instanceReferences;
105 public void setRequestId(String requestId) {
106 this.requestId = requestId;
109 public void setRequestScope(String requestScope) {
110 this.requestScope = requestScope;
113 public void setRequestStatus(SoRequestStatus requestStatus) {
114 this.requestStatus = requestStatus;
117 public void setRequestType(String requestType) {
118 this.requestType = requestType;
121 public void setStartTime(LocalDateTime startTime) {
122 this.startTime = startTime;