org.apache.camel.component.linkedin.api.GroupsResource Maven / Gradle / Ivy
/**
* Created by Apache CXF WadlToJava code generator
**/
package org.apache.camel.component.linkedin.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import org.apache.camel.component.linkedin.api.model.Group;
import org.apache.camel.component.linkedin.api.model.Post;
@Path("groups")
public interface GroupsResource {
@GET
@Produces("application/xml")
@Path("/{group-id}{fields}")
Group getGroup(@PathParam("group-id") long group_id);
@POST
@Consumes("application/xml")
@Path("/{group-id}/posts")
void addPost(@PathParam("group-id") long group_id, Post post);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy