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.timezone
 *
 * https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.timezone.html
 */
public class Timezone {

    private Timezone() {}

    public static LocalCall<String> getOffset() {
        return new LocalCall<>("timezone.get_offset", Optional.empty(), Optional.empty(),
                new TypeToken<String>(){});
    }
}

@@ -323,16 +323,17 @@
 zone() %7B
+ 
 %7D%0A%0A    p

Fix checkstyle