-public class ChannelMonitorUpdate extends CommonBase {
- ChannelMonitorUpdate(Object _dummy, long ptr) { super(ptr); }
- @Override @SuppressWarnings("deprecation")
- protected void finalize() throws Throwable {
- super.finalize();
- if (ptr != 0) { bindings.ChannelMonitorUpdate_free(ptr); }
+
+
+ export default class ChannelMonitorUpdate extends CommonBase {
+ constructor(_dummy: object, ptr: number) {
+ super(ptr);
+ }
+
+
+ protected finalize() {
+ super.finalize();
+
+ if (this.ptr != 0) {
+ bindings.ChannelMonitorUpdate_free(this.ptr);
+ }
+ }
+ public number get_update_id() {
+ number ret = bindings.ChannelMonitorUpdate_get_update_id(this.ptr);
+ return ret;