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

org.fiware.ngsi.api.CSourceSubscriptionsApiClient Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package org.fiware.ngsi.api;

import org.fiware.ngsi.model.*;

@jakarta.annotation.Generated("org.openapitools.codegen.languages.MicronautCodegen")
@io.micronaut.http.client.annotation.Client(id = "ngsi")
public interface CSourceSubscriptionsApiClient {

	java.lang.String PATH_CREATE_C_SOURCE_SUBSCRIPTION = "/csourceSubscriptions/";
	java.lang.String PATH_REMOVE_C_SOURCE_SUBSCRIPTION = "/csourceSubscriptions/{subscriptionId}";
	java.lang.String PATH_RETRIEVE_C_SOURCE_SUBSCRIPTIONS = "/csourceSubscriptions/";
	java.lang.String PATH_RETRIEVE_C_SOURCE_SUBSCRIPTIONS_BY_ID = "/csourceSubscriptions/{subscriptionId}";
	java.lang.String PATH_UPDATE_C_SOURCE_SUBSCRIPTION = "/csourceSubscriptions/{subscriptionId}";

	@io.micronaut.http.annotation.Post("/csourceSubscriptions/")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.CREATED)
	@io.micronaut.http.annotation.Produces({ "application/ld+json" })
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono createCSourceSubscription(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			SubscriptionVO subscriptionVO);

	@io.micronaut.http.annotation.Delete("/csourceSubscriptions/{subscriptionId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.NO_CONTENT)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono removeCSourceSubscription(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "subscriptionId")
			java.net.URI subscriptionId);

	@io.micronaut.http.annotation.Get("/csourceSubscriptions/")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.OK)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono retrieveCSourceSubscriptions(
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "limit")
			java.lang.Integer limit);

	@io.micronaut.http.annotation.Get("/csourceSubscriptions/{subscriptionId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.OK)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono retrieveCSourceSubscriptionsById(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "subscriptionId")
			java.net.URI subscriptionId);

	@io.micronaut.http.annotation.Patch("/csourceSubscriptions/{subscriptionId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.NO_CONTENT)
	@io.micronaut.http.annotation.Produces({ "application/ld+json" })
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono updateCSourceSubscription(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "subscriptionId")
			java.net.URI subscriptionId,
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			SubscriptionFragmentVO subscriptionFragmentVO);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy