public static base_responses change ( nitro_service client , nsaptlicense resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nsaptlicense updateresources [ ] = new nsaptlicense [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new nsaptlicense ( ) ; updateresources [ i ] . id = resources [ i ] . id ; updateresources [ i ] . sessionid = resources [ i ] . sessionid ; updateresources [ i ] . bindtype = resources [ i ] . bindtype ; updateresources [ i ] . countavailable = resources [ i ] . countavailable ; updateresources [ i ] . licensedir = resources [ i ] . licensedir ; } result = perform_operation_bulk_request ( client , updateresources , "update" ) ; } return result ; }
Use this API to change nsaptlicense resources .