public static base_responses update ( nitro_service client , pqpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { pqpolicy updateresources [ ] = new pqpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new pqpolicy ( ) ; updateresources [ i ] . policyname = resources [ i ] . policyname ; updateresources [ i ] . weight = resources [ i ] . weight ; updateresources [ i ] . qdepth = resources [ i ] . qdepth ; updateresources [ i ] . polqdepth = resources [ i ] . polqdepth ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update pqpolicy resources .