export interface IMobileTarget { name ? : string ; id ? : string ; isOnline : boolean ; isVirtualTarget : boolean ; } export interface IDebuggableMobileTarget extends IMobileTarget { id : string ; } export class MobileTarget implements IDebuggableMobileTarget { protected _name ? : string ; protected _id : string ; protected _isOnline : boolean ; protected _isVirtualTarget : boolean ; constructor ( isOnline , isVirtualTarget , id , name ? ) { this . _isOnline = isOnline ; this . _isVirtualTarget = isVirtualTarget ; this . _name = name ; this . _id = id ; } get name ( ) : string { return this . _name ; } set name ( value ) { this . _name = value ; } get id ( ) : string { return this . _id ; } set id ( id ) { this . _id = id ; } get isOnline ( ) : boolean { return this . _isOnline ; } set isOnline ( value ) { this . _isOnline = value ; } get isVirtualTarget ( ) : boolean { return this . _isVirtualTarget ; } }