X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=models-interactions%2Fmodel-impl%2Fso%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fso%2FSoAsyncRequestStatus.java;h=7475c8ad4e5bfa4c83015b88aa3e86107564241d;hb=e4e7d15db6d2f79658e3a5f9e8326ea092afcfab;hp=cd4922dbd67a265f1a6f1c74f3737d84a80af900;hpb=2141dc0263940c94bf4265c6ca0072d9130a8ead;p=policy%2Fmodels.git diff --git a/models-interactions/model-impl/so/src/main/java/org/onap/policy/so/SoAsyncRequestStatus.java b/models-interactions/model-impl/so/src/main/java/org/onap/policy/so/SoAsyncRequestStatus.java index cd4922dbd..7475c8ad4 100644 --- a/models-interactions/model-impl/so/src/main/java/org/onap/policy/so/SoAsyncRequestStatus.java +++ b/models-interactions/model-impl/so/src/main/java/org/onap/policy/so/SoAsyncRequestStatus.java @@ -8,9 +8,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,106 +21,27 @@ package org.onap.policy.so; -import com.google.gson.annotations.SerializedName; - import java.io.Serializable; import java.time.LocalDateTime; +import lombok.Getter; +import lombok.Setter; +@Getter +@Setter public class SoAsyncRequestStatus implements Serializable { private static final long serialVersionUID = -3283942659786236032L; - @SerializedName("correlator") private String correlator; - - @SerializedName("requestId") private String requestId; - - @SerializedName("instanceReferences") private SoInstanceReferences instanceReferences; - - @SerializedName("startTime") private LocalDateTime startTime; - - @SerializedName("finishTime") private LocalDateTime finishTime; - - @SerializedName("requestScope") private String requestScope; - - @SerializedName("requestType") private String requestType; - - @SerializedName("requestStatus") private SoRequestStatus requestStatus; public SoAsyncRequestStatus() { // required by author } - - public String getCorrelator() { - return correlator; - } - - - public LocalDateTime getFinishTime() { - return finishTime; - } - - public SoInstanceReferences getInstanceReferences() { - return instanceReferences; - } - - public String getRequestId() { - return requestId; - } - - public String getRequestScope() { - return requestScope; - } - - public SoRequestStatus getRequestStatus() { - return requestStatus; - } - - public String getRequestType() { - return requestType; - } - - public LocalDateTime getStartTime() { - return startTime; - } - - public void setCorrelator(String correlator) { - this.correlator = correlator; - } - - public void setFinishTime(LocalDateTime finishTime) { - this.finishTime = finishTime; - } - - public void setInstanceReferences(SoInstanceReferences instanceReferences) { - this.instanceReferences = instanceReferences; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public void setRequestScope(String requestScope) { - this.requestScope = requestScope; - } - - public void setRequestStatus(SoRequestStatus requestStatus) { - this.requestStatus = requestStatus; - } - - public void setRequestType(String requestType) { - this.requestType = requestType; - } - - public void setStartTime(LocalDateTime startTime) { - this.startTime = startTime; - } - }