code: public static base_response add(nitro_service client, vpath resource) throws Exception {
  		vpath addresource = new vpath();
  		addresource.name = resource.name;
  		addresource.destip = resource.destip;
  		addresource.encapmode = resource.encapmode;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add vpath.