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