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