import { IAppModel } from "../components/helper_interfaces" ; import { NonSerializable , AppUtils } from "../components/appUtils" ; /**
 * Parsed MockField object
 * from the script file
 */ export class ScriptMockField implements IAppModel { name : string = "" ; pattern : string = "" ; excludedRegex : string = "" ; includedRegex : string = "" ; constructor ( init ) { if ( init ) { this . initialize ( init ) ; } } @ NonSerializable ( ) errorMessage : string ; @ NonSerializable ( ) $$hashKey : string ; initialize ( init ) { if ( init ) { AppUtils . objectAssignSafe ( this , init ) ; } } isValid ( ) { return true ; } }