import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.opendaylight.transportpce.dmaap.client.resource.model.CreatedEvent;
-import org.opendaylight.yang.gen.v1.nbi.notifications.rev201130.PublishNotificationService;
+
+import org.opendaylight.yang.gen.v1.nbi.notifications.rev230728.PublishNotificationProcessService;
@Path("/events")
public interface EventsApi {
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
@Path("/{topic}")
- CreatedEvent sendEvent(@PathParam("topic") String topic, PublishNotificationService event);
+ CreatedEvent sendEvent(@PathParam("topic") String topic, PublishNotificationProcessService event);
}