code: public static base_response add(nitro_service client, onlinkipv6prefix resource) throws Exception {
  		onlinkipv6prefix addresource = new onlinkipv6prefix();
  		addresource.ipv6prefix = resource.ipv6prefix;
  		addresource.onlinkprefix = resource.onlinkprefix;
  		addresource.autonomusprefix = resource.autonomusprefix;
  		addresource.depricateprefix = resource.depricateprefix;
  		addresource.decrementprefixlifetimes = resource.decrementprefixlifetimes;
  		addresource.prefixvalidelifetime = resource.prefixvalidelifetime;
  		addresource.prefixpreferredlifetime = resource.prefixpreferredlifetime;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add onlinkipv6prefix.