import { SERVICE_CALLS } from "./service-calls";
import { AbstractService } from "@iotize/tap";
export class WifiService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get Wi-Fi mode
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @return
     */
    getMode() {
        return this.serviceCallRunner.execute(this.getModeCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @return call options
     */
    getModeCall() {
        const callOptions = Object.assign({}, this.resources.getMode);
        return callOptions;
    }
    /**
     * Write Wi-Fi mode
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @param mode input
     * @return
     */
    putMode(
    /*
     *
     */
    mode) {
        return this.serviceCallRunner.execute(this.putModeCall(mode));
    }
    /**
     *
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @param mode input
     * @return call options
     */
    putModeCall(
    /*
     *
     */
    mode) {
        const callOptions = Object.assign({}, this.resources.putMode);
        callOptions.body = mode;
        return callOptions;
    }
    /**
     * Get Wi-Fi key
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @return
     */
    getKey() {
        return this.serviceCallRunner.execute(this.getKeyCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @return call options
     */
    getKeyCall() {
        const callOptions = Object.assign({}, this.resources.getKey);
        return callOptions;
    }
    /**
     * Write network key
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putKey(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putKeyCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putKeyCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putKey);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get Wi-Fi hostname
     *
     * LWM2M path: /1024//35
     *
     * @tapVersion(">=")
     * @return
     */
    getHostname() {
        return this.serviceCallRunner.execute(this.getHostnameCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//35
     *
     * @tapVersion(">=")
     * @return call options
     */
    getHostnameCall() {
        const callOptions = Object.assign({}, this.resources.getHostname);
        return callOptions;
    }
    /**
     * Get IoTize device ip on the network
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @return
     */
    getIp() {
        return this.serviceCallRunner.execute(this.getIpCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @return call options
     */
    getIpCall() {
        const callOptions = Object.assign({}, this.resources.getIp);
        return callOptions;
    }
    /**
     * Write Tap IP
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putIp(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putIpCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putIpCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putIp);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get gateway ip on the network
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @return
     */
    getGatewayIp() {
        return this.serviceCallRunner.execute(this.getGatewayIpCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @return call options
     */
    getGatewayIpCall() {
        const callOptions = Object.assign({}, this.resources.getGatewayIp);
        return callOptions;
    }
    /**
     * Write gateway ip
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putGatewayIp(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putGatewayIpCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putGatewayIpCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putGatewayIp);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get network ip mask
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @return
     */
    getIpMask() {
        return this.serviceCallRunner.execute(this.getIpMaskCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    getIpMaskCall() {
        const callOptions = Object.assign({}, this.resources.getIpMask);
        return callOptions;
    }
    /**
     * Write network ip mask
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putIpMask(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putIpMaskCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putIpMaskCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putIpMask);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get Wi-Fi ssid
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @return
     */
    getSSID() {
        return this.serviceCallRunner.execute(this.getSSIDCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @return call options
     */
    getSSIDCall() {
        const callOptions = Object.assign({}, this.resources.getSSID);
        return callOptions;
    }
    /**
     * Write Wi-Fi ssid
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putSSID(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putSSIDCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putSSIDCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putSSID);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get Wi-Fi country code (ISO 3166 codes)
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @return
     */
    getCountryCode() {
        return this.serviceCallRunner.execute(this.getCountryCodeCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    getCountryCodeCall() {
        const callOptions = Object.assign({}, this.resources.getCountryCode);
        return callOptions;
    }
    /**
     * Write Wi-Fi country code (ISO 3166 codes)
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @param countryCode input
     * @return
     */
    putCountryCode(
    /*
     * ISO 3166 codes
     */
    countryCode) {
        return this.serviceCallRunner.execute(this.putCountryCodeCall(countryCode));
    }
    /**
     *
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @param countryCode input
     * @return call options
     */
    putCountryCodeCall(
    /*
     * ISO 3166 codes
     */
    countryCode) {
        const callOptions = Object.assign({}, this.resources.putCountryCode);
        callOptions.body = countryCode;
        return callOptions;
    }
    /**
     * Get Wi-Fi protocol
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @return
     */
    getProtocol() {
        return this.serviceCallRunner.execute(this.getProtocolCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    getProtocolCall() {
        const callOptions = Object.assign({}, this.resources.getProtocol);
        return callOptions;
    }
    /**
     * Write Wi-Fi protocol
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @param protocol input
     * @return
     */
    putProtocol(
    /*
     *
     */
    protocol) {
        return this.serviceCallRunner.execute(this.putProtocolCall(protocol));
    }
    /**
     *
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @param protocol input
     * @return call options
     */
    putProtocolCall(
    /*
     *
     */
    protocol) {
        const callOptions = Object.assign({}, this.resources.putProtocol);
        callOptions.body = protocol;
        return callOptions;
    }
    /**
     * Get Wi-Fi TX max power
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @return
     */
    getTxPower() {
        return this.serviceCallRunner.execute(this.getTxPowerCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    getTxPowerCall() {
        const callOptions = Object.assign({}, this.resources.getTxPower);
        return callOptions;
    }
    /**
     * Write Wi-Fi TX max power
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @param maxPower input
     * @return
     */
    putTxPower(
    /*
     *
     */
    maxPower) {
        return this.serviceCallRunner.execute(this.putTxPowerCall(maxPower));
    }
    /**
     *
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @param maxPower input
     * @return call options
     */
    putTxPowerCall(
    /*
     *
     */
    maxPower) {
        const callOptions = Object.assign({}, this.resources.putTxPower);
        callOptions.body = maxPower;
        return callOptions;
    }
    /**
     * Get Wi-Fi SSID visibility
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @return
     */
    getSSIDVisibility() {
        return this.serviceCallRunner.execute(this.getSSIDVisibilityCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    getSSIDVisibilityCall() {
        const callOptions = Object.assign({}, this.resources.getSSIDVisibility);
        return callOptions;
    }
    /**
     * Write Wi-Fi SSID visibility
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return
     */
    putSSIDVisibility(
    /*
     *
     */
    visibility) {
        return this.serviceCallRunner.execute(this.putSSIDVisibilityCall(visibility));
    }
    /**
     *
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return call options
     */
    putSSIDVisibilityCall(
    /*
     *
     */
    visibility) {
        const callOptions = Object.assign({}, this.resources.putSSIDVisibility);
        callOptions.body = visibility;
        return callOptions;
    }
    /**
     * Get Wi-Fi key visibility
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @return
     */
    getKeyVisibility() {
        return this.serviceCallRunner.execute(this.getKeyVisibilityCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    getKeyVisibilityCall() {
        const callOptions = Object.assign({}, this.resources.getKeyVisibility);
        return callOptions;
    }
    /**
     * Write Wi-Fi key visibility
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return
     */
    putKeyVisibility(
    /*
     *
     */
    visibility) {
        return this.serviceCallRunner.execute(this.putKeyVisibilityCall(visibility));
    }
    /**
     *
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return call options
     */
    putKeyVisibilityCall(
    /*
     *
     */
    visibility) {
        const callOptions = Object.assign({}, this.resources.putKeyVisibility);
        callOptions.body = visibility;
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64, 