import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class LteService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get LTE enable status
     *
     * LWM2M path: /1024//131
     *
     * @tapVersion(">=2.13")
     * @return
     */
    getEnabled() {
        return this.serviceCallRunner.execute(this.getEnabledCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//131
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    getEnabledCall() {
        const callOptions = Object.assign({}, this.resources.getEnabled);
        return callOptions;
    }
    /**
     * Write LTE enable status
     *
     * LWM2M path: /1024//131
     *
     * @tapVersion(">=2.13")
     * @param isEnabled input
     * @return
     */
    putEnabled(
    /*
     *
     */
    isEnabled) {
        return this.serviceCallRunner.execute(this.putEnabledCall(isEnabled));
    }
    /**
     *
     *
     * LWM2M path: /1024//131
     *
     * @tapVersion(">=2.13")
     * @param isEnabled input
     * @return call options
     */
    putEnabledCall(
    /*
     *
     */
    isEnabled) {
        const callOptions = Object.assign({}, this.resources.putEnabled);
        callOptions.body = isEnabled;
        return callOptions;
    }
    /**
     * Get application data for LTE
     *
     * LWM2M path: /1024//122
     *
     * @tapVersion(">=2.11")
     * @return
     */
    getApplicationData() {
        return this.serviceCallRunner.execute(this.getApplicationDataCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//122
     *
     * @tapVersion(">=2.11")
     * @return call options
     */
    getApplicationDataCall() {
        const callOptions = Object.assign({}, this.resources.getApplicationData);
        return callOptions;
    }
    /**
     * Set application data for LTE
     *
     * LWM2M path: /1024//122
     *
     * @tapVersion(">=2.11")
     * @param value input
     * @return
     */
    putApplicationData(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putApplicationDataCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//122
     *
     * @tapVersion(">=2.11")
     * @param value input
     * @return call options
     */
    putApplicationDataCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putApplicationData);
        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