public static base_responses add ( nitro_service client , appqoeaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appqoeaction addresources [ ] = new appqoeaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new appqoeaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . priority = resources [ i ] . priority ; addresources [ i ] . respondwith = resources [ i ] . respondwith ; addresources [ i ] . customfile = resources [ i ] . customfile ; addresources [ i ] . altcontentsvcname = resources [ i ] . altcontentsvcname ; addresources [ i ] . altcontentpath = resources [ i ] . altcontentpath ; addresources [ i ] . polqdepth = resources [ i ] . polqdepth ; addresources [ i ] . priqdepth = resources [ i ] . priqdepth ; addresources [ i ] . maxconn = resources [ i ] . maxconn ; addresources [ i ] . delay = resources [ i ] . delay ; addresources [ i ] . dostrigexpression = resources [ i ] . dostrigexpression ; addresources [ i ] . dosaction = resources [ i ] . dosaction ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add appqoeaction resources .