- public boolean get_full_information(ReplyShortChannelIdsEnd this_ptr) {
- boolean ret = bindings.ReplyShortChannelIdsEnd_get_full_information(this_ptr.ptr & ~1);
- this.ptrs_to.add(this_ptr);
- return ret;
+ /**
+ * Constructs a new ReplyShortChannelIdsEnd given each field
+ */
+ public static ReplyShortChannelIdsEnd of(byte[] chain_hash_arg, boolean full_information_arg) {
+ long ret = bindings.ReplyShortChannelIdsEnd_new(chain_hash_arg, full_information_arg);
+ ReplyShortChannelIdsEnd ret_hu_conv = new ReplyShortChannelIdsEnd(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Creates a copy of the ReplyShortChannelIdsEnd
+ */
+ public ReplyShortChannelIdsEnd clone() {
+ long ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
+ ReplyShortChannelIdsEnd ret_hu_conv = new ReplyShortChannelIdsEnd(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;