public static base_responses update ( nitro_service client , route6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { route6 updateresources [ ] = new route6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new route6 ( ) ; updateresources [ i ] . network = resources [ i ] . network ; updateresources [ i ] . gateway = resources [ i ] . gateway ; updateresources [ i ] . vlan = resources [ i ] . vlan ; updateresources [ i ] . weight = resources [ i ] . weight ; updateresources [ i ] . distance = resources [ i ] . distance ; updateresources [ i ] . cost = resources [ i ] . cost ; updateresources [ i ] . advertise = resources [ i ] . advertise ; updateresources [ i ] . msr = resources [ i ] . msr ; updateresources [ i ] . monitor = resources [ i ] . monitor ; updateresources [ i ] . td = resources [ i ] . td ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update route6 resources .