public static base_responses update ( nitro_service client , onlinkipv6prefix resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { onlinkipv6prefix updateresources [ ] = new onlinkipv6prefix [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new onlinkipv6prefix ( ) ; updateresources [ i ] . ipv6prefix = resources [ i ] . ipv6prefix ; updateresources [ i ] . onlinkprefix = resources [ i ] . onlinkprefix ; updateresources [ i ] . autonomusprefix = resources [ i ] . autonomusprefix ; updateresources [ i ] . depricateprefix = resources [ i ] . depricateprefix ; updateresources [ i ] . decrementprefixlifetimes = resources [ i ] . decrementprefixlifetimes ; updateresources [ i ] . prefixvalidelifetime = resources [ i ] . prefixvalidelifetime ; updateresources [ i ] . prefixpreferredlifetime = resources [ i ] . prefixpreferredlifetime ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update onlinkipv6prefix resources .