X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fdmaap%2FDmaapRequestMessage.java;h=354fdaf928c9c88dec184f8d769247ee8032357a;hb=5408c157fc8aca52731fcc2cc035ed9dbfcff219;hp=9bcb3cb1fa7703948f3c8706d3a5fc6652da739e;hpb=b66dcce5210e25b2571036becb6f0e7b0c23e1b2;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java b/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java index 9bcb3cb1..354fdaf9 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapRequestMessage.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 Nordix Foundation + * Copyright (C) 2020 Nordix Foundation * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,10 @@ package org.oransc.policyagent.dmaap; +import com.google.gson.JsonObject; + +import java.util.Optional; + import org.immutables.gson.Gson; import org.immutables.value.Value; @@ -49,5 +53,5 @@ public interface DmaapRequestMessage { String url(); - String payload(); + Optional payload(); }