2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.so;
24 import com.google.gson.annotations.SerializedName;
26 import java.io.Serializable;
27 import java.time.LocalDateTime;
29 public class SoAsyncRequestStatus implements Serializable {
31 private static final long serialVersionUID = -3283942659786236032L;
33 @SerializedName("correlator")
34 private String correlator;
36 @SerializedName("requestId")
37 private String requestId;
39 @SerializedName("instanceReferences")
40 private SoInstanceReferences instanceReferences;
42 @SerializedName("startTime")
43 private LocalDateTime startTime;
45 @SerializedName("finishTime")
46 private LocalDateTime finishTime;
48 @SerializedName("requestScope")
49 private String requestScope;
51 @SerializedName("requestType")
52 private String requestType;
54 @SerializedName("requestStatus")
55 private SoRequestStatus requestStatus;
57 public SoAsyncRequestStatus() {
61 public String getCorrelator() {
66 public LocalDateTime getFinishTime() {
70 public SoInstanceReferences getInstanceReferences() {
71 return instanceReferences;
74 public String getRequestId() {
78 public String getRequestScope() {
82 public SoRequestStatus getRequestStatus() {
86 public String getRequestType() {
90 public LocalDateTime getStartTime() {
94 public void setCorrelator(String correlator) {
95 this.correlator = correlator;
98 public void setFinishTime(LocalDateTime finishTime) {
99 this.finishTime = finishTime;
102 public void setInstanceReferences(SoInstanceReferences instanceReferences) {
103 this.instanceReferences = instanceReferences;
106 public void setRequestId(String requestId) {
107 this.requestId = requestId;
110 public void setRequestScope(String requestScope) {
111 this.requestScope = requestScope;
114 public void setRequestStatus(SoRequestStatus requestStatus) {
115 this.requestStatus = requestStatus;
118 public void setRequestType(String requestType) {
119 this.requestType = requestType;
122 public void setStartTime(LocalDateTime startTime) {
123 this.startTime = startTime;