[TS] Update auto-generated TypeScript Bindings
[ldk-java] / ts / structs / Result_NoneChannelMonitorUpdateErrZ.mts
index c91c9836c004b6213f8d3ce4f34cc9f721dd3e75..07782f1172a8080963a4b1892ae9f22f9d64fa6b 100644 (file)
@@ -294,18 +294,27 @@ export class Result_NoneChannelMonitorUpdateErrZ extends CommonBase {
                        return new Result_NoneChannelMonitorUpdateErrZ_Err(null, ptr);
                }
        }
+       /**
+        * Creates a new CResult_NoneChannelMonitorUpdateErrZ in the success state.
+        */
        public static constructor_ok(): Result_NoneChannelMonitorUpdateErrZ {
                const ret: number = bindings.CResult_NoneChannelMonitorUpdateErrZ_ok();
                const ret_hu_conv: Result_NoneChannelMonitorUpdateErrZ = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
                return ret_hu_conv;
        }
 
+       /**
+        * Creates a new CResult_NoneChannelMonitorUpdateErrZ in the error state.
+        */
        public static constructor_err(e: ChannelMonitorUpdateErr): Result_NoneChannelMonitorUpdateErrZ {
                const ret: number = bindings.CResult_NoneChannelMonitorUpdateErrZ_err(e);
                const ret_hu_conv: Result_NoneChannelMonitorUpdateErrZ = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
                return ret_hu_conv;
        }
 
+       /**
+        * Checks if the given object is currently in the success state
+        */
        public is_ok(): boolean {
                const ret: boolean = bindings.CResult_NoneChannelMonitorUpdateErrZ_is_ok(this.ptr);
                return ret;
@@ -316,6 +325,10 @@ export class Result_NoneChannelMonitorUpdateErrZ extends CommonBase {
                return ret;
        }
 
+       /**
+        * Creates a new CResult_NoneChannelMonitorUpdateErrZ which has the same data as `orig`
+        * but with all dynamically-allocated buffers duplicated in new buffers.
+        */
        public clone(): Result_NoneChannelMonitorUpdateErrZ {
                const ret: number = bindings.CResult_NoneChannelMonitorUpdateErrZ_clone(this.ptr);
                const ret_hu_conv: Result_NoneChannelMonitorUpdateErrZ = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);