diff --git a/src/main/java/com/suse/salt/netapi/calls/modules/TransactionalUpdate.java b/src/main/java/com/suse/salt/netapi/calls/modules/TransactionalUpdate.java new file mode 100644 index 000000000..e72ded76b --- /dev/null +++ b/src/main/java/com/suse/salt/netapi/calls/modules/TransactionalUpdate.java @@ -0,0 +1,22 @@ +package com.suse.salt.netapi.calls.modules; + +import com.suse.salt.netapi.calls.LocalCall; + +import com.google.gson.reflect.TypeToken; + +import java.util.Optional; + +/** + * salt.modules.transactional_update + * + * https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.transactional_update.html + */ +public class TransactionalUpdate { + private TransactionalUpdate() { } + + public static LocalCall reboot() { + return new LocalCall<>("transactional_update.reboot", Optional.empty(), Optional.empty(), + new TypeToken() { + }); + } +}