export default class ResponseInfo { private _status : number = 200 ; private _text : string = '' ; private _error : boolean = false ; _format : string = 'json' ; constructor ( ) { } get status ( ) : number { return this . _status ; } set status ( status ) { this . _status = status ; } get text ( ) : string { return this . _text ; } set text ( text ) { this . _text = text ; } set error ( error ) { this . _error = error ; } get error ( ) { return this . _error ; } get format ( ) : string { return this . _format ; } set format ( value ) { this . _format = value ; } }