const uuid = require ( "uuid" ) ; /**
 * Information about the current open session on the Alexa emulator
 */ export class AlexaSession { private _attributes : { [ id ] : any ; } ; private _new : boolean ; private _id : string ; public constructor ( ) { this . _id = "SessionID." + uuid . v4 ( ) ; this . _new = true ; this . _attributes = { } ; } public attributes ( ) { return this . _attributes ; } public updateAttributes ( sessionAttributes ) { if ( sessionAttributes !== undefined && sessionAttributes !== null ) { this . _attributes = sessionAttributes ; } } public id ( ) { return this . _id ; } public setID ( id ) { this . _id = id ; } public isNew ( ) { return this . _new ; } public used ( ) { this . _new = false ; } }