import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class EthernetService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get Ethernet IP
     *
     * LWM2M path: /1024//85
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getIp() {
        return this.serviceCallRunner.execute(this.getIpCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//85
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getIpCall() {
        const callOptions = Object.assign({}, this.resources.getIp);
        return callOptions;
    }
    /**
     * Set ethernet IP address
     *
     * LWM2M path: /1024//85
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return
     */
    putIp(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.putIpCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1024//85
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return call options
     */
    putIpCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.putIp);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Get gateway IP address
     *
     * LWM2M path: /1024//86
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getGatewayIp() {
        return this.serviceCallRunner.execute(this.getGatewayIpCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//86
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getGatewayIpCall() {
        const callOptions = Object.assign({}, this.resources.getGatewayIp);
        return callOptions;
    }
    /**
     * Write gateway IP address
     *
     * LWM2M path: /1024//86
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return
     */
    putGatewayIp(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.putGatewayIpCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1024//86
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return call options
     */
    putGatewayIpCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.putGatewayIp);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Get ethernet gateway IP mask
     *
     * LWM2M path: /1024//87
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getIpMask() {
        return this.serviceCallRunner.execute(this.getIpMaskCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//87
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getIpMaskCall() {
        const callOptions = Object.assign({}, this.resources.getIpMask);
        return callOptions;
    }
    /**
     * Write ethernet gateway IP mask
     *
     * LWM2M path: /1024//87
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return
     */
    putIpMask(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.putIpMaskCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1024//87
     *
     * @tapVersion(">=2.7")
     * @param data input
     * @return call options
     */
    putIpMaskCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.putIpMask);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Get ethernet hostname
     *
     * LWM2M path: /1024//93
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getHostname() {
        return this.serviceCallRunner.execute(this.getHostnameCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//93
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getHostnameCall() {
        const callOptions = Object.assign({}, this.resources.getHostname);
        return callOptions;
    }
    /**
     * Get ethernet network dns ip
     *
     * LWM2M path: /1024//124
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getDnsIp() {
        return this.serviceCallRunner.execute(this.getDnsIpCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//124
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getDnsIpCall() {
        const callOptions = Object.assign({}, this.resources.getDnsIp);
        return callOptions;
    }
    /**
     * Write ethernet network dns ip
     *
     * LWM2M path: /1024//124
     *
     * @tapVersion(">=2.7")
     * @param key input
     * @return
     */
    putDnsIp(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putDnsIpCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//124
     *
     * @tapVersion(">=2.7")
     * @param key input
     * @return call options
     */
    putDnsIpCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putDnsIp);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get Ethernet enable status
     *
     * LWM2M path: /1024//130
     *
     * @tapVersion(">=2.7")
     * @return
     */
    getEnabled() {
        return this.serviceCallRunner.execute(this.getEnabledCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//130
     *
     * @tapVersion(">=2.7")
     * @return call options
     */
    getEnabledCall() {
        const callOptions = Object.assign({}, this.resources.getEnabled);
        return callOptions;
    }
    /**
     * Write Ethernet enable status
     *
     * LWM2M path: /1024//130
     *
     * @tapVersion(">=2.7")
     * @param isEnabled input
     * @return
     */
    putEnabled(
    /*
     *
     */
    isEnabled) {
        return this.serviceCallRunner.execute(this.putEnabledCall(isEnabled));
    }
    /**
     *
     *
     * LWM2M path: /1024//130
     *
     * @tapVersion(">=2.7")
     * @param isEnabled input
     * @return call options
     */
    putEnabledCall(
    /*
     *
     */
    isEnabled) {
        const callOptions = Object.assign({}, this.resources.putEnabled);
        callOptions.body = isEnabled;
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64, 