public static base_responses add ( nitro_service client , transformaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { transformaction addresources [ ] = new transformaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new transformaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . profilename = resources [ i ] . profilename ; addresources [ i ] . priority = resources [ i ] . priority ; addresources [ i ] . state = resources [ i ] . state ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add transformaction resources .