@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class Shutdown extends CommonBase {
Shutdown(Object _dummy, long ptr) { super(ptr); }
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class Shutdown extends CommonBase {
Shutdown(Object _dummy, long ptr) { super(ptr); }
public void set_channel_id(byte[] val) {
bindings.Shutdown_set_channel_id(this.ptr, val);
}
public void set_channel_id(byte[] val) {
bindings.Shutdown_set_channel_id(this.ptr, val);
}
public void set_scriptpubkey(byte[] val) {
bindings.Shutdown_set_scriptpubkey(this.ptr, val);
}
public void set_scriptpubkey(byte[] val) {
bindings.Shutdown_set_scriptpubkey(this.ptr, val);
}
- public static Shutdown constructor_new(byte[] channel_id_arg, byte[] scriptpubkey_arg) {
+ /**
+ * Constructs a new Shutdown given each field
+ */
+ public static Shutdown of(byte[] channel_id_arg, byte[] scriptpubkey_arg) {