code: public static base_response add(nitro_service client, route6 resource) throws Exception {
  		route6 addresource = new route6();
  		addresource.network = resource.network;
  		addresource.gateway = resource.gateway;
  		addresource.vlan = resource.vlan;
  		addresource.weight = resource.weight;
  		addresource.distance = resource.distance;
  		addresource.cost = resource.cost;
  		addresource.advertise = resource.advertise;
  		addresource.msr = resource.msr;
  		addresource.monitor = resource.monitor;
  		addresource.td = resource.td;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add route6.