import { Event } from '../component/BaseComponent' import { InputSet } from './InputSet' export class Response { //Required private content: string; //Optional private event: Event = Event.onNewMessage; private command: string = ''; private inputSet: InputSet; constructor(content: string) { this.content = content; } setEvent(event: Event): Response { this.event = event; return this; } setCommand(command: string): Response { this.command = command; return this; } setInputSet(inputSet: InputSet): Response { this.inputSet = inputSet; return this; } get Content(): string { return this.content; } get Event(): Event { return this.event; } get Command(): string { return this.command; } get InputSet(): InputSet { return this.inputSet; } }