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