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

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

	java.lang.String PATH_QUERY_CSOURCES = "/csourceRegistrations/";
	java.lang.String PATH_REGISTER_CSOURCE = "/csourceRegistrations/";
	java.lang.String PATH_REMOVE_CSOURCE = "/csourceRegistrations/{registrationId}";
	java.lang.String PATH_RETRIEVE_CSOURCE = "/csourceRegistrations/{registrationId}";

	@io.micronaut.http.annotation.Get("/csourceRegistrations/")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.OK)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono queryCsources(
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "id")
			java.lang.String id,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "idPattern")
			java.lang.String idPattern,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "type")
			java.lang.String type,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "attrs")
			java.lang.String attrs,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "q")
			java.lang.String q,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "georel")
			java.lang.String georel,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "geometry")
			java.lang.String geometry,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "coordinates")
			java.lang.String coordinates,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "geoproperty")
			java.lang.String geoproperty,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "limit")
			java.lang.Integer limit);

	@io.micronaut.http.annotation.Post("/csourceRegistrations/")
	@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 registerCsource(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			ContextSourceRegistrationVO contextSourceRegistrationVO);

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy