def property

RequirePingNotification def
getter/setter pair

Implementation

static RequirePingNotification def = RequirePingNotification(
    okConexion: (ping) {},
    errorConexion: (ping) {},
    host: 'www.google.com',
    lang: LangModel(
      okConexion: 'Conexion perfecta',
      errorConexion: 'Error en la conexion',
      generalError: 'Un error general',
      redErrorConexion: 'Error de red',
    ));