[Java] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / src / main / java / org / ldk / structs / ChannelInfo.java
index 8e74795e83202d1b508e8eded88de68e4f2e6f15..84b22d2304c59b01115d872b680bfe422b784cc4 100644 (file)
@@ -247,6 +247,15 @@ public class ChannelInfo extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a ChannelInfo object
+        */
+       public String to_str() {
+               String ret = bindings.ChannelInfo_to_str(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * Serialize the ChannelInfo object into a byte array which can be read by ChannelInfo_read
         */