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