src/lib/myScript/output/generic/abstractRecoResponseWSMessage.ts
constructor(obj: any)
|
getInstanceId |
getInstanceId()
|
Get instance id
Returns:
void
|
getDocument |
getDocument()
|
Get document
Returns:
TextDocument
|
instanceId |
instanceId: |
result |
result: |
import { AbstractWSMessage } from '../../common/abstractWSMessage';
import { TextDocument } from '../text/textDocument';
export class AbstractRecoResponseWSMessage extends AbstractWSMessage {
instanceId: string;
result: TextDocument;
constructor(obj?) {
super(obj);
this.instanceId = obj && obj.instanceId || undefined;
}
/**
* Get instance id
*
* @method getInstanceId
* @returns {String}
*/
getInstanceId() {
return this.instanceId;
};
/**
* Get document
*
* @method getDocument
* @returns {TextDocument|ShapeDocument|MathDocument|MusicDocument|AnalyzerDocument}
*/
getDocument(): TextDocument {
return this.result;
};
}