import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class CloudService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get cloud connection mode
     *
     * LWM2M path: /1024//26
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getPlatform() {
        return this.serviceCallRunner.execute(this.getPlatformCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//26
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getPlatformCall() {
        const callOptions = Object.assign({}, this.resources.getPlatform);
        return callOptions;
    }
    /**
     * Write cloud connection mode
     *
     * LWM2M path: /1024//26
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putPlatform(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putPlatformCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//26
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putPlatformCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putPlatform);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Uploading period for the cloud
     *
     * LWM2M path: /1024//33
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getDataLogUploadPeriod() {
        return this.serviceCallRunner.execute(this.getDataLogUploadPeriodCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//33
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getDataLogUploadPeriodCall() {
        const callOptions = Object.assign({}, this.resources.getDataLogUploadPeriod);
        return callOptions;
    }
    /**
     * Write cloud mqtt period
     *
     * LWM2M path: /1024//33
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putDataLogUploadPeriod(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putDataLogUploadPeriodCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//33
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putDataLogUploadPeriodCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putDataLogUploadPeriod);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get the cloud MQTT broker port
     *
     * LWM2M path: /1024//61
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getMqttBrokerPort() {
        return this.serviceCallRunner.execute(this.getMqttBrokerPortCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//61
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getMqttBrokerPortCall() {
        const callOptions = Object.assign({}, this.resources.getMqttBrokerPort);
        return callOptions;
    }
    /**
     * Write cloud MQTT broker port
     *
     * LWM2M path: /1024//61
     *
     * @tapVersion(">=1.0")
     * @param name input
     * @return
     */
    putMqttBrokerPort(
    /*
     *
     */
    name) {
        return this.serviceCallRunner.execute(this.putMqttBrokerPortCall(name));
    }
    /**
     *
     *
     * LWM2M path: /1024//61
     *
     * @tapVersion(">=1.0")
     * @param name input
     * @return call options
     */
    putMqttBrokerPortCall(
    /*
     *
     */
    name) {
        const callOptions = Object.assign({}, this.resources.putMqttBrokerPort);
        callOptions.body = name;
        return callOptions;
    }
    /**
     * Get cloud MQTT client id
     *
     * LWM2M path: /1024//27
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getMqttClientId() {
        return this.serviceCallRunner.execute(this.getMqttClientIdCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//27
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getMqttClientIdCall() {
        const callOptions = Object.assign({}, this.resources.getMqttClientId);
        return callOptions;
    }
    /**
     * Write cloud MQTT client id
     *
     * LWM2M path: /1024//27
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return
     */
    putMqttClientId(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putMqttClientIdCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1024//27
     *
     * @tapVersion(">=1.0")
     * @param value input
     * @return call options
     */
    putMqttClientIdCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putMqttClientId);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get cloud MQTT login id
     *
     * LWM2M path: /1024//28
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getMqttUsername() {
        return this.serviceCallRunner.execute(this.getMqttUsernameCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//28
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getMqttUsernameCall() {
        const callOptions = Object.assign({}, this.resources.getMqttUsername);
        return callOptions;
    }
    /**
     * Write cloud MQTT login id
     *
     * LWM2M path: /1024//28
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putMqttUsername(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putMqttUsernameCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//28
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putMqttUsernameCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putMqttUsername);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get cloud MQTT user password
     *
     * LWM2M path: /1024//29
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getMqttPassword() {
        return this.serviceCallRunner.execute(this.getMqttPasswordCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//29
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getMqttPasswordCall() {
        const callOptions = Object.assign({}, this.resources.getMqttPassword);
        return callOptions;
    }
    /**
     * Write cloud MQTT user password
     *
     * LWM2M path: /1024//29
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putMqttPassword(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putMqttPasswordCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//29
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putMqttPasswordCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putMqttPassword);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get cloud data log public topic
     *
     * LWM2M path: /1024//68
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getDataLogPublishTopic() {
        return this.serviceCallRunner.execute(this.getDataLogPublishTopicCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//68
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getDataLogPublishTopicCall() {
        const callOptions = Object.assign({}, this.resources.getDataLogPublishTopic);
        return callOptions;
    }
    /**
     * Write cloud data log publish topic
     *
     * LWM2M path: /1024//68
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putDataLogPublishTopic(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putDataLogPublishTopicCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//68
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putDataLogPublishTopicCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putDataLogPublishTopic);
        callOptions.body = key;
        return callOptions;
    }
    /**
     * Get cloud data log subscribe topic
     *
     * LWM2M path: /1024//69
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getDataLogSubscribeTopic() {
        return this.serviceCallRunner.execute(this.getDataLogSubscribeTopicCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//69
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getDataLogSubscribeTopicCall() {
        const callOptions = Object.assign({}, this.resources.getDataLogSubscribeTopic);
        return callOptions;
    }
    /**
     * Write cloud data log subscribe topic
     *
     * LWM2M path: /1024//69
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return
     */
    putDataLogSubscribeTopic(
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putDataLogSubscribeTopicCall(key));
    }
    /**
     *
     *
     * LWM2M path: /1024//69
     *
     * @tapVersion(">=1.0")
     * @param key input
     * @return call options
     */
    putDataLogSubscribeTopicCall(
    /*
     *
     */
    key) {
        const callOptions = Object.assign({}, this.resources.putDataLogSubscribeTopic);
        callOptions.body = key;
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64, 