You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/06/22 12:46:21 UTC
[camel] 05/16: CAMEL-15224: camel-api-component - Avoid reflection
when configured nested configuration classes.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch CAMEL-15224
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a4d47f9b7856086b7cb848ae1e302a1feba0e0d7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jun 22 12:10:16 2020 +0200
CAMEL-15224: camel-api-component - Avoid reflection when configured nested configuration classes.
---
components/camel-box/camel-box-component/pom.xml | 44 +--
...CollaborationsManagerEndpointConfiguration.java | 83 +++++
...ionsManagerEndpointConfigurationConfigurer.java | 155 +++++++++
.../BoxCommentsManagerEndpointConfiguration.java | 50 +++
...entsManagerEndpointConfigurationConfigurer.java | 140 +++++++++
.../component/box/BoxConfigurationConfigurer.java | 125 ++++++++
.../BoxEventLogsManagerEndpointConfiguration.java | 61 ++++
...LogsManagerEndpointConfigurationConfigurer.java | 145 +++++++++
.../box/BoxEventsManagerEndpointConfiguration.java | 28 ++
...entsManagerEndpointConfigurationConfigurer.java | 130 ++++++++
.../box/BoxFilesManagerEndpointConfiguration.java | 347 +++++++++++++++++++++
...ilesManagerEndpointConfigurationConfigurer.java | 275 ++++++++++++++++
.../BoxFoldersManagerEndpointConfiguration.java | 171 ++++++++++
...dersManagerEndpointConfigurationConfigurer.java | 195 ++++++++++++
.../box/BoxGroupsManagerEndpointConfiguration.java | 149 +++++++++
...oupsManagerEndpointConfigurationConfigurer.java | 180 +++++++++++
.../box/BoxSearchManagerEndpointConfiguration.java | 39 +++
...archManagerEndpointConfigurationConfigurer.java | 135 ++++++++
.../box/BoxTasksManagerEndpointConfiguration.java | 105 +++++++
...asksManagerEndpointConfigurationConfigurer.java | 165 ++++++++++
.../box/BoxUsersManagerEndpointConfiguration.java | 149 +++++++++
...sersManagerEndpointConfigurationConfigurer.java | 180 +++++++++++
.../component/box/internal/BoxApiCollection.java | 216 +++++++++++++
.../camel/component/box/internal/BoxApiName.java | 56 ++++
.../BoxCollaborationsManagerApiMethod.java | 84 +++++
.../box/internal/BoxCommentsManagerApiMethod.java | 78 +++++
.../box/internal/BoxEventLogsManagerApiMethod.java | 53 ++++
.../box/internal/BoxEventsManagerApiMethod.java | 51 +++
.../box/internal/BoxFilesManagerApiMethod.java | 196 ++++++++++++
.../box/internal/BoxFoldersManagerApiMethod.java | 119 +++++++
.../box/internal/BoxGroupsManagerApiMethod.java | 103 ++++++
.../box/internal/BoxSearchManagerApiMethod.java | 51 +++
.../box/internal/BoxTasksManagerApiMethod.java | 95 ++++++
.../box/internal/BoxUsersManagerApiMethod.java | 109 +++++++
.../BoxCollaborationsManagerEndpointConfiguration | 2 +
.../BoxCommentsManagerEndpointConfiguration | 2 +
.../org/apache/camel/configurer/BoxConfiguration | 2 +
.../BoxEventLogsManagerEndpointConfiguration | 2 +
.../BoxEventsManagerEndpointConfiguration | 2 +
.../BoxFilesManagerEndpointConfiguration | 2 +
.../BoxFoldersManagerEndpointConfiguration | 2 +
.../BoxGroupsManagerEndpointConfiguration | 2 +
.../BoxSearchManagerEndpointConfiguration | 2 +
.../BoxTasksManagerEndpointConfiguration | 2 +
.../BoxUsersManagerEndpointConfiguration | 2 +
.../camel/component/box/BoxConfiguration.java | 2 +
.../maven/packaging/GenerateConfigurerMojo.java | 17 +
47 files changed, 4265 insertions(+), 38 deletions(-)
diff --git a/components/camel-box/camel-box-component/pom.xml b/components/camel-box/camel-box-component/pom.xml
index 1c78256..07e3b3c 100644
--- a/components/camel-box/camel-box-component/pom.xml
+++ b/components/camel-box/camel-box-component/pom.xml
@@ -567,33 +567,17 @@
</execution>
</executions>
</plugin>
-
- <!-- add generated source and test source to build -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
+ <!-- we need to generate additional configurer classes -->
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-package-maven-plugin</artifactId>
<executions>
<execution>
- <id>add-generated-sources</id>
+ <id>generate-configurer</id>
+ <phase>process-classes</phase>
<goals>
- <goal>add-source</goal>
+ <goal>generate-configurer</goal>
</goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/camel-component</source>
- </sources>
- </configuration>
- </execution>
- <execution>
- <id>add-generated-test-sources</id>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-test-sources/camel-component</source>
- </sources>
- </configuration>
</execution>
</executions>
</plugin>
@@ -618,22 +602,6 @@
</build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-api-component-maven-plugin</artifactId>
- <version>${project.version}</version>
- <configuration>
- <scheme>${schemeName}</scheme>
- <componentName>${componentName}</componentName>
- <componentPackage>${componentPackage}</componentPackage>
- <outPackage>${outPackage}</outPackage>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
<profiles>
<profile>
<id>integration</id>
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfiguration.java
new file mode 100644
index 0000000..4377129
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfiguration.java
@@ -0,0 +1,83 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxCollaborationsManager
+ */
+@UriParams
+@Configurer
+public final class BoxCollaborationsManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private String collaborationId;
+
+ @UriParam
+ private com.box.sdk.BoxCollaborator collaborator;
+
+ @UriParam
+ private String email;
+
+ @UriParam
+ private String folderId;
+
+ @UriParam
+ private com.box.sdk.BoxCollaboration.Info info;
+
+ @UriParam
+ private com.box.sdk.BoxCollaboration.Role role;
+
+ public String getCollaborationId() {
+ return collaborationId;
+ }
+
+ public void setCollaborationId(String collaborationId) {
+ this.collaborationId = collaborationId;
+ }
+
+ public com.box.sdk.BoxCollaborator getCollaborator() {
+ return collaborator;
+ }
+
+ public void setCollaborator(com.box.sdk.BoxCollaborator collaborator) {
+ this.collaborator = collaborator;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getFolderId() {
+ return folderId;
+ }
+
+ public void setFolderId(String folderId) {
+ this.folderId = folderId;
+ }
+
+ public com.box.sdk.BoxCollaboration.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxCollaboration.Info info) {
+ this.info = info;
+ }
+
+ public com.box.sdk.BoxCollaboration.Role getRole() {
+ return role;
+ }
+
+ public void setRole(com.box.sdk.BoxCollaboration.Role role) {
+ this.role = role;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..ab2a030
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,155 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxCollaborationsManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "collaborationid":
+ case "CollaborationId": target.setCollaborationId(property(camelContext, java.lang.String.class, value)); return true;
+ case "collaborator":
+ case "Collaborator": target.setCollaborator(property(camelContext, com.box.sdk.BoxCollaborator.class, value)); return true;
+ case "email":
+ case "Email": target.setEmail(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "folderid":
+ case "FolderId": target.setFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxCollaboration.Info.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "role":
+ case "Role": target.setRole(property(camelContext, com.box.sdk.BoxCollaboration.Role.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("CollaborationId", java.lang.String.class);
+ answer.put("Collaborator", com.box.sdk.BoxCollaborator.class);
+ answer.put("Email", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("FolderId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxCollaboration.Info.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("Role", com.box.sdk.BoxCollaboration.Role.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "collaborationid":
+ case "CollaborationId": return target.getCollaborationId();
+ case "collaborator":
+ case "Collaborator": return target.getCollaborator();
+ case "email":
+ case "Email": return target.getEmail();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "folderid":
+ case "FolderId": return target.getFolderId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "role":
+ case "Role": return target.getRole();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfiguration.java
new file mode 100644
index 0000000..60e5f01
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfiguration.java
@@ -0,0 +1,50 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxCommentsManager
+ */
+@UriParams
+@Configurer
+public final class BoxCommentsManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private String commentId;
+
+ @UriParam
+ private String fileId;
+
+ @UriParam
+ private String message;
+
+ public String getCommentId() {
+ return commentId;
+ }
+
+ public void setCommentId(String commentId) {
+ this.commentId = commentId;
+ }
+
+ public String getFileId() {
+ return fileId;
+ }
+
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..09671dd
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,140 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxCommentsManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "commentid":
+ case "CommentId": target.setCommentId(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "fileid":
+ case "FileId": target.setFileId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "message":
+ case "Message": target.setMessage(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("CommentId", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("FileId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("Message", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "commentid":
+ case "CommentId": return target.getCommentId();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "fileid":
+ case "FileId": return target.getFileId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "message":
+ case "Message": return target.getMessage();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxConfigurationConfigurer.java
new file mode 100644
index 0000000..36448f2
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxConfigurationConfigurer.java
@@ -0,0 +1,125 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxConfiguration target = (org.apache.camel.component.box.BoxConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, int.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("MaxCacheEntries", int.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxConfiguration target = (org.apache.camel.component.box.BoxConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfiguration.java
new file mode 100644
index 0000000..7173a87
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfiguration.java
@@ -0,0 +1,61 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxEventLogsManager
+ */
+@UriParams
+@Configurer
+public final class BoxEventLogsManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private java.util.Date after;
+
+ @UriParam
+ private java.util.Date before;
+
+ @UriParam
+ private String position;
+
+ @UriParam
+ private com.box.sdk.BoxEvent.Type[] types;
+
+ public java.util.Date getAfter() {
+ return after;
+ }
+
+ public void setAfter(java.util.Date after) {
+ this.after = after;
+ }
+
+ public java.util.Date getBefore() {
+ return before;
+ }
+
+ public void setBefore(java.util.Date before) {
+ this.before = before;
+ }
+
+ public String getPosition() {
+ return position;
+ }
+
+ public void setPosition(String position) {
+ this.position = position;
+ }
+
+ public com.box.sdk.BoxEvent.Type[] getTypes() {
+ return types;
+ }
+
+ public void setTypes(com.box.sdk.BoxEvent.Type[] types) {
+ this.types = types;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..fc22864
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,145 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxEventLogsManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "after":
+ case "After": target.setAfter(property(camelContext, java.util.Date.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "before":
+ case "Before": target.setBefore(property(camelContext, java.util.Date.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "position":
+ case "Position": target.setPosition(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "types":
+ case "Types": target.setTypes(property(camelContext, com.box.sdk.BoxEvent.Type[].class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("After", java.util.Date.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("Before", java.util.Date.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("Position", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("Types", com.box.sdk.BoxEvent.Type[].class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "after":
+ case "After": return target.getAfter();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "before":
+ case "Before": return target.getBefore();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "position":
+ case "Position": return target.getPosition();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "types":
+ case "Types": return target.getTypes();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfiguration.java
new file mode 100644
index 0000000..932f315
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfiguration.java
@@ -0,0 +1,28 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxEventsManager
+ */
+@UriParams
+@Configurer
+public final class BoxEventsManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private Long startingPosition;
+
+ public Long getStartingPosition() {
+ return startingPosition;
+ }
+
+ public void setStartingPosition(Long startingPosition) {
+ this.startingPosition = startingPosition;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..b0d4057
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,130 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxEventsManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "startingposition":
+ case "StartingPosition": target.setStartingPosition(property(camelContext, java.lang.Long.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("StartingPosition", java.lang.Long.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "startingposition":
+ case "StartingPosition": return target.getStartingPosition();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfiguration.java
new file mode 100644
index 0000000..279f594
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfiguration.java
@@ -0,0 +1,347 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxFilesManager
+ */
+@UriParams
+@Configurer
+public final class BoxFilesManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private com.box.sdk.BoxSharedLink.Access access;
+
+ @UriParam
+ private Boolean check;
+
+ @UriParam
+ private java.io.InputStream content;
+
+ @UriParam
+ private java.util.Date created;
+
+ @UriParam
+ private String destinationFolderId;
+
+ @UriParam
+ private String[] fields;
+
+ @UriParam
+ private java.io.InputStream fileContent;
+
+ @UriParam
+ private String fileId;
+
+ @UriParam
+ private String fileName;
+
+ @UriParam
+ private Long fileSize;
+
+ @UriParam
+ private com.box.sdk.BoxFile.ThumbnailFileType fileType;
+
+ @UriParam
+ private com.box.sdk.BoxFile.Info info;
+
+ @UriParam
+ private com.box.sdk.ProgressListener listener;
+
+ @UriParam
+ private Integer maxHeight;
+
+ @UriParam
+ private Integer maxWidth;
+
+ @UriParam
+ private com.box.sdk.Metadata metadata;
+
+ @UriParam
+ private Integer minHeight;
+
+ @UriParam
+ private Integer minWidth;
+
+ @UriParam
+ private java.util.Date modified;
+
+ @UriParam
+ private String newFileName;
+
+ @UriParam
+ private String newName;
+
+ @UriParam
+ private java.io.OutputStream output;
+
+ @UriParam
+ private String parentFolderId;
+
+ @UriParam
+ private com.box.sdk.BoxSharedLink.Permissions permissions;
+
+ @UriParam
+ private Long rangeEnd;
+
+ @UriParam
+ private Long rangeStart;
+
+ @UriParam
+ private Long size;
+
+ @UriParam
+ private String typeName;
+
+ @UriParam
+ private java.util.Date unshareDate;
+
+ @UriParam
+ private Integer version;
+
+ public com.box.sdk.BoxSharedLink.Access getAccess() {
+ return access;
+ }
+
+ public void setAccess(com.box.sdk.BoxSharedLink.Access access) {
+ this.access = access;
+ }
+
+ public Boolean getCheck() {
+ return check;
+ }
+
+ public void setCheck(Boolean check) {
+ this.check = check;
+ }
+
+ public java.io.InputStream getContent() {
+ return content;
+ }
+
+ public void setContent(java.io.InputStream content) {
+ this.content = content;
+ }
+
+ public java.util.Date getCreated() {
+ return created;
+ }
+
+ public void setCreated(java.util.Date created) {
+ this.created = created;
+ }
+
+ public String getDestinationFolderId() {
+ return destinationFolderId;
+ }
+
+ public void setDestinationFolderId(String destinationFolderId) {
+ this.destinationFolderId = destinationFolderId;
+ }
+
+ public String[] getFields() {
+ return fields;
+ }
+
+ public void setFields(String[] fields) {
+ this.fields = fields;
+ }
+
+ public java.io.InputStream getFileContent() {
+ return fileContent;
+ }
+
+ public void setFileContent(java.io.InputStream fileContent) {
+ this.fileContent = fileContent;
+ }
+
+ public String getFileId() {
+ return fileId;
+ }
+
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+
+ public Long getFileSize() {
+ return fileSize;
+ }
+
+ public void setFileSize(Long fileSize) {
+ this.fileSize = fileSize;
+ }
+
+ public com.box.sdk.BoxFile.ThumbnailFileType getFileType() {
+ return fileType;
+ }
+
+ public void setFileType(com.box.sdk.BoxFile.ThumbnailFileType fileType) {
+ this.fileType = fileType;
+ }
+
+ public com.box.sdk.BoxFile.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxFile.Info info) {
+ this.info = info;
+ }
+
+ public com.box.sdk.ProgressListener getListener() {
+ return listener;
+ }
+
+ public void setListener(com.box.sdk.ProgressListener listener) {
+ this.listener = listener;
+ }
+
+ public Integer getMaxHeight() {
+ return maxHeight;
+ }
+
+ public void setMaxHeight(Integer maxHeight) {
+ this.maxHeight = maxHeight;
+ }
+
+ public Integer getMaxWidth() {
+ return maxWidth;
+ }
+
+ public void setMaxWidth(Integer maxWidth) {
+ this.maxWidth = maxWidth;
+ }
+
+ public com.box.sdk.Metadata getMetadata() {
+ return metadata;
+ }
+
+ public void setMetadata(com.box.sdk.Metadata metadata) {
+ this.metadata = metadata;
+ }
+
+ public Integer getMinHeight() {
+ return minHeight;
+ }
+
+ public void setMinHeight(Integer minHeight) {
+ this.minHeight = minHeight;
+ }
+
+ public Integer getMinWidth() {
+ return minWidth;
+ }
+
+ public void setMinWidth(Integer minWidth) {
+ this.minWidth = minWidth;
+ }
+
+ public java.util.Date getModified() {
+ return modified;
+ }
+
+ public void setModified(java.util.Date modified) {
+ this.modified = modified;
+ }
+
+ public String getNewFileName() {
+ return newFileName;
+ }
+
+ public void setNewFileName(String newFileName) {
+ this.newFileName = newFileName;
+ }
+
+ public String getNewName() {
+ return newName;
+ }
+
+ public void setNewName(String newName) {
+ this.newName = newName;
+ }
+
+ public java.io.OutputStream getOutput() {
+ return output;
+ }
+
+ public void setOutput(java.io.OutputStream output) {
+ this.output = output;
+ }
+
+ public String getParentFolderId() {
+ return parentFolderId;
+ }
+
+ public void setParentFolderId(String parentFolderId) {
+ this.parentFolderId = parentFolderId;
+ }
+
+ public com.box.sdk.BoxSharedLink.Permissions getPermissions() {
+ return permissions;
+ }
+
+ public void setPermissions(com.box.sdk.BoxSharedLink.Permissions permissions) {
+ this.permissions = permissions;
+ }
+
+ public Long getRangeEnd() {
+ return rangeEnd;
+ }
+
+ public void setRangeEnd(Long rangeEnd) {
+ this.rangeEnd = rangeEnd;
+ }
+
+ public Long getRangeStart() {
+ return rangeStart;
+ }
+
+ public void setRangeStart(Long rangeStart) {
+ this.rangeStart = rangeStart;
+ }
+
+ public Long getSize() {
+ return size;
+ }
+
+ public void setSize(Long size) {
+ this.size = size;
+ }
+
+ public String getTypeName() {
+ return typeName;
+ }
+
+ public void setTypeName(String typeName) {
+ this.typeName = typeName;
+ }
+
+ public java.util.Date getUnshareDate() {
+ return unshareDate;
+ }
+
+ public void setUnshareDate(java.util.Date unshareDate) {
+ this.unshareDate = unshareDate;
+ }
+
+ public Integer getVersion() {
+ return version;
+ }
+
+ public void setVersion(Integer version) {
+ this.version = version;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..298d81b
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,275 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxFilesManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "access":
+ case "Access": target.setAccess(property(camelContext, com.box.sdk.BoxSharedLink.Access.class, value)); return true;
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "check":
+ case "Check": target.setCheck(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "content":
+ case "Content": target.setContent(property(camelContext, java.io.InputStream.class, value)); return true;
+ case "created":
+ case "Created": target.setCreated(property(camelContext, java.util.Date.class, value)); return true;
+ case "destinationfolderid":
+ case "DestinationFolderId": target.setDestinationFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "fields":
+ case "Fields": target.setFields(property(camelContext, java.lang.String[].class, value)); return true;
+ case "filecontent":
+ case "FileContent": target.setFileContent(property(camelContext, java.io.InputStream.class, value)); return true;
+ case "fileid":
+ case "FileId": target.setFileId(property(camelContext, java.lang.String.class, value)); return true;
+ case "filename":
+ case "FileName": target.setFileName(property(camelContext, java.lang.String.class, value)); return true;
+ case "filesize":
+ case "FileSize": target.setFileSize(property(camelContext, java.lang.Long.class, value)); return true;
+ case "filetype":
+ case "FileType": target.setFileType(property(camelContext, com.box.sdk.BoxFile.ThumbnailFileType.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxFile.Info.class, value)); return true;
+ case "listener":
+ case "Listener": target.setListener(property(camelContext, com.box.sdk.ProgressListener.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxheight":
+ case "MaxHeight": target.setMaxHeight(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "maxwidth":
+ case "MaxWidth": target.setMaxWidth(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "metadata":
+ case "Metadata": target.setMetadata(property(camelContext, com.box.sdk.Metadata.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "minheight":
+ case "MinHeight": target.setMinHeight(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "minwidth":
+ case "MinWidth": target.setMinWidth(property(camelContext, java.lang.Integer.class, value)); return true;
+ case "modified":
+ case "Modified": target.setModified(property(camelContext, java.util.Date.class, value)); return true;
+ case "newfilename":
+ case "NewFileName": target.setNewFileName(property(camelContext, java.lang.String.class, value)); return true;
+ case "newname":
+ case "NewName": target.setNewName(property(camelContext, java.lang.String.class, value)); return true;
+ case "output":
+ case "Output": target.setOutput(property(camelContext, java.io.OutputStream.class, value)); return true;
+ case "parentfolderid":
+ case "ParentFolderId": target.setParentFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "permissions":
+ case "Permissions": target.setPermissions(property(camelContext, com.box.sdk.BoxSharedLink.Permissions.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "rangeend":
+ case "RangeEnd": target.setRangeEnd(property(camelContext, java.lang.Long.class, value)); return true;
+ case "rangestart":
+ case "RangeStart": target.setRangeStart(property(camelContext, java.lang.Long.class, value)); return true;
+ case "size":
+ case "Size": target.setSize(property(camelContext, java.lang.Long.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "typename":
+ case "TypeName": target.setTypeName(property(camelContext, java.lang.String.class, value)); return true;
+ case "unsharedate":
+ case "UnshareDate": target.setUnshareDate(property(camelContext, java.util.Date.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "version":
+ case "Version": target.setVersion(property(camelContext, java.lang.Integer.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("Access", com.box.sdk.BoxSharedLink.Access.class);
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("Check", java.lang.Boolean.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("Content", java.io.InputStream.class);
+ answer.put("Created", java.util.Date.class);
+ answer.put("DestinationFolderId", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("Fields", java.lang.String[].class);
+ answer.put("FileContent", java.io.InputStream.class);
+ answer.put("FileId", java.lang.String.class);
+ answer.put("FileName", java.lang.String.class);
+ answer.put("FileSize", java.lang.Long.class);
+ answer.put("FileType", com.box.sdk.BoxFile.ThumbnailFileType.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxFile.Info.class);
+ answer.put("Listener", com.box.sdk.ProgressListener.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MaxHeight", java.lang.Integer.class);
+ answer.put("MaxWidth", java.lang.Integer.class);
+ answer.put("Metadata", com.box.sdk.Metadata.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("MinHeight", java.lang.Integer.class);
+ answer.put("MinWidth", java.lang.Integer.class);
+ answer.put("Modified", java.util.Date.class);
+ answer.put("NewFileName", java.lang.String.class);
+ answer.put("NewName", java.lang.String.class);
+ answer.put("Output", java.io.OutputStream.class);
+ answer.put("ParentFolderId", java.lang.String.class);
+ answer.put("Permissions", com.box.sdk.BoxSharedLink.Permissions.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("RangeEnd", java.lang.Long.class);
+ answer.put("RangeStart", java.lang.Long.class);
+ answer.put("Size", java.lang.Long.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("TypeName", java.lang.String.class);
+ answer.put("UnshareDate", java.util.Date.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ answer.put("Version", java.lang.Integer.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "access":
+ case "Access": return target.getAccess();
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "check":
+ case "Check": return target.getCheck();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "content":
+ case "Content": return target.getContent();
+ case "created":
+ case "Created": return target.getCreated();
+ case "destinationfolderid":
+ case "DestinationFolderId": return target.getDestinationFolderId();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "fields":
+ case "Fields": return target.getFields();
+ case "filecontent":
+ case "FileContent": return target.getFileContent();
+ case "fileid":
+ case "FileId": return target.getFileId();
+ case "filename":
+ case "FileName": return target.getFileName();
+ case "filesize":
+ case "FileSize": return target.getFileSize();
+ case "filetype":
+ case "FileType": return target.getFileType();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "listener":
+ case "Listener": return target.getListener();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "maxheight":
+ case "MaxHeight": return target.getMaxHeight();
+ case "maxwidth":
+ case "MaxWidth": return target.getMaxWidth();
+ case "metadata":
+ case "Metadata": return target.getMetadata();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "minheight":
+ case "MinHeight": return target.getMinHeight();
+ case "minwidth":
+ case "MinWidth": return target.getMinWidth();
+ case "modified":
+ case "Modified": return target.getModified();
+ case "newfilename":
+ case "NewFileName": return target.getNewFileName();
+ case "newname":
+ case "NewName": return target.getNewName();
+ case "output":
+ case "Output": return target.getOutput();
+ case "parentfolderid":
+ case "ParentFolderId": return target.getParentFolderId();
+ case "permissions":
+ case "Permissions": return target.getPermissions();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "rangeend":
+ case "RangeEnd": return target.getRangeEnd();
+ case "rangestart":
+ case "RangeStart": return target.getRangeStart();
+ case "size":
+ case "Size": return target.getSize();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "typename":
+ case "TypeName": return target.getTypeName();
+ case "unsharedate":
+ case "UnshareDate": return target.getUnshareDate();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ case "version":
+ case "Version": return target.getVersion();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfiguration.java
new file mode 100644
index 0000000..e8bc805
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfiguration.java
@@ -0,0 +1,171 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxFoldersManager
+ */
+@UriParams
+@Configurer
+public final class BoxFoldersManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private com.box.sdk.BoxSharedLink.Access access;
+
+ @UriParam
+ private String destinationFolderId;
+
+ @UriParam
+ private String[] fields;
+
+ @UriParam
+ private String folderId;
+
+ @UriParam
+ private String folderName;
+
+ @UriParam
+ private com.box.sdk.BoxFolder.Info info;
+
+ @UriParam
+ private Long limit;
+
+ @UriParam
+ private String newFolderName;
+
+ @UriParam
+ private String newName;
+
+ @UriParam
+ private Long offset;
+
+ @UriParam
+ private String parentFolderId;
+
+ @UriParam
+ private String[] path;
+
+ @UriParam
+ private com.box.sdk.BoxSharedLink.Permissions permissions;
+
+ @UriParam
+ private java.util.Date unshareDate;
+
+ public com.box.sdk.BoxSharedLink.Access getAccess() {
+ return access;
+ }
+
+ public void setAccess(com.box.sdk.BoxSharedLink.Access access) {
+ this.access = access;
+ }
+
+ public String getDestinationFolderId() {
+ return destinationFolderId;
+ }
+
+ public void setDestinationFolderId(String destinationFolderId) {
+ this.destinationFolderId = destinationFolderId;
+ }
+
+ public String[] getFields() {
+ return fields;
+ }
+
+ public void setFields(String[] fields) {
+ this.fields = fields;
+ }
+
+ public String getFolderId() {
+ return folderId;
+ }
+
+ public void setFolderId(String folderId) {
+ this.folderId = folderId;
+ }
+
+ public String getFolderName() {
+ return folderName;
+ }
+
+ public void setFolderName(String folderName) {
+ this.folderName = folderName;
+ }
+
+ public com.box.sdk.BoxFolder.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxFolder.Info info) {
+ this.info = info;
+ }
+
+ public Long getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Long limit) {
+ this.limit = limit;
+ }
+
+ public String getNewFolderName() {
+ return newFolderName;
+ }
+
+ public void setNewFolderName(String newFolderName) {
+ this.newFolderName = newFolderName;
+ }
+
+ public String getNewName() {
+ return newName;
+ }
+
+ public void setNewName(String newName) {
+ this.newName = newName;
+ }
+
+ public Long getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Long offset) {
+ this.offset = offset;
+ }
+
+ public String getParentFolderId() {
+ return parentFolderId;
+ }
+
+ public void setParentFolderId(String parentFolderId) {
+ this.parentFolderId = parentFolderId;
+ }
+
+ public String[] getPath() {
+ return path;
+ }
+
+ public void setPath(String[] path) {
+ this.path = path;
+ }
+
+ public com.box.sdk.BoxSharedLink.Permissions getPermissions() {
+ return permissions;
+ }
+
+ public void setPermissions(com.box.sdk.BoxSharedLink.Permissions permissions) {
+ this.permissions = permissions;
+ }
+
+ public java.util.Date getUnshareDate() {
+ return unshareDate;
+ }
+
+ public void setUnshareDate(java.util.Date unshareDate) {
+ this.unshareDate = unshareDate;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..01b095e
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,195 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxFoldersManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "access":
+ case "Access": target.setAccess(property(camelContext, com.box.sdk.BoxSharedLink.Access.class, value)); return true;
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "destinationfolderid":
+ case "DestinationFolderId": target.setDestinationFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "fields":
+ case "Fields": target.setFields(property(camelContext, java.lang.String[].class, value)); return true;
+ case "folderid":
+ case "FolderId": target.setFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "foldername":
+ case "FolderName": target.setFolderName(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxFolder.Info.class, value)); return true;
+ case "limit":
+ case "Limit": target.setLimit(property(camelContext, java.lang.Long.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "newfoldername":
+ case "NewFolderName": target.setNewFolderName(property(camelContext, java.lang.String.class, value)); return true;
+ case "newname":
+ case "NewName": target.setNewName(property(camelContext, java.lang.String.class, value)); return true;
+ case "offset":
+ case "Offset": target.setOffset(property(camelContext, java.lang.Long.class, value)); return true;
+ case "parentfolderid":
+ case "ParentFolderId": target.setParentFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "path":
+ case "Path": target.setPath(property(camelContext, java.lang.String[].class, value)); return true;
+ case "permissions":
+ case "Permissions": target.setPermissions(property(camelContext, com.box.sdk.BoxSharedLink.Permissions.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "unsharedate":
+ case "UnshareDate": target.setUnshareDate(property(camelContext, java.util.Date.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("Access", com.box.sdk.BoxSharedLink.Access.class);
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("DestinationFolderId", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("Fields", java.lang.String[].class);
+ answer.put("FolderId", java.lang.String.class);
+ answer.put("FolderName", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxFolder.Info.class);
+ answer.put("Limit", java.lang.Long.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("NewFolderName", java.lang.String.class);
+ answer.put("NewName", java.lang.String.class);
+ answer.put("Offset", java.lang.Long.class);
+ answer.put("ParentFolderId", java.lang.String.class);
+ answer.put("Path", java.lang.String[].class);
+ answer.put("Permissions", com.box.sdk.BoxSharedLink.Permissions.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UnshareDate", java.util.Date.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "access":
+ case "Access": return target.getAccess();
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "destinationfolderid":
+ case "DestinationFolderId": return target.getDestinationFolderId();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "fields":
+ case "Fields": return target.getFields();
+ case "folderid":
+ case "FolderId": return target.getFolderId();
+ case "foldername":
+ case "FolderName": return target.getFolderName();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "limit":
+ case "Limit": return target.getLimit();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "newfoldername":
+ case "NewFolderName": return target.getNewFolderName();
+ case "newname":
+ case "NewName": return target.getNewName();
+ case "offset":
+ case "Offset": return target.getOffset();
+ case "parentfolderid":
+ case "ParentFolderId": return target.getParentFolderId();
+ case "path":
+ case "Path": return target.getPath();
+ case "permissions":
+ case "Permissions": return target.getPermissions();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "unsharedate":
+ case "UnshareDate": return target.getUnshareDate();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfiguration.java
new file mode 100644
index 0000000..88915d4
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfiguration.java
@@ -0,0 +1,149 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxGroupsManager
+ */
+@UriParams
+@Configurer
+public final class BoxGroupsManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private String description;
+
+ @UriParam
+ private String externalSyncIdentifier;
+
+ @UriParam
+ private String groupId;
+
+ @UriParam
+ private com.box.sdk.BoxGroup.Info groupInfo;
+
+ @UriParam
+ private String groupMembershipId;
+
+ @UriParam
+ private com.box.sdk.BoxGroupMembership.Info info;
+
+ @UriParam
+ private String invitabilityLevel;
+
+ @UriParam
+ private String memberViewabilityLevel;
+
+ @UriParam
+ private String name;
+
+ @UriParam
+ private String provenance;
+
+ @UriParam
+ private com.box.sdk.BoxGroupMembership.Role role;
+
+ @UriParam
+ private String userId;
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getExternalSyncIdentifier() {
+ return externalSyncIdentifier;
+ }
+
+ public void setExternalSyncIdentifier(String externalSyncIdentifier) {
+ this.externalSyncIdentifier = externalSyncIdentifier;
+ }
+
+ public String getGroupId() {
+ return groupId;
+ }
+
+ public void setGroupId(String groupId) {
+ this.groupId = groupId;
+ }
+
+ public com.box.sdk.BoxGroup.Info getGroupInfo() {
+ return groupInfo;
+ }
+
+ public void setGroupInfo(com.box.sdk.BoxGroup.Info groupInfo) {
+ this.groupInfo = groupInfo;
+ }
+
+ public String getGroupMembershipId() {
+ return groupMembershipId;
+ }
+
+ public void setGroupMembershipId(String groupMembershipId) {
+ this.groupMembershipId = groupMembershipId;
+ }
+
+ public com.box.sdk.BoxGroupMembership.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxGroupMembership.Info info) {
+ this.info = info;
+ }
+
+ public String getInvitabilityLevel() {
+ return invitabilityLevel;
+ }
+
+ public void setInvitabilityLevel(String invitabilityLevel) {
+ this.invitabilityLevel = invitabilityLevel;
+ }
+
+ public String getMemberViewabilityLevel() {
+ return memberViewabilityLevel;
+ }
+
+ public void setMemberViewabilityLevel(String memberViewabilityLevel) {
+ this.memberViewabilityLevel = memberViewabilityLevel;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getProvenance() {
+ return provenance;
+ }
+
+ public void setProvenance(String provenance) {
+ this.provenance = provenance;
+ }
+
+ public com.box.sdk.BoxGroupMembership.Role getRole() {
+ return role;
+ }
+
+ public void setRole(com.box.sdk.BoxGroupMembership.Role role) {
+ this.role = role;
+ }
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..aed8a43
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,180 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxGroupsManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "description":
+ case "Description": target.setDescription(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "externalsyncidentifier":
+ case "ExternalSyncIdentifier": target.setExternalSyncIdentifier(property(camelContext, java.lang.String.class, value)); return true;
+ case "groupid":
+ case "GroupId": target.setGroupId(property(camelContext, java.lang.String.class, value)); return true;
+ case "groupinfo":
+ case "GroupInfo": target.setGroupInfo(property(camelContext, com.box.sdk.BoxGroup.Info.class, value)); return true;
+ case "groupmembershipid":
+ case "GroupMembershipId": target.setGroupMembershipId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxGroupMembership.Info.class, value)); return true;
+ case "invitabilitylevel":
+ case "InvitabilityLevel": target.setInvitabilityLevel(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "memberviewabilitylevel":
+ case "MemberViewabilityLevel": target.setMemberViewabilityLevel(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "name":
+ case "Name": target.setName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "provenance":
+ case "Provenance": target.setProvenance(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "role":
+ case "Role": target.setRole(property(camelContext, com.box.sdk.BoxGroupMembership.Role.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("Description", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("ExternalSyncIdentifier", java.lang.String.class);
+ answer.put("GroupId", java.lang.String.class);
+ answer.put("GroupInfo", com.box.sdk.BoxGroup.Info.class);
+ answer.put("GroupMembershipId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxGroupMembership.Info.class);
+ answer.put("InvitabilityLevel", java.lang.String.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MemberViewabilityLevel", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("Name", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("Provenance", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("Role", com.box.sdk.BoxGroupMembership.Role.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "description":
+ case "Description": return target.getDescription();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "externalsyncidentifier":
+ case "ExternalSyncIdentifier": return target.getExternalSyncIdentifier();
+ case "groupid":
+ case "GroupId": return target.getGroupId();
+ case "groupinfo":
+ case "GroupInfo": return target.getGroupInfo();
+ case "groupmembershipid":
+ case "GroupMembershipId": return target.getGroupMembershipId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "invitabilitylevel":
+ case "InvitabilityLevel": return target.getInvitabilityLevel();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "memberviewabilitylevel":
+ case "MemberViewabilityLevel": return target.getMemberViewabilityLevel();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "name":
+ case "Name": return target.getName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "provenance":
+ case "Provenance": return target.getProvenance();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "role":
+ case "Role": return target.getRole();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfiguration.java
new file mode 100644
index 0000000..3a79ad4
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfiguration.java
@@ -0,0 +1,39 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxSearchManager
+ */
+@UriParams
+@Configurer
+public final class BoxSearchManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private String folderId;
+
+ @UriParam
+ private String query;
+
+ public String getFolderId() {
+ return folderId;
+ }
+
+ public void setFolderId(String folderId) {
+ this.folderId = folderId;
+ }
+
+ public String getQuery() {
+ return query;
+ }
+
+ public void setQuery(String query) {
+ this.query = query;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..06cf9ebf
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,135 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxSearchManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "folderid":
+ case "FolderId": target.setFolderId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "query":
+ case "Query": target.setQuery(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("FolderId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("Query", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "folderid":
+ case "FolderId": return target.getFolderId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "query":
+ case "Query": return target.getQuery();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfiguration.java
new file mode 100644
index 0000000..5066e88
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfiguration.java
@@ -0,0 +1,105 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxTasksManager
+ */
+@UriParams
+@Configurer
+public final class BoxTasksManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private com.box.sdk.BoxTask.Action action;
+
+ @UriParam
+ private com.box.sdk.BoxUser assignTo;
+
+ @UriParam
+ private java.util.Date dueAt;
+
+ @UriParam
+ private String fileId;
+
+ @UriParam
+ private com.box.sdk.BoxTask.Info info;
+
+ @UriParam
+ private String message;
+
+ @UriParam
+ private String taskAssignmentId;
+
+ @UriParam
+ private String taskId;
+
+ public com.box.sdk.BoxTask.Action getAction() {
+ return action;
+ }
+
+ public void setAction(com.box.sdk.BoxTask.Action action) {
+ this.action = action;
+ }
+
+ public com.box.sdk.BoxUser getAssignTo() {
+ return assignTo;
+ }
+
+ public void setAssignTo(com.box.sdk.BoxUser assignTo) {
+ this.assignTo = assignTo;
+ }
+
+ public java.util.Date getDueAt() {
+ return dueAt;
+ }
+
+ public void setDueAt(java.util.Date dueAt) {
+ this.dueAt = dueAt;
+ }
+
+ public String getFileId() {
+ return fileId;
+ }
+
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+
+ public com.box.sdk.BoxTask.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxTask.Info info) {
+ this.info = info;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getTaskAssignmentId() {
+ return taskAssignmentId;
+ }
+
+ public void setTaskAssignmentId(String taskAssignmentId) {
+ this.taskAssignmentId = taskAssignmentId;
+ }
+
+ public String getTaskId() {
+ return taskId;
+ }
+
+ public void setTaskId(String taskId) {
+ this.taskId = taskId;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..c876e9c
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,165 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxTasksManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "action":
+ case "Action": target.setAction(property(camelContext, com.box.sdk.BoxTask.Action.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "assignto":
+ case "AssignTo": target.setAssignTo(property(camelContext, com.box.sdk.BoxUser.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "dueat":
+ case "DueAt": target.setDueAt(property(camelContext, java.util.Date.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "fileid":
+ case "FileId": target.setFileId(property(camelContext, java.lang.String.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxTask.Info.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "message":
+ case "Message": target.setMessage(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "taskassignmentid":
+ case "TaskAssignmentId": target.setTaskAssignmentId(property(camelContext, java.lang.String.class, value)); return true;
+ case "taskid":
+ case "TaskId": target.setTaskId(property(camelContext, java.lang.String.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("Action", com.box.sdk.BoxTask.Action.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AssignTo", com.box.sdk.BoxUser.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("DueAt", java.util.Date.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("FileId", java.lang.String.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxTask.Info.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("Message", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("TaskAssignmentId", java.lang.String.class);
+ answer.put("TaskId", java.lang.String.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "action":
+ case "Action": return target.getAction();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "assignto":
+ case "AssignTo": return target.getAssignTo();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "dueat":
+ case "DueAt": return target.getDueAt();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "fileid":
+ case "FileId": return target.getFileId();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "message":
+ case "Message": return target.getMessage();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "taskassignmentid":
+ case "TaskAssignmentId": return target.getTaskAssignmentId();
+ case "taskid":
+ case "TaskId": return target.getTaskId();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfiguration.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfiguration.java
new file mode 100644
index 0000000..4342223
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfiguration.java
@@ -0,0 +1,149 @@
+
+/*
+ * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box;
+
+import org.apache.camel.spi.Configurer;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+
+/**
+ * Camel EndpointConfiguration for org.apache.camel.component.box.api.BoxUsersManager
+ */
+@UriParams
+@Configurer
+public final class BoxUsersManagerEndpointConfiguration extends BoxConfiguration {
+
+ @UriParam
+ private String email;
+
+ @UriParam
+ private String emailAliasId;
+
+ @UriParam
+ private String[] fields;
+
+ @UriParam
+ private String filterTerm;
+
+ @UriParam
+ private Boolean force;
+
+ @UriParam
+ private com.box.sdk.BoxUser.Info info;
+
+ @UriParam
+ private String login;
+
+ @UriParam
+ private String name;
+
+ @UriParam
+ private Boolean notifyUser;
+
+ @UriParam
+ private com.box.sdk.CreateUserParams params;
+
+ @UriParam
+ private String sourceUserId;
+
+ @UriParam
+ private String userId;
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getEmailAliasId() {
+ return emailAliasId;
+ }
+
+ public void setEmailAliasId(String emailAliasId) {
+ this.emailAliasId = emailAliasId;
+ }
+
+ public String[] getFields() {
+ return fields;
+ }
+
+ public void setFields(String[] fields) {
+ this.fields = fields;
+ }
+
+ public String getFilterTerm() {
+ return filterTerm;
+ }
+
+ public void setFilterTerm(String filterTerm) {
+ this.filterTerm = filterTerm;
+ }
+
+ public Boolean getForce() {
+ return force;
+ }
+
+ public void setForce(Boolean force) {
+ this.force = force;
+ }
+
+ public com.box.sdk.BoxUser.Info getInfo() {
+ return info;
+ }
+
+ public void setInfo(com.box.sdk.BoxUser.Info info) {
+ this.info = info;
+ }
+
+ public String getLogin() {
+ return login;
+ }
+
+ public void setLogin(String login) {
+ this.login = login;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Boolean getNotifyUser() {
+ return notifyUser;
+ }
+
+ public void setNotifyUser(Boolean notifyUser) {
+ this.notifyUser = notifyUser;
+ }
+
+ public com.box.sdk.CreateUserParams getParams() {
+ return params;
+ }
+
+ public void setParams(com.box.sdk.CreateUserParams params) {
+ this.params = params;
+ }
+
+ public String getSourceUserId() {
+ return sourceUserId;
+ }
+
+ public void setSourceUserId(String sourceUserId) {
+ this.sourceUserId = sourceUserId;
+ }
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java
new file mode 100644
index 0000000..8888424
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java
@@ -0,0 +1,180 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.box;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class BoxUsersManagerEndpointConfigurationConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
+
+ @Override
+ public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": target.setAccessTokenCache(property(camelContext, com.box.sdk.IAccessTokenCache.class, value)); return true;
+ case "apiname":
+ case "ApiName": target.setApiName(property(camelContext, org.apache.camel.component.box.internal.BoxApiName.class, value)); return true;
+ case "authenticationtype":
+ case "AuthenticationType": target.setAuthenticationType(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientid":
+ case "ClientId": target.setClientId(property(camelContext, java.lang.String.class, value)); return true;
+ case "clientsecret":
+ case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true;
+ case "email":
+ case "Email": target.setEmail(property(camelContext, java.lang.String.class, value)); return true;
+ case "emailaliasid":
+ case "EmailAliasId": target.setEmailAliasId(property(camelContext, java.lang.String.class, value)); return true;
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true;
+ case "enterpriseid":
+ case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true;
+ case "fields":
+ case "Fields": target.setFields(property(camelContext, java.lang.String[].class, value)); return true;
+ case "filterterm":
+ case "FilterTerm": target.setFilterTerm(property(camelContext, java.lang.String.class, value)); return true;
+ case "force":
+ case "Force": target.setForce(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "httpparams":
+ case "HttpParams": target.setHttpParams(property(camelContext, java.util.Map.class, value)); return true;
+ case "info":
+ case "Info": target.setInfo(property(camelContext, com.box.sdk.BoxUser.Info.class, value)); return true;
+ case "login":
+ case "Login": target.setLogin(property(camelContext, java.lang.String.class, value)); return true;
+ case "maxcacheentries":
+ case "MaxCacheEntries": target.setMaxCacheEntries(property(camelContext, java.lang.String.class, value)); return true;
+ case "methodname":
+ case "MethodName": target.setMethodName(property(camelContext, java.lang.String.class, value)); return true;
+ case "name":
+ case "Name": target.setName(property(camelContext, java.lang.String.class, value)); return true;
+ case "notifyuser":
+ case "NotifyUser": target.setNotifyUser(property(camelContext, java.lang.Boolean.class, value)); return true;
+ case "params":
+ case "Params": target.setParams(property(camelContext, com.box.sdk.CreateUserParams.class, value)); return true;
+ case "privatekeyfile":
+ case "PrivateKeyFile": target.setPrivateKeyFile(property(camelContext, java.lang.String.class, value)); return true;
+ case "privatekeypassword":
+ case "PrivateKeyPassword": target.setPrivateKeyPassword(property(camelContext, java.lang.String.class, value)); return true;
+ case "publickeyid":
+ case "PublicKeyId": target.setPublicKeyId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sourceuserid":
+ case "SourceUserId": target.setSourceUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "sslcontextparameters":
+ case "SslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "userid":
+ case "UserId": target.setUserId(property(camelContext, java.lang.String.class, value)); return true;
+ case "username":
+ case "UserName": target.setUserName(property(camelContext, java.lang.String.class, value)); return true;
+ case "userpassword":
+ case "UserPassword": target.setUserPassword(property(camelContext, java.lang.String.class, value)); return true;
+ default: return false;
+ }
+ }
+
+ @Override
+ public Map<String, Object> getAllOptions(Object target) {
+ Map<String, Object> answer = new CaseInsensitiveMap();
+ answer.put("AccessTokenCache", com.box.sdk.IAccessTokenCache.class);
+ answer.put("ApiName", org.apache.camel.component.box.internal.BoxApiName.class);
+ answer.put("AuthenticationType", java.lang.String.class);
+ answer.put("ClientId", java.lang.String.class);
+ answer.put("ClientSecret", java.lang.String.class);
+ answer.put("Email", java.lang.String.class);
+ answer.put("EmailAliasId", java.lang.String.class);
+ answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class);
+ answer.put("EnterpriseId", java.lang.String.class);
+ answer.put("Fields", java.lang.String[].class);
+ answer.put("FilterTerm", java.lang.String.class);
+ answer.put("Force", java.lang.Boolean.class);
+ answer.put("HttpParams", java.util.Map.class);
+ answer.put("Info", com.box.sdk.BoxUser.Info.class);
+ answer.put("Login", java.lang.String.class);
+ answer.put("MaxCacheEntries", java.lang.String.class);
+ answer.put("MethodName", java.lang.String.class);
+ answer.put("Name", java.lang.String.class);
+ answer.put("NotifyUser", java.lang.Boolean.class);
+ answer.put("Params", com.box.sdk.CreateUserParams.class);
+ answer.put("PrivateKeyFile", java.lang.String.class);
+ answer.put("PrivateKeyPassword", java.lang.String.class);
+ answer.put("PublicKeyId", java.lang.String.class);
+ answer.put("SourceUserId", java.lang.String.class);
+ answer.put("SslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class);
+ answer.put("UserId", java.lang.String.class);
+ answer.put("UserName", java.lang.String.class);
+ answer.put("UserPassword", java.lang.String.class);
+ return answer;
+ }
+
+ @Override
+ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+ org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration target = (org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration) obj;
+ switch (ignoreCase ? name.toLowerCase() : name) {
+ case "accesstokencache":
+ case "AccessTokenCache": return target.getAccessTokenCache();
+ case "apiname":
+ case "ApiName": return target.getApiName();
+ case "authenticationtype":
+ case "AuthenticationType": return target.getAuthenticationType();
+ case "clientid":
+ case "ClientId": return target.getClientId();
+ case "clientsecret":
+ case "ClientSecret": return target.getClientSecret();
+ case "email":
+ case "Email": return target.getEmail();
+ case "emailaliasid":
+ case "EmailAliasId": return target.getEmailAliasId();
+ case "encryptionalgorithm":
+ case "EncryptionAlgorithm": return target.getEncryptionAlgorithm();
+ case "enterpriseid":
+ case "EnterpriseId": return target.getEnterpriseId();
+ case "fields":
+ case "Fields": return target.getFields();
+ case "filterterm":
+ case "FilterTerm": return target.getFilterTerm();
+ case "force":
+ case "Force": return target.getForce();
+ case "httpparams":
+ case "HttpParams": return target.getHttpParams();
+ case "info":
+ case "Info": return target.getInfo();
+ case "login":
+ case "Login": return target.getLogin();
+ case "maxcacheentries":
+ case "MaxCacheEntries": return target.getMaxCacheEntries();
+ case "methodname":
+ case "MethodName": return target.getMethodName();
+ case "name":
+ case "Name": return target.getName();
+ case "notifyuser":
+ case "NotifyUser": return target.getNotifyUser();
+ case "params":
+ case "Params": return target.getParams();
+ case "privatekeyfile":
+ case "PrivateKeyFile": return target.getPrivateKeyFile();
+ case "privatekeypassword":
+ case "PrivateKeyPassword": return target.getPrivateKeyPassword();
+ case "publickeyid":
+ case "PublicKeyId": return target.getPublicKeyId();
+ case "sourceuserid":
+ case "SourceUserId": return target.getSourceUserId();
+ case "sslcontextparameters":
+ case "SslContextParameters": return target.getSslContextParameters();
+ case "userid":
+ case "UserId": return target.getUserId();
+ case "username":
+ case "UserName": return target.getUserName();
+ case "userpassword":
+ case "UserPassword": return target.getUserPassword();
+ default: return null;
+ }
+ }
+}
+
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiCollection.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiCollection.java
new file mode 100644
index 0000000..69db436
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiCollection.java
@@ -0,0 +1,216 @@
+
+/*
+ * Camel ApiCollection generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.apache.camel.component.box.BoxConfiguration;
+import org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxCommentsManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxEventLogsManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxFilesManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxFoldersManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxGroupsManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxEventsManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxSearchManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxTasksManagerEndpointConfiguration;
+import org.apache.camel.component.box.BoxUsersManagerEndpointConfiguration;
+
+import org.apache.camel.support.component.ApiCollection;
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodHelper;
+
+/**
+ * Camel {@link ApiCollection} for Box
+ */
+public final class BoxApiCollection extends ApiCollection<BoxApiName, BoxConfiguration> {
+
+ private static BoxApiCollection collection;
+
+ private BoxApiCollection() {
+ final Map<String, String> aliases = new HashMap<String, String>();
+ final Map<BoxApiName, ApiMethodHelper<? extends ApiMethod>> apiHelpers = new HashMap<>();
+ final Map<Class<? extends ApiMethod>, BoxApiName> apiMethods = new HashMap<>();
+
+ List<String> nullableArgs;
+
+ aliases.clear();
+ aliases.put("addFolderCollaboration", "add");
+ aliases.put("addFolderCollaborationByEmail", "addByEmail");
+ aliases.put("deleteCollaboration", "delete");
+ aliases.put("getFolderCollaborations", "collaborations");
+ aliases.put("getPendingCollaborations", "pendingCollaborations");
+ aliases.put("getCollaborationInfo", "info");
+ aliases.put("updateCollaborationInfo", "updateInfo");
+ nullableArgs = Arrays.asList();
+ apiHelpers.put(BoxApiName.COLLABORATIONS, new ApiMethodHelper<BoxCollaborationsManagerApiMethod>(BoxCollaborationsManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxCollaborationsManagerApiMethod.class, BoxApiName.COLLABORATIONS);
+
+ aliases.clear();
+ aliases.put("addFileComment", "add");
+ aliases.put("changeCommentMessage", "updateMessage");
+ aliases.put("deleteComment", "delete");
+ aliases.put("getCommentInfo", "info");
+ aliases.put("getFileComments", "comments");
+ aliases.put("replyToComment", "reply");
+ nullableArgs = Arrays.asList();
+ apiHelpers.put(BoxApiName.COMMENTS, new ApiMethodHelper<BoxCommentsManagerApiMethod>(BoxCommentsManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxCommentsManagerApiMethod.class, BoxApiName.COMMENTS);
+
+ aliases.clear();
+ aliases.put("getEnterpriseEvents", "events");
+ nullableArgs = Arrays.asList("position", "types");
+ apiHelpers.put(BoxApiName.EVENT_LOGS, new ApiMethodHelper<BoxEventLogsManagerApiMethod>(BoxEventLogsManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxEventLogsManagerApiMethod.class, BoxApiName.EVENT_LOGS);
+
+ aliases.clear();
+ aliases.put("uploadFile", "upload");
+ aliases.put("downloadFile", "download");
+ aliases.put("copyFile", "copy");
+ aliases.put("moveFile", "move");
+ aliases.put("renameFile", "rename");
+ aliases.put("createFileSharedLink", "link");
+ aliases.put("deleteFile", "delete");
+ aliases.put("uploadNewFileVersion", "uploadVersion");
+ aliases.put("promoteFileVersion", "promoteVersion");
+ aliases.put("getFileVersions", "versions");
+ aliases.put("downloadPreviousFileVersion", "downloadVersion");
+ aliases.put("deleteFileVersion", "deleteVersion");
+ aliases.put("getFileInfo", "info");
+ aliases.put("updateFileInfo", "updateInfo");
+ aliases.put("createFileMetadata", "createMetadata");
+ aliases.put("getFileMetadata", "metadata");
+ aliases.put("updateFileMetadata", "updateMetadata");
+ aliases.put("deleteFileMetadata", "deleteMetadata");
+ aliases.put("getDownloadUrl", "url");
+ aliases.put("getPreviewLink", "preview");
+ aliases.put("getFileThumbnail", "thumbnail");
+ aliases.put("checkUpload", "canUpload");
+ nullableArgs = Arrays.asList("fields", "created", "modified", "size", "fileSize", "rangeStart", "rangeEnd", "listener", "fileSize", "newName", "unshareDate", "permissions", "typeName", "check");
+ apiHelpers.put(BoxApiName.FILES, new ApiMethodHelper<BoxFilesManagerApiMethod>(BoxFilesManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxFilesManagerApiMethod.class, BoxApiName.FILES);
+
+ aliases.clear();
+ aliases.put("getRootFolder", "root");
+ aliases.put("createFolder", "create");
+ aliases.put("copyFolder", "copy");
+ aliases.put("moveFolder", "move");
+ aliases.put("renameFolder", "rename");
+ aliases.put("createFolderSharedLink", "link");
+ aliases.put("deleteFolder", "delete");
+ aliases.put("getFolder", "folder");
+ aliases.put("getFolderInfo", "info");
+ aliases.put("getFolderItems", "items");
+ aliases.put("updateFolderInfo", "updateInfo");
+ nullableArgs = Arrays.asList("offset", "limit", "fields");
+ apiHelpers.put(BoxApiName.FOLDERS, new ApiMethodHelper<BoxFoldersManagerApiMethod>(BoxFoldersManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxFoldersManagerApiMethod.class, BoxApiName.FOLDERS);
+
+ aliases.clear();
+ aliases.put("createGroup", "create");
+ aliases.put("deleteGroup", "delete");
+ aliases.put("getAllGroups", "groups");
+ aliases.put("getGroupInfo", "info");
+ aliases.put("addGroupMembership", "addMembership");
+ aliases.put("deleteGroupMembership", "deleteMembership");
+ aliases.put("getGroupMemberships", "memberships");
+ aliases.put("getGroupMembershipInfo", "membershipInfo");
+ aliases.put("updateGroupMembershipInfo", "updateMembershipInfo");
+ nullableArgs = Arrays.asList("role", "description", "provenance", "externalSyncIdentifier", "invitabilityLevel", "memberViewabilityLevel");
+ apiHelpers.put(BoxApiName.GROUPS, new ApiMethodHelper<BoxGroupsManagerApiMethod>(BoxGroupsManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxGroupsManagerApiMethod.class, BoxApiName.GROUPS);
+
+ aliases.clear();
+ nullableArgs = Arrays.asList("startingPosition");
+ apiHelpers.put(BoxApiName.EVENTS, new ApiMethodHelper<BoxEventsManagerApiMethod>(BoxEventsManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxEventsManagerApiMethod.class, BoxApiName.EVENTS);
+
+ aliases.clear();
+ aliases.put("searchFolder", "search");
+ nullableArgs = Arrays.asList();
+ apiHelpers.put(BoxApiName.SEARCH, new ApiMethodHelper<BoxSearchManagerApiMethod>(BoxSearchManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxSearchManagerApiMethod.class, BoxApiName.SEARCH);
+
+ aliases.clear();
+ aliases.put("addFileTask", "add");
+ aliases.put("deleteTask", "delete");
+ aliases.put("getFileTasks", "tasks");
+ aliases.put("getTaskInfo", "info");
+ aliases.put("updateTaskInfo", "updateInfo");
+ aliases.put("addAssignmentToTask", "addAssignment");
+ aliases.put("deleteTaskAssignment", "deleteAssignment");
+ aliases.put("getTaskAssignments", "assignments");
+ aliases.put("getTaskAssignmentInfo", "assignmentInfo");
+ nullableArgs = Arrays.asList("message");
+ apiHelpers.put(BoxApiName.TASKS, new ApiMethodHelper<BoxTasksManagerApiMethod>(BoxTasksManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxTasksManagerApiMethod.class, BoxApiName.TASKS);
+
+ aliases.clear();
+ aliases.put("getCurrentUser", "currentUser");
+ aliases.put("getAllEnterpriseOrExternalUsers", "users");
+ aliases.put("createAppUser", "create");
+ aliases.put("createEnterpriseUser", "create");
+ aliases.put("deleteUser", "delete");
+ aliases.put("addUserEmailAlias", "addEmailAlias");
+ aliases.put("getUserEmailAlias", "emailAlias");
+ aliases.put("deleteUserEmailAlias", "deleteEmailAlias");
+ aliases.put("getUserInfo", "info");
+ aliases.put("updateUserInfo", "updateInfo");
+ nullableArgs = Arrays.asList("filterTerm", "fields", "params");
+ apiHelpers.put(BoxApiName.USERS, new ApiMethodHelper<BoxUsersManagerApiMethod>(BoxUsersManagerApiMethod.class, aliases, nullableArgs));
+ apiMethods.put(BoxUsersManagerApiMethod.class, BoxApiName.USERS);
+
+ setApiHelpers(apiHelpers);
+ setApiMethods(apiMethods);
+ }
+
+ public BoxConfiguration getEndpointConfiguration(BoxApiName apiName) {
+ BoxConfiguration result = null;
+ switch (apiName) {
+ case COLLABORATIONS:
+ result = new BoxCollaborationsManagerEndpointConfiguration();
+ break;
+ case COMMENTS:
+ result = new BoxCommentsManagerEndpointConfiguration();
+ break;
+ case EVENT_LOGS:
+ result = new BoxEventLogsManagerEndpointConfiguration();
+ break;
+ case FILES:
+ result = new BoxFilesManagerEndpointConfiguration();
+ break;
+ case FOLDERS:
+ result = new BoxFoldersManagerEndpointConfiguration();
+ break;
+ case GROUPS:
+ result = new BoxGroupsManagerEndpointConfiguration();
+ break;
+ case EVENTS:
+ result = new BoxEventsManagerEndpointConfiguration();
+ break;
+ case SEARCH:
+ result = new BoxSearchManagerEndpointConfiguration();
+ break;
+ case TASKS:
+ result = new BoxTasksManagerEndpointConfiguration();
+ break;
+ case USERS:
+ result = new BoxUsersManagerEndpointConfiguration();
+ break;
+ }
+ return result;
+ }
+
+ public static synchronized BoxApiCollection getCollection() {
+ if (collection == null) {
+ collection = new BoxApiCollection();
+ }
+ return collection;
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java
new file mode 100644
index 0000000..ee5e710
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxApiName.java
@@ -0,0 +1,56 @@
+
+/*
+ * Camel ApiName Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import org.apache.camel.support.component.ApiName;
+
+/**
+ * Camel {@link ApiName} Enumeration for Component Box
+ */
+public enum BoxApiName implements ApiName {
+
+ COLLABORATIONS("collaborations"),
+
+ COMMENTS("comments"),
+
+ EVENT_LOGS("event-logs"),
+
+ FILES("files"),
+
+ FOLDERS("folders"),
+
+ GROUPS("groups"),
+
+ EVENTS("events"),
+
+ SEARCH("search"),
+
+ TASKS("tasks"),
+
+ USERS("users");
+
+
+ private static final BoxApiName[] VALUES = values();
+
+ private final String name;
+
+ private BoxApiName(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ public static BoxApiName fromValue(String value) throws IllegalArgumentException {
+ for (int i = 0; i < VALUES.length; i++) {
+ if (VALUES[i].name.equals(value)) {
+ return VALUES[i];
+ }
+ }
+ throw new IllegalArgumentException("Invalid value " + value);
+ }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java
new file mode 100644
index 0000000..c0d8e20
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCollaborationsManagerApiMethod.java
@@ -0,0 +1,84 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxCollaborationsManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxCollaborationsManager
+ */
+public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
+
+ ADDFOLDERCOLLABORATION(
+ com.box.sdk.BoxCollaboration.class,
+ "addFolderCollaboration",
+ arg("folderId", String.class),
+ arg("collaborator", com.box.sdk.BoxCollaborator.class),
+ arg("role", com.box.sdk.BoxCollaboration.Role.class)),
+
+ ADDFOLDERCOLLABORATIONBYEMAIL(
+ com.box.sdk.BoxCollaboration.class,
+ "addFolderCollaborationByEmail",
+ arg("folderId", String.class),
+ arg("email", String.class),
+ arg("role", com.box.sdk.BoxCollaboration.Role.class)),
+
+ DELETECOLLABORATION(
+ void.class,
+ "deleteCollaboration",
+ arg("collaborationId", String.class)),
+
+ GETCOLLABORATIONINFO(
+ com.box.sdk.BoxCollaboration.Info.class,
+ "getCollaborationInfo",
+ arg("collaborationId", String.class)),
+
+ GETFOLDERCOLLABORATIONS(
+ java.util.Collection.class,
+ "getFolderCollaborations",
+ arg("folderId", String.class)),
+
+ GETPENDINGCOLLABORATIONS(
+ java.util.Collection.class,
+ "getPendingCollaborations"),
+
+ UPDATECOLLABORATIONINFO(
+ com.box.sdk.BoxCollaboration.class,
+ "updateCollaborationInfo",
+ arg("collaborationId", String.class),
+ arg("info", com.box.sdk.BoxCollaboration.Info.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxCollaborationsManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxCollaborationsManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java
new file mode 100644
index 0000000..0507e8e
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxCommentsManagerApiMethod.java
@@ -0,0 +1,78 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxCommentsManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxCommentsManager
+ */
+public enum BoxCommentsManagerApiMethod implements ApiMethod {
+
+ ADDFILECOMMENT(
+ com.box.sdk.BoxFile.class,
+ "addFileComment",
+ arg("fileId", String.class),
+ arg("message", String.class)),
+
+ CHANGECOMMENTMESSAGE(
+ com.box.sdk.BoxComment.class,
+ "changeCommentMessage",
+ arg("commentId", String.class),
+ arg("message", String.class)),
+
+ DELETECOMMENT(
+ void.class,
+ "deleteComment",
+ arg("commentId", String.class)),
+
+ GETCOMMENTINFO(
+ com.box.sdk.BoxComment.Info.class,
+ "getCommentInfo",
+ arg("commentId", String.class)),
+
+ GETFILECOMMENTS(
+ java.util.List.class,
+ "getFileComments",
+ arg("fileId", String.class)),
+
+ REPLYTOCOMMENT(
+ com.box.sdk.BoxComment.class,
+ "replyToComment",
+ arg("commentId", String.class),
+ arg("message", String.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxCommentsManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxCommentsManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java
new file mode 100644
index 0000000..fa67535
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventLogsManagerApiMethod.java
@@ -0,0 +1,53 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxEventLogsManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxEventLogsManager
+ */
+public enum BoxEventLogsManagerApiMethod implements ApiMethod {
+
+ GETENTERPRISEEVENTS(
+ java.util.List.class,
+ "getEnterpriseEvents",
+ arg("position", String.class),
+ arg("after", java.util.Date.class),
+ arg("before", java.util.Date.class),
+ arg("types", new com.box.sdk.BoxEvent.Type[0].getClass()));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxEventLogsManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxEventLogsManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java
new file mode 100644
index 0000000..6d2ee1c
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxEventsManagerApiMethod.java
@@ -0,0 +1,51 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxEventsManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxEventsManager
+ */
+public enum BoxEventsManagerApiMethod implements ApiMethod {
+
+ LISTEN(
+ void.class,
+ "listen",
+ arg("listener", com.box.sdk.EventListener.class),
+ arg("startingPosition", Long.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxEventsManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxEventsManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java
new file mode 100644
index 0000000..f41e6b5
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFilesManagerApiMethod.java
@@ -0,0 +1,196 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxFilesManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxFilesManager
+ */
+public enum BoxFilesManagerApiMethod implements ApiMethod {
+
+ CHECKUPLOAD(
+ void.class,
+ "checkUpload",
+ arg("fileName", String.class),
+ arg("parentFolderId", String.class),
+ arg("size", Long.class)),
+
+ COPYFILE(
+ com.box.sdk.BoxFile.class,
+ "copyFile",
+ arg("fileId", String.class),
+ arg("destinationFolderId", String.class),
+ arg("newName", String.class)),
+
+ CREATEFILEMETADATA(
+ com.box.sdk.Metadata.class,
+ "createFileMetadata",
+ arg("fileId", String.class),
+ arg("metadata", com.box.sdk.Metadata.class),
+ arg("typeName", String.class)),
+
+ CREATEFILESHAREDLINK(
+ com.box.sdk.BoxSharedLink.class,
+ "createFileSharedLink",
+ arg("fileId", String.class),
+ arg("access", com.box.sdk.BoxSharedLink.Access.class),
+ arg("unshareDate", java.util.Date.class),
+ arg("permissions", com.box.sdk.BoxSharedLink.Permissions.class)),
+
+ DELETEFILE(
+ void.class,
+ "deleteFile",
+ arg("fileId", String.class)),
+
+ DELETEFILEMETADATA(
+ void.class,
+ "deleteFileMetadata",
+ arg("fileId", String.class)),
+
+ DELETEFILEVERSION(
+ void.class,
+ "deleteFileVersion",
+ arg("fileId", String.class),
+ arg("version", Integer.class)),
+
+ DOWNLOADFILE(
+ java.io.OutputStream.class,
+ "downloadFile",
+ arg("fileId", String.class),
+ arg("output", java.io.OutputStream.class),
+ arg("rangeStart", Long.class),
+ arg("rangeEnd", Long.class),
+ arg("listener", com.box.sdk.ProgressListener.class)),
+
+ DOWNLOADPREVIOUSFILEVERSION(
+ java.io.OutputStream.class,
+ "downloadPreviousFileVersion",
+ arg("fileId", String.class),
+ arg("version", Integer.class),
+ arg("output", java.io.OutputStream.class),
+ arg("listener", com.box.sdk.ProgressListener.class)),
+
+ GETDOWNLOADURL(
+ java.net.URL.class,
+ "getDownloadURL",
+ arg("fileId", String.class)),
+
+ GETFILEINFO(
+ com.box.sdk.BoxFile.Info.class,
+ "getFileInfo",
+ arg("fileId", String.class),
+ arg("fields", new String[0].getClass())),
+
+ GETFILEMETADATA(
+ com.box.sdk.Metadata.class,
+ "getFileMetadata",
+ arg("fileId", String.class),
+ arg("typeName", String.class)),
+
+ GETFILEPREVIEWLINK(
+ java.net.URL.class,
+ "getFilePreviewLink",
+ arg("fileId", String.class)),
+
+ GETFILETHUMBNAIL(
+ new byte[0].getClass(),
+ "getFileThumbnail",
+ arg("fileId", String.class),
+ arg("fileType", com.box.sdk.BoxFile.ThumbnailFileType.class),
+ arg("minWidth", Integer.class),
+ arg("minHeight", Integer.class),
+ arg("maxWidth", Integer.class),
+ arg("maxHeight", Integer.class)),
+
+ GETFILEVERSIONS(
+ java.util.Collection.class,
+ "getFileVersions",
+ arg("fileId", String.class)),
+
+ MOVEFILE(
+ com.box.sdk.BoxFile.class,
+ "moveFile",
+ arg("fileId", String.class),
+ arg("destinationFolderId", String.class),
+ arg("newName", String.class)),
+
+ PROMOTEFILEVERSION(
+ com.box.sdk.BoxFileVersion.class,
+ "promoteFileVersion",
+ arg("fileId", String.class),
+ arg("version", Integer.class)),
+
+ RENAMEFILE(
+ com.box.sdk.BoxFile.class,
+ "renameFile",
+ arg("fileId", String.class),
+ arg("newFileName", String.class)),
+
+ UPDATEFILEINFO(
+ com.box.sdk.BoxFile.class,
+ "updateFileInfo",
+ arg("fileId", String.class),
+ arg("info", com.box.sdk.BoxFile.Info.class)),
+
+ UPDATEFILEMETADATA(
+ com.box.sdk.Metadata.class,
+ "updateFileMetadata",
+ arg("fileId", String.class),
+ arg("metadata", com.box.sdk.Metadata.class)),
+
+ UPLOADFILE(
+ com.box.sdk.BoxFile.class,
+ "uploadFile",
+ arg("parentFolderId", String.class),
+ arg("content", java.io.InputStream.class),
+ arg("fileName", String.class),
+ arg("created", java.util.Date.class),
+ arg("modified", java.util.Date.class),
+ arg("size", Long.class),
+ arg("check", Boolean.class),
+ arg("listener", com.box.sdk.ProgressListener.class)),
+
+ UPLOADNEWFILEVERSION(
+ com.box.sdk.BoxFile.class,
+ "uploadNewFileVersion",
+ arg("fileId", String.class),
+ arg("fileContent", java.io.InputStream.class),
+ arg("modified", java.util.Date.class),
+ arg("fileSize", Long.class),
+ arg("listener", com.box.sdk.ProgressListener.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxFilesManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxFilesManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java
new file mode 100644
index 0000000..9bb8906
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxFoldersManagerApiMethod.java
@@ -0,0 +1,119 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxFoldersManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxFoldersManager
+ */
+public enum BoxFoldersManagerApiMethod implements ApiMethod {
+
+ COPYFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "copyFolder",
+ arg("folderId", String.class),
+ arg("destinationFolderId", String.class),
+ arg("newName", String.class)),
+
+ CREATEFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "createFolder",
+ arg("parentFolderId", String.class),
+ arg("folderName", String.class)),
+
+ CREATEFOLDER_1(
+ com.box.sdk.BoxFolder.class,
+ "createFolder",
+ arg("parentFolderId", String.class),
+ arg("path", new String[0].getClass())),
+
+ CREATEFOLDERSHAREDLINK(
+ com.box.sdk.BoxSharedLink.class,
+ "createFolderSharedLink",
+ arg("folderId", String.class),
+ arg("access", com.box.sdk.BoxSharedLink.Access.class),
+ arg("unshareDate", java.util.Date.class),
+ arg("permissions", com.box.sdk.BoxSharedLink.Permissions.class)),
+
+ DELETEFOLDER(
+ void.class,
+ "deleteFolder",
+ arg("folderId", String.class)),
+
+ GETFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "getFolder",
+ arg("path", new String[0].getClass())),
+
+ GETFOLDERINFO(
+ com.box.sdk.BoxFolder.Info.class,
+ "getFolderInfo",
+ arg("folderId", String.class),
+ arg("fields", new String[0].getClass())),
+
+ GETFOLDERITEMS(
+ java.util.Collection.class,
+ "getFolderItems",
+ arg("folderId", String.class),
+ arg("offset", Long.class),
+ arg("limit", Long.class),
+ arg("fields", new String[0].getClass())),
+
+ GETROOTFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "getRootFolder"),
+
+ MOVEFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "moveFolder",
+ arg("folderId", String.class),
+ arg("destinationFolderId", String.class),
+ arg("newName", String.class)),
+
+ RENAMEFOLDER(
+ com.box.sdk.BoxFolder.class,
+ "renameFolder",
+ arg("folderId", String.class),
+ arg("newFolderName", String.class)),
+
+ UPDATEFOLDERINFO(
+ com.box.sdk.BoxFolder.class,
+ "updateFolderInfo",
+ arg("folderId", String.class),
+ arg("info", com.box.sdk.BoxFolder.Info.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxFoldersManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxFoldersManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java
new file mode 100644
index 0000000..57d1ef9
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxGroupsManagerApiMethod.java
@@ -0,0 +1,103 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxGroupsManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxGroupsManager
+ */
+public enum BoxGroupsManagerApiMethod implements ApiMethod {
+
+ ADDGROUPMEMBERSHIP(
+ com.box.sdk.BoxGroupMembership.class,
+ "addGroupMembership",
+ arg("groupId", String.class),
+ arg("userId", String.class),
+ arg("role", com.box.sdk.BoxGroupMembership.Role.class)),
+
+ CREATEGROUP(
+ com.box.sdk.BoxGroup.class,
+ "createGroup",
+ arg("name", String.class),
+ arg("provenance", String.class),
+ arg("externalSyncIdentifier", String.class),
+ arg("description", String.class),
+ arg("invitabilityLevel", String.class),
+ arg("memberViewabilityLevel", String.class)),
+
+ DELETEGROUP(
+ void.class,
+ "deleteGroup",
+ arg("groupId", String.class)),
+
+ DELETEGROUPMEMBERSHIP(
+ void.class,
+ "deleteGroupMembership",
+ arg("groupMembershipId", String.class)),
+
+ GETALLGROUPS(
+ java.util.Collection.class,
+ "getAllGroups"),
+
+ GETGROUPINFO(
+ com.box.sdk.BoxGroup.Info.class,
+ "getGroupInfo",
+ arg("groupId", String.class)),
+
+ GETGROUPMEMBERSHIPINFO(
+ com.box.sdk.BoxGroupMembership.Info.class,
+ "getGroupMembershipInfo",
+ arg("groupMembershipId", String.class)),
+
+ GETGROUPMEMBERSHIPS(
+ java.util.Collection.class,
+ "getGroupMemberships",
+ arg("groupId", String.class)),
+
+ UPDATEGROUPINFO(
+ com.box.sdk.BoxGroup.class,
+ "updateGroupInfo",
+ arg("groupId", String.class),
+ arg("groupInfo", com.box.sdk.BoxGroup.Info.class)),
+
+ UPDATEGROUPMEMBERSHIPINFO(
+ com.box.sdk.BoxGroupMembership.class,
+ "updateGroupMembershipInfo",
+ arg("groupMembershipId", String.class),
+ arg("info", com.box.sdk.BoxGroupMembership.Info.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxGroupsManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxGroupsManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java
new file mode 100644
index 0000000..9d7d6e7
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxSearchManagerApiMethod.java
@@ -0,0 +1,51 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxSearchManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxSearchManager
+ */
+public enum BoxSearchManagerApiMethod implements ApiMethod {
+
+ SEARCHFOLDER(
+ java.util.Collection.class,
+ "searchFolder",
+ arg("folderId", String.class),
+ arg("query", String.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxSearchManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxSearchManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java
new file mode 100644
index 0000000..80a83bd
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxTasksManagerApiMethod.java
@@ -0,0 +1,95 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxTasksManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxTasksManager
+ */
+public enum BoxTasksManagerApiMethod implements ApiMethod {
+
+ ADDASSIGNMENTTOTASK(
+ com.box.sdk.BoxTask.class,
+ "addAssignmentToTask",
+ arg("taskId", String.class),
+ arg("assignTo", com.box.sdk.BoxUser.class)),
+
+ ADDFILETASK(
+ com.box.sdk.BoxTask.class,
+ "addFileTask",
+ arg("fileId", String.class),
+ arg("action", com.box.sdk.BoxTask.Action.class),
+ arg("dueAt", java.util.Date.class),
+ arg("message", String.class)),
+
+ DELETETASK(
+ void.class,
+ "deleteTask",
+ arg("taskId", String.class)),
+
+ DELETETASKASSIGNMENT(
+ void.class,
+ "deleteTaskAssignment",
+ arg("taskAssignmentId", String.class)),
+
+ GETFILETASKS(
+ java.util.List.class,
+ "getFileTasks",
+ arg("fileId", String.class)),
+
+ GETTASKASSIGNMENTINFO(
+ com.box.sdk.BoxTaskAssignment.Info.class,
+ "getTaskAssignmentInfo",
+ arg("taskAssignmentId", String.class)),
+
+ GETTASKASSIGNMENTS(
+ java.util.List.class,
+ "getTaskAssignments",
+ arg("taskId", String.class)),
+
+ GETTASKINFO(
+ com.box.sdk.BoxTask.Info.class,
+ "getTaskInfo",
+ arg("taskId", String.class)),
+
+ UPDATETASKINFO(
+ com.box.sdk.BoxTask.class,
+ "updateTaskInfo",
+ arg("taskId", String.class),
+ arg("info", com.box.sdk.BoxTask.Info.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxTasksManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxTasksManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java
new file mode 100644
index 0000000..85eceb5
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/internal/BoxUsersManagerApiMethod.java
@@ -0,0 +1,109 @@
+
+/*
+ * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
+ */
+package org.apache.camel.component.box.internal;
+
+import java.lang.reflect.Method;
+import java.util.List;
+
+import org.apache.camel.component.box.api.BoxUsersManager;
+
+import org.apache.camel.support.component.ApiMethod;
+import org.apache.camel.support.component.ApiMethodArg;
+import org.apache.camel.support.component.ApiMethodImpl;
+
+import static org.apache.camel.support.component.ApiMethodArg.arg;
+
+/**
+ * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.box.api.BoxUsersManager
+ */
+public enum BoxUsersManagerApiMethod implements ApiMethod {
+
+ ADDUSEREMAILALIAS(
+ com.box.sdk.EmailAlias.class,
+ "addUserEmailAlias",
+ arg("userId", String.class),
+ arg("email", String.class)),
+
+ CREATEAPPUSER(
+ com.box.sdk.BoxUser.class,
+ "createAppUser",
+ arg("name", String.class),
+ arg("params", com.box.sdk.CreateUserParams.class)),
+
+ CREATEENTERPRISEUSER(
+ com.box.sdk.BoxUser.class,
+ "createEnterpriseUser",
+ arg("login", String.class),
+ arg("name", String.class),
+ arg("params", com.box.sdk.CreateUserParams.class)),
+
+ DELETEUSER(
+ void.class,
+ "deleteUser",
+ arg("userId", String.class),
+ arg("notifyUser", boolean.class),
+ arg("force", boolean.class)),
+
+ DELETEUSEREMAILALIAS(
+ void.class,
+ "deleteUserEmailAlias",
+ arg("userId", String.class),
+ arg("emailAliasId", String.class)),
+
+ GETALLENTERPRISEOREXTERNALUSERS(
+ java.util.List.class,
+ "getAllEnterpriseOrExternalUsers",
+ arg("filterTerm", String.class),
+ arg("fields", new String[0].getClass())),
+
+ GETCURRENTUSER(
+ com.box.sdk.BoxUser.class,
+ "getCurrentUser"),
+
+ GETUSEREMAILALIAS(
+ java.util.Collection.class,
+ "getUserEmailAlias",
+ arg("userId", String.class)),
+
+ GETUSERINFO(
+ com.box.sdk.BoxUser.Info.class,
+ "getUserInfo",
+ arg("userId", String.class)),
+
+ MOVEFOLDERTOUSER(
+ com.box.sdk.BoxFolder.Info.class,
+ "moveFolderToUser",
+ arg("userId", String.class),
+ arg("sourceUserId", String.class)),
+
+ UPDATEUSERINFO(
+ com.box.sdk.BoxUser.class,
+ "updateUserInfo",
+ arg("userId", String.class),
+ arg("info", com.box.sdk.BoxUser.Info.class));
+
+
+
+ private final ApiMethod apiMethod;
+
+ private BoxUsersManagerApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
+ this.apiMethod = new ApiMethodImpl(BoxUsersManager.class, resultType, name, args);
+ }
+
+ @Override
+ public String getName() { return apiMethod.getName(); }
+
+ @Override
+ public Class<?> getResultType() { return apiMethod.getResultType(); }
+
+ @Override
+ public List<String> getArgNames() { return apiMethod.getArgNames(); }
+
+ @Override
+ public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
+
+ @Override
+ public Method getMethod() { return apiMethod.getMethod(); }
+}
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCollaborationsManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCollaborationsManagerEndpointConfiguration
new file mode 100644
index 0000000..84409a4
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCollaborationsManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxCollaborationsManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCommentsManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCommentsManagerEndpointConfiguration
new file mode 100644
index 0000000..3504a9b
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxCommentsManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxCommentsManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxConfiguration
new file mode 100644
index 0000000..7373ab9
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventLogsManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventLogsManagerEndpointConfiguration
new file mode 100644
index 0000000..9bfa4cc
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventLogsManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxEventLogsManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventsManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventsManagerEndpointConfiguration
new file mode 100644
index 0000000..b0f3779
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxEventsManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxEventsManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFilesManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFilesManagerEndpointConfiguration
new file mode 100644
index 0000000..cc9bc6a
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFilesManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxFilesManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFoldersManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFoldersManagerEndpointConfiguration
new file mode 100644
index 0000000..60fa666
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxFoldersManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxFoldersManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxGroupsManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxGroupsManagerEndpointConfiguration
new file mode 100644
index 0000000..a00f2ac
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxGroupsManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxGroupsManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxSearchManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxSearchManagerEndpointConfiguration
new file mode 100644
index 0000000..3d1d475
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxSearchManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxSearchManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxTasksManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxTasksManagerEndpointConfiguration
new file mode 100644
index 0000000..a9b5d28
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxTasksManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxTasksManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxUsersManagerEndpointConfiguration b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxUsersManagerEndpointConfiguration
new file mode 100644
index 0000000..b375e75
--- /dev/null
+++ b/components/camel-box/camel-box-component/src/generated/resources/META-INF/services/org/apache/camel/configurer/BoxUsersManagerEndpointConfiguration
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.box.BoxUsersManagerEndpointConfigurationConfigurer
diff --git a/components/camel-box/camel-box-component/src/main/java/org/apache/camel/component/box/BoxConfiguration.java b/components/camel-box/camel-box-component/src/main/java/org/apache/camel/component/box/BoxConfiguration.java
index a1104c9..606bd3f 100644
--- a/components/camel-box/camel-box-component/src/main/java/org/apache/camel/component/box/BoxConfiguration.java
+++ b/components/camel-box/camel-box-component/src/main/java/org/apache/camel/component/box/BoxConfiguration.java
@@ -22,6 +22,7 @@ import com.box.sdk.EncryptionAlgorithm;
import com.box.sdk.IAccessTokenCache;
import org.apache.camel.RuntimeCamelException;
import org.apache.camel.component.box.internal.BoxApiName;
+import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
@@ -32,6 +33,7 @@ import org.apache.camel.support.jsse.SSLContextParameters;
* Component configuration for Box component.
*/
@UriParams
+@Configurer
public class BoxConfiguration {
/**
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java
index e0614a9..4ad6199 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java
@@ -21,6 +21,7 @@ import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.io.Writer;
+import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.MalformedURLException;
@@ -315,6 +316,22 @@ public class GenerateConfigurerMojo extends AbstractGeneratorMojo {
if (names.add(t)) {
// filter out duplicates by using a names set that has already added
answer.add(new Option(t, type, getter));
+ } else {
+ boolean replace = false;
+ try {
+ // try to find out what the real type is of the correspondent field so we chose among the clash
+ Field field = clazz.getDeclaredField(Character.toLowerCase(t.charAt(0)) + t.substring(1));
+ if (field.getType() == type) {
+ // this is the correct type for the new option
+ replace = true;
+ }
+ } catch (NoSuchFieldException e) {
+ // ignore
+ }
+ if (replace) {
+ answer.removeIf(o -> o.getName().equals(t));
+ answer.add(new Option(t, type, getter));
+ }
}
}
});