@bestapps/voice-framework
Version:
Voice Framework
49 lines (38 loc) • 800 B
JavaScript
;
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;