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