[Java] Update auto-generated Java bindings with new upstream getters
[ldk-java] / src / main / java / org / ldk / structs / QueryShortChannelIds.java
index aeb49aae5e1361913842c6f2caca22f6730c2d2b..3791e0f3395f8f9d4d2fd088d025637bf6ff3416 100644 (file)
@@ -45,6 +45,17 @@ public class QueryShortChannelIds extends CommonBase {
                Reference.reachabilityFence(val);
        }
 
+       /**
+        * The short_channel_ids that are being queried
+        * 
+        * Returns a copy of the field.
+        */
+       public long[] get_short_channel_ids() {
+               long[] ret = bindings.QueryShortChannelIds_get_short_channel_ids(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * The short_channel_ids that are being queried
         */
@@ -62,7 +73,7 @@ public class QueryShortChannelIds extends CommonBase {
                Reference.reachabilityFence(chain_hash_arg);
                Reference.reachabilityFence(short_channel_ids_arg);
                if (ret >= 0 && ret <= 4096) { return null; }
-               QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new QueryShortChannelIds(null, ret); }
+               org.ldk.structs.QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.QueryShortChannelIds(null, ret); }
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;
        }
@@ -80,7 +91,7 @@ public class QueryShortChannelIds extends CommonBase {
                long ret = bindings.QueryShortChannelIds_clone(this.ptr);
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new QueryShortChannelIds(null, ret); }
+               org.ldk.structs.QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.QueryShortChannelIds(null, ret); }
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }