org.apache.camel.component.fhir.FhirTransactionEndpointConfiguration Maven / Gradle / Ivy
The newest version!
/*
* Camel EndpointConfiguration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.fhir;
import org.apache.camel.spi.ApiMethod;
import org.apache.camel.spi.ApiParam;
import org.apache.camel.spi.ApiParams;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
/**
* Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirTransaction}.
*/
@ApiParams(apiName = "transaction",
description = "API for sending a transaction (collection of resources) to the server to be executed as a single unit",
apiMethods = {@ApiMethod(methodName = "withBundle", description="Use the given raw text (should be a Bundle resource) as the transaction input", signatures={"org.hl7.fhir.instance.model.api.IBaseBundle withBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle, java.util.Map extraParameters)", "String withBundle(String stringBundle, java.util.Map extraParameters)"}), @ApiMethod(methodName = "withResources", description="Use a list of resources as the transaction input", signatures={"java.util.List withResources(java.util.List resources, java.util.Map extraParameters)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class FhirTransactionEndpointConfiguration extends FhirConfiguration {
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "withBundle", description="Bundle to use in the transaction")})
private org.hl7.fhir.instance.model.api.IBaseBundle bundle;
@UriParam
@ApiParam(optional = true, apiMethods = {@ApiMethod(methodName = "withBundle", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "withBundle", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "withResources", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL")})
private java.util.Map extraParameters;
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "withResources", description="Resources to use in the transaction")})
private java.util.List resources;
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "withBundle", description="Bundle to use in the transaction")})
private String stringBundle;
public org.hl7.fhir.instance.model.api.IBaseBundle getBundle() {
return bundle;
}
public void setBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle) {
this.bundle = bundle;
}
public java.util.Map getExtraParameters() {
return extraParameters;
}
public void setExtraParameters(java.util.Map extraParameters) {
this.extraParameters = extraParameters;
}
public java.util.List getResources() {
return resources;
}
public void setResources(java.util.List resources) {
this.resources = resources;
}
public String getStringBundle() {
return stringBundle;
}
public void setStringBundle(String stringBundle) {
this.stringBundle = stringBundle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy