import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class TargetService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @return
     */
    getProtocol() {
        return this.serviceCallRunner.execute(this.getProtocolCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @return call options
     */
    getProtocolCall() {
        const callOptions = Object.assign({}, this.resources.getProtocol);
        return callOptions;
    }
    /**
     * Write target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return
     */
    setProtocol(
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        return this.serviceCallRunner.execute(this.setProtocolCall(targetProtocol));
    }
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return call options
     */
    setProtocolCall(
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        const callOptions = Object.assign({}, this.resources.setProtocol);
        callOptions.body = targetProtocol;
        return callOptions;
    }
    /**
     * Configure target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return
     */
    putProtocol(
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        return this.serviceCallRunner.execute(this.putProtocolCall(targetProtocol));
    }
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return call options
     */
    putProtocolCall(
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        const callOptions = Object.assign({}, this.resources.putProtocol);
        callOptions.body = targetProtocol;
        return callOptions;
    }
    /**
     * Get core type
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @return
     */
    getCoreType() {
        return this.serviceCallRunner.execute(this.getCoreTypeCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @return call options
     */
    getCoreTypeCall() {
        const callOptions = Object.assign({}, this.resources.getCoreType);
        return callOptions;
    }
    /**
     * Write core type
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putCoreType(
    /*
     * Write core type
     */
    value) {
        return this.serviceCallRunner.execute(this.putCoreTypeCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putCoreTypeCall(
    /*
     * Write core type
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putCoreType);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Check if target is connected
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=1.63")
     * @return
     */
    isConnected() {
        return this.serviceCallRunner.execute(this.isConnectedCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=1.63")
     * @return call options
     */
    isConnectedCall() {
        const callOptions = Object.assign({}, this.resources.isConnected);
        return callOptions;
    }
    /**
     * Connect to target
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=")
     * @return
     */
    connect() {
        return this.serviceCallRunner.execute(this.connectCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=")
     * @return call options
     */
    connectCall() {
        const callOptions = Object.assign({}, this.resources.connect);
        return callOptions;
    }
    /**
     * Disconnect from target
     *
     * LWM2M path: /1027//4
     *
     * @tapVersion(">=")
     * @return
     */
    disconnect() {
        return this.serviceCallRunner.execute(this.disconnectCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//4
     *
     * @tapVersion(">=")
     * @return call options
     */
    disconnectCall() {
        const callOptions = Object.assign({}, this.resources.disconnect);
        return callOptions;
    }
    /**
     * Reset target
     *
     * LWM2M path: /1027//5
     *
     * @tapVersion(">=")
     * @return
     */
    reset() {
        return this.serviceCallRunner.execute(this.resetCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//5
     *
     * @tapVersion(">=")
     * @return call options
     */
    resetCall() {
        const callOptions = Object.assign({}, this.resources.reset);
        return callOptions;
    }
    /**
     * Get target firmware version
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @return
     */
    getFirmwareVersion() {
        return this.serviceCallRunner.execute(this.getFirmwareVersionCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @return call options
     */
    getFirmwareVersionCall() {
        const callOptions = Object.assign({}, this.resources.getFirmwareVersion);
        return callOptions;
    }
    /**
     * Write target firmware version
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putFirmwareVersion(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putFirmwareVersionCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putFirmwareVersionCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putFirmwareVersion);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get vcc
     *
     * LWM2M path: /1027//7
     *
     * @tapVersion(">=")
     * @return
     */
    getVcc() {
        return this.serviceCallRunner.execute(this.getVccCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//7
     *
     * @tapVersion(">=")
     * @return call options
     */
    getVccCall() {
        const callOptions = Object.assign({}, this.resources.getVcc);
        return callOptions;
    }
    /**
     * Get min voltage
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @return
     */
    getMinVoltage() {
        return this.serviceCallRunner.execute(this.getMinVoltageCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @return call options
     */
    getMinVoltageCall() {
        const callOptions = Object.assign({}, this.resources.getMinVoltage);
        return callOptions;
    }
    /**
     * Write min voltage value
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putMinVoltage(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putMinVoltageCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putMinVoltageCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putMinVoltage);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get max voltage
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @return
     */
    getMaxVoltage() {
        return this.serviceCallRunner.execute(this.getMaxVoltageCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @return call options
     */
    getMaxVoltageCall() {
        const callOptions = Object.assign({}, this.resources.getMaxVoltage);
        return callOptions;
    }
    /**
     * Write max voltage value
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putMaxVoltage(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putMaxVoltageCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putMaxVoltageCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putMaxVoltage);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get page size
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @return
     */
    getPageSize() {
        return this.serviceCallRunner.execute(this.getPageSizeCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @return call options
     */
    getPageSizeCall() {
        const callOptions = Object.assign({}, this.resources.getPageSize);
        return callOptions;
    }
    /**
     * Write page size
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putPageSize(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putPageSizeCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putPageSizeCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putPageSize);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get communication stats
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return
     */
    getComStats() {
        return this.serviceCallRunner.execute(this.getComStatsCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return call options
     */
    getComStatsCall() {
        const callOptions = Object.assign({}, this.resources.getComStats);
        return callOptions;
    }
    /**
     * Clear communication stats
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return
     */
    clearComStats() {
        return this.serviceCallRunner.execute(this.clearComStatsCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return call options
     */
    clearComStatsCall() {
        const callOptions = Object.assign({}, this.resources.clearComStats);
        return callOptions;
    }
    /**
     * List available target protocols
     *
     * LWM2M path: /1027//20
     *
     * @tapVersion(">=")
     * @return
     */
    getAvailableProtocols() {
        return this.serviceCallRunner.execute(this.getAvailableProtocolsCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//20
     *
     * @tapVersion(">=")
     * @return call options
     */
    getAvailableProtocolsCall() {
        const callOptions = Object.assign({}, this.resources.getAvailableProtocols);
        return callOptions;
    }
    /**
     * Get protocol configuration options
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return
     */
    getSerialModbusConfiguration() {
        return this.serviceCallRunner.execute(this.getSerialModbusConfigurationCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    getSerialModbusConfigurationCall() {
        const callOptions = Object.assign({}, this.resources.getSerialModbusConfiguration);
        return callOptions;
    }
    /**
     * Temporary update configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    setSerialModbusConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setSerialModbusConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    setSerialModbusConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.setSerialModbusConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Update protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putSerialModbusConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putSerialModbusConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putSerialModbusConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putSerialModbusConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get S3P protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return
     */
    getS3PConfiguration() {
        return this.serviceCallRunner.execute(this.getS3PConfigurationCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    getS3PConfigurationCall() {
        const callOptions = Object.assign({}, this.resources.getS3PConfiguration);
        return callOptions;
    }
    /**
     * Temporary update S3P configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    setS3PConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setS3PConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    setS3PConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.setS3PConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Update protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putS3PConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putS3PConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putS3PConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putS3PConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get Modbus TCP protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return
     */
    getModbusTcpConfiguration() {
        return this.serviceCallRunner.execute(this.getModbusTcpConfigurationCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    getModbusTcpConfigurationCall() {
        const callOptions = Object.assign({}, this.resources.getModbusTcpConfiguration);
        return callOptions;
    }
    /**
     * Temporary update Modbus TCP configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    setModbusTcpConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setModbusTcpConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    setModbusTcpConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.setModbusTcpConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Update Modbus TCP configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    putModbusTcpConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putModbusTcpConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    putModbusTcpConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putModbusTcpConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Get CAN protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @return
     */
    getCanConfiguration() {
        return this.serviceCallRunner.execute(this.getCanConfigurationCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @return call options
     */
    getCanConfigurationCall() {
        const callOptions = Object.assign({}, this.resources.getCanConfiguration);
        return callOptions;
    }
    /**
     * Temporary update CAN configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @param value input
     * @return
     */
    setCanConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setCanConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @param value input
     * @return call options
     */
    setCanConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.setCanConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Update CAN protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @param value input
     * @return
     */
    putCanConfiguration(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putCanConfigurationCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=2.6")
     * @param value input
     * @return call options
     */
    putCanConfigurationCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.putCanConfiguration);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Reset target
     *
     * LWM2M path: /1027//30
     *
     * @tapVersion(">=")
     * @return
     */
    postResetKeep() {
        return this.serviceCallRunner.execute(this.postResetKeepCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//30
     *
     * @tapVersion(">=")
     * @return call options
     */
    postResetKeepCall() {
        const callOptions = Object.assign({}, this.resources.postResetKeep);
        return callOptions;
    }
    /**
     * Debug access
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @param address input
     * @return
     */
    readDebug(
    /*
     *
     */
    address) {
        return this.serviceCallRunner.execute(this.readDebugCall(address));
    }
    /**
     *
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @param address input
     * @return call options
     */
    readDebugCall(
    /*
     *
     */
    address) {
        const callOptions = Object.assign({}, this.resources.readDebug);
        callOptions.body = address;
        return callOptions;
    }
    /**
     * Write address
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @return
     */
    writeDebug() {
        return this.serviceCallRunner.execute(this.writeDebugCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @return call options
     */
    writeDebugCall() {
        const callOptions = Object.assign({}, this.resources.writeDebug);
        return callOptions;
    }
    /**
     * Register access
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return
     */
    getRegisterAccess() {
        return this.serviceCallRunner.execute(this.getRegisterAccessCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    getRegisterAccessCall() {
        const callOptions = Object.assign({}, this.resources.getRegisterAccess);
        return callOptions;
    }
    /**
     * Write register value
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return
     */
    postRegisterAccess() {
        return this.serviceCallRunner.execute(this.postRegisterAccessCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    postRegisterAccessCall() {
        const callOptions = Object.assign({}, this.resources.postRegisterAccess);
        return callOptions;
    }
    /**
     * Transparent send and receive
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    sendReceive(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.sendReceiveCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    sendReceiveCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.sendReceive);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Transparent send
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    send(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.sendCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    sendCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.send);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Read data transparent mode with limit
     *
     * LWM2M path: /1027//35
     *
     * @tapVersion(">=")
     * @return
     */
    readBytes() {
        return this.serviceCallRunner.execute(this.readBytesCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//35
     *
     * @tapVersion(">=")
     * @return call options
     */
    readBytesCall() {
        const callOptions = Object.assign({}, this.resources.readBytes);
        return callOptions;
    }
    /**
     * Generic modbus write
     *
     * LWM2M path: /1027//37
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    modbusWrite(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.modbusWriteCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1027//37
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    modbusWriteCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.modbusWrite);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Generic modbus read
     *
     * LWM2M path: /1027//38
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    modbusRead(
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.modbusReadCall(data));
    }
    /**
     *
     *
     * LWM2M path: /1027//38
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    modbusReadCall(
    /*
     *
     */
    data) {
        const callOptions = Object.assign({}, this.resources.modbusRead);
        callOptions.body = data;
        return callOptions;
    }
    /**
     * Get current sub protocol
     *
     * LWM2M path: /1027//40
     *
     * @tapVersion(">=")
     * @return
     */
    getSubProtocol() {
        return this.serviceCallRunner.execute(this.getSubProtocolCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//40
     *
     * @tapVersion(">=")
     * @return call options
     */
    getSubProtocolCall() {
        const callOptions = Object.assign({}, this.resources.getSubProtocol);
        return callOptions;
    }
    /**
     * Get byte length received in buffer (when using serial communication)
     *
     * LWM2M path: /1027//43
     *
     * @tapVersion(">=1.57")
     * @return
     */
    getReceivedCount() {
        return this.serviceCallRunner.execute(this.getReceivedCountCall());
    }
    /**
     *
     *
     * LWM2M path: /1027//43
     *
     * @tapVersion(">=1.57")
     * @return call options
     */
    getReceivedCountCall() {
        const callOptions = Object.assign({}, this.resources.getReceivedCount);
        return callOptions;
    }
    /**
     * Read memory at given address on the target application
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    readAddress(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.readAddressCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    readAddressCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.readAddress);
        callOptions.body = value;
        return callOptions;
    }
    /**
     * Write into memory on target
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    writeAddress(
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.writeAddressCall(value));
    }
    /**
     *
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    writeAddressCall(
    /*
     *
     */
    value) {
        const callOptions = Object.assign({}, this.resources.writeAddress);
        callOptions.body = value;
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64, 