[TS] Update auto-generated TypeScript Bindings
[ldk-java] / ts / structs / Result_NoneChannelMonitorUpdateErrZ.mts
index 68b4adc57ec11e44d48c7af25e0848ad1349f022..07782f1172a8080963a4b1892ae9f22f9d64fa6b 100644 (file)
@@ -279,7 +279,6 @@ import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
 
 import CommonBase from './CommonBase.mjs';
 import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
 
 
 
@@ -295,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;
@@ -317,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);