All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.component.linkedin.api.JobsResource Maven / Gradle / Ivy

There is a newer version: 3.0.0-RC3
Show newest version
/**
 * Created by Apache CXF WadlToJava code generator
**/
package org.apache.camel.component.linkedin.api;

import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import org.apache.camel.component.linkedin.api.model.Job;

@Path("jobs")
public interface JobsResource {

    @POST
    @Consumes("application/xml")
    void addJob(Job job);

    @GET
    @Produces("application/xml")
    @Path("/{job-id}${fields}")
    Job getJob(@PathParam("job-id") long job_id, @PathParam("fields") String fields);

    @PUT
    @Consumes("application/xml")
    @Path("/partner-job-id={partner-job-id}")
    void editJob(@PathParam("partner-job-id") long partner_job_id, Job job);

    @DELETE
    @Path("/partner-job-id={partner-job-id}")
    void removeJob(@PathParam("partner-job-id") long partner_job_id);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy