import { SERVICE_CALLS } from "./service-calls";
import { AbstractService } from "@iotize/tap";
export class GpioService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get GPIO variable mode
     *
     * LWM2M path: /1029/{variableId}/4
     *
     * @tapVersion(">=")
     * @param variableId input
     * @return
     */
    getGpioMode(
    /*
     * ID of the variable
     */
    variableId) {
        return this.serviceCallRunner.execute(this.getGpioModeCall(variableId));
    }
    /**
     *
     *
     * LWM2M path: /1029/{variableId}/4
     *
     * @tapVersion(">=")
     * @param variableId input
     * @return call options
     */
    getGpioModeCall(
    /*
     * ID of the variable
     */
    variableId) {
        const callOptions = Object.assign({}, this.resources.getGpioMode);
        callOptions.pathParameters = {
            variableId: variableId
        };
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC9ncGlvLyIsInNvdXJjZXMiOlsibGliL2dlbmVyYXRlZC9zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUdoRCxPQUFPLEVBQUUsZUFBZSxFQUFtQixNQUFNLGFBQWEsQ0FBQztBQUUvRCxNQUFNLE9BQU8sV0FBWSxTQUFRLGVBQWU7SUFBaEQ7O1FBQ1MsY0FBUyxHQUFHLGFBQWEsQ0FBQztJQTJDbkMsQ0FBQztJQXpDQzs7Ozs7Ozs7T0FRRztJQUNILFdBQVc7SUFDVDs7T0FFRztJQUNILFVBQWtCO1FBRWxCLE9BQU8sSUFBSSxDQUFDLGlCQUFpQixDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUM7SUFDMUUsQ0FBQztJQUVEOzs7Ozs7OztPQVFHO0lBQ0gsZUFBZTtJQUNiOztPQUVHO0lBQ0gsVUFBa0I7UUFFbEIsTUFBTSxXQUFXLHFCQUFRLElBQUksQ0FBQyxTQUFTLENBQUMsV0FBVyxDQUFFLENBQUM7UUFFdEQsV0FBVyxDQUFDLGNBQWMsR0FBRztZQUMzQixVQUFVLEVBQUUsVUFBVTtTQUN2QixDQUFDO1FBRUYsT0FBTyxXQUFXLENBQUM7SUFDckIsQ0FBQztDQUNGIn0=