public static base_responses update ( nitro_service client , appfwlearningsettings resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appfwlearningsettings updateresources [ ] = new appfwlearningsettings [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new appfwlearningsettings ( ) ; updateresources [ i ] . profilename = resources [ i ] . profilename ; updateresources [ i ] . starturlminthreshold = resources [ i ] . starturlminthreshold ; updateresources [ i ] . starturlpercentthreshold = resources [ i ] . starturlpercentthreshold ; updateresources [ i ] . cookieconsistencyminthreshold = resources [ i ] . cookieconsistencyminthreshold ; updateresources [ i ] . cookieconsistencypercentthreshold = resources [ i ] . cookieconsistencypercentthreshold ; updateresources [ i ] . csrftagminthreshold = resources [ i ] . csrftagminthreshold ; updateresources [ i ] . csrftagpercentthreshold = resources [ i ] . csrftagpercentthreshold ; updateresources [ i ] . fieldconsistencyminthreshold = resources [ i ] . fieldconsistencyminthreshold ; updateresources [ i ] . fieldconsistencypercentthreshold = resources [ i ] . fieldconsistencypercentthreshold ; updateresources [ i ] . crosssitescriptingminthreshold = resources [ i ] . crosssitescriptingminthreshold ; updateresources [ i ] . crosssitescriptingpercentthreshold = resources [ i ] . crosssitescriptingpercentthreshold ; updateresources [ i ] . sqlinjectionminthreshold = resources [ i ] . sqlinjectionminthreshold ; updateresources [ i ] . sqlinjectionpercentthreshold = resources [ i ] . sqlinjectionpercentthreshold ; updateresources [ i ] . fieldformatminthreshold = resources [ i ] . fieldformatminthreshold ; updateresources [ i ] . fieldformatpercentthreshold = resources [ i ] . fieldformatpercentthreshold ; updateresources [ i ] . xmlwsiminthreshold = resources [ i ] . xmlwsiminthreshold ; updateresources [ i ] . xmlwsipercentthreshold = resources [ i ] . xmlwsipercentthreshold ; updateresources [ i ] . xmlattachmentminthreshold = resources [ i ] . xmlattachmentminthreshold ; updateresources [ i ] . xmlattachmentpercentthreshold = resources [ i ] . xmlattachmentpercentthreshold ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update appfwlearningsettings resources .