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

org.fiware.ngsi.api.ContextSubscriptionApiClient 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 ContextSubscriptionApiClient {

	java.lang.String PATH_CREATE_SUBSCRIPTION = "/subscriptions/";
	java.lang.String PATH_REMOVE_SUBSCRIPTION = "/subscriptions/{subscriptionId}";
	java.lang.String PATH_RETRIEVE_SUBSCRIPTION_BY_ID = "/subscriptions/{subscriptionId}";
	java.lang.String PATH_RETRIEVE_SUBSCRIPTIONS = "/subscriptions/";
	java.lang.String PATH_UPDATE_SUBSCRIPTION = "/subscriptions/{subscriptionId}";

	@io.micronaut.http.annotation.Post("/subscriptions/")
	@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 createSubscription(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			SubscriptionVO subscriptionVO,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant);

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

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

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

	@io.micronaut.http.annotation.Patch("/subscriptions/{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 updateSubscription(
			@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