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

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

	java.lang.String PATH_CREATE_ENTITY = "/entities/";
	java.lang.String PATH_PARTIAL_ATTR_UPDATE = "/entities/{entityId}/attrs/{attrId}";
	java.lang.String PATH_QUERY_ENTITIES = "/entities/";
	java.lang.String PATH_REMOVE_ENTITY_ATTR = "/entities/{entityId}/attrs/{attrId}";
	java.lang.String PATH_REMOVE_ENTITY_BY_ID = "/entities/{entityId}";
	java.lang.String PATH_RETRIEVE_ENTITY_BY_ID = "/entities/{entityId}";
	java.lang.String PATH_UPDATE_ENTITY = "/entities/{entityId}/attrs";

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

	@io.micronaut.http.annotation.Patch("/entities/{entityId}/attrs/{attrId}")
	@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 partialAttrUpdate(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "entityId")
			java.net.URI entityId,
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "attrId")
			java.lang.String attrId,
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			EntityFragmentVO entityFragmentVO,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant);

	@io.micronaut.http.annotation.Get("/entities/")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.OK)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono queryEntities(
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant,
			@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 = "csf")
			java.lang.String csf,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "limit")
			java.lang.Integer limit,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "offset")
			java.lang.Integer offset,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "options")
			java.lang.String options,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "Link")
			java.lang.String link);

	@io.micronaut.http.annotation.Delete("/entities/{entityId}/attrs/{attrId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.NO_CONTENT)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono removeEntityAttr(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "entityId")
			java.net.URI entityId,
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "attrId")
			java.lang.String attrId,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant);

	@io.micronaut.http.annotation.Delete("/entities/{entityId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.NO_CONTENT)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono removeEntityById(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "entityId")
			java.net.URI entityId,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "type")
			java.lang.String type);

	@io.micronaut.http.annotation.Get("/entities/{entityId}")
	@io.micronaut.http.annotation.Status(io.micronaut.http.HttpStatus.OK)
	@io.micronaut.http.annotation.Consumes({ "application/ld+json" })
	reactor.core.publisher.Mono retrieveEntityById(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "entityId")
			java.net.URI entityId,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant,
			@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 = "type")
			java.lang.String type,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "options")
			java.lang.String options,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "Link")
			java.lang.String link);

	@io.micronaut.http.annotation.Post("/entities/{entityId}/attrs")
	@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 updateEntity(
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.PathVariable(value = "entityId")
			java.net.URI entityId,
			@io.micronaut.core.annotation.NonNull
			@io.micronaut.http.annotation.Body
			EntityFragmentVO entityFragmentVO,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.Header(value = "NGSILD-Tenant")
			java.lang.String ngSILDTenant,
			@io.micronaut.core.annotation.Nullable
			@io.micronaut.http.annotation.QueryValue(value = "options")
			java.lang.String options);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy