public static base_responses update ( nitro_service client , transformaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { transformaction updateresources [ ] = new transformaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new transformaction ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . priority = resources [ i ] . priority ; updateresources [ i ] . requrlfrom = resources [ i ] . requrlfrom ; updateresources [ i ] . requrlinto = resources [ i ] . requrlinto ; updateresources [ i ] . resurlfrom = resources [ i ] . resurlfrom ; updateresources [ i ] . resurlinto = resources [ i ] . resurlinto ; updateresources [ i ] . cookiedomainfrom = resources [ i ] . cookiedomainfrom ; updateresources [ i ] . cookiedomaininto = resources [ i ] . cookiedomaininto ; updateresources [ i ] . state = resources [ i ] . state ; updateresources [ i ] . comment = resources [ i ] . comment ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update transformaction resources .