UNPKG

@bestapps/voice-framework

Version:
49 lines (38 loc) 800 B
'use strict'; const Request = require("../request"); class RequestAlexa extends Request { constructor(data = {}) { super(data); this.requestId = data.requestId; this.applicationId = data.applicationId; } /** * * @returns {string} applicationId */ getApplicationId() { return this.applicationId; } /** * * @params {string} applicationId */ setApplicationId(applicationId) { this.applicationId = applicationId; } /** * * @returns {string} requestId */ getRequestId() { return this.requestId; } /** * * @param {string} requestId */ setRequestId(requestId) { this.requestId = requestId; } } module.exports = RequestAlexa;