RpcInput/RpcOutput should be DataObjects
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Jul 2018 09:11:28 +0000 (11:11 +0200)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 19 Jun 2024 00:41:24 +0000 (10:41 +1000)
RPC code already adds DataObject (instead of RpcInput) here, let's
make sure this is captured in the API contract.

Change-Id: Ibd62a28ecda1f598f34ccf085185475a3a16dd58
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/RpcInput.java
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/RpcOutput.java

index a79663d53f32efe1ce6aac5f4901536295042f5b..b1664e0dea4aba97d854bcb455d301d70a628c20 100644 (file)
@@ -11,6 +11,6 @@ package org.opendaylight.yangtools.yang.binding;
  * Marker interface for all interfaces generated for {@code input} statement within an {@code action} or an {@code rpc}
  * statement.
  */
-public interface RpcInput extends DataContainer {
+public interface RpcInput extends DataObject {
 
 }
index 502807e81c44f9340a649ea0fdcf48db36ce42db..3f0d07327341a0b29b077b09aad1cb44173be196 100644 (file)
@@ -16,6 +16,6 @@ import com.google.common.annotations.Beta;
  * @author Robert Varga
  */
 @Beta
-public interface RpcOutput extends DataContainer {
+public interface RpcOutput extends DataObject {
 
 }