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/09/03 11:46:21 UTC

[camel] branch master updated (672a5ee -> bce8d4d)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 672a5ee  Improve vertx-http component description
     new 9194048  CAMEL-15498:  Add java source parser for discovering API methods for API based components.
     new 7827ff0  CAMEL-15498:  Add java source parser for discovering API methods for API based components.
     new 7e6a0b1  CAMEL-15498:  Add java source parser for discovering API methods for API based components.
     new 7b9718e  CAMEL-15498:  Add java source parser for discovering API methods for API based components.
     new 3c05750  CAMEL-15498: Use java source parser for camel-braintree API component.
     new defa509  CAMEL-15478: API components and api proxy with overloaded methods.
     new 29a2b79  CAMEL-15478: Regen
     new 9b76d25  CAMEL-15478: Nicer enum constant names
     new 4674724  CAMEL-15478: Nicer enum constant names
     new bce8d4d  CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.

The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../camel/component/as2/internal/AS2ApiName.java   |  22 +-
 .../as2/internal/AS2ClientManagerApiMethod.java    |  19 +-
 .../as2/internal/AS2ServerManagerApiMethod.java    |  19 +-
 .../org/apache/camel/component/as2/as2.json        |   2 +-
 .../src/main/docs/as2-component.adoc               |   2 +-
 .../camel/component/box/internal/BoxApiName.java   |  22 +-
 .../BoxCollaborationsManagerApiMethod.java         |  19 +-
 .../box/internal/BoxCommentsManagerApiMethod.java  |  19 +-
 .../box/internal/BoxEventLogsManagerApiMethod.java |  19 +-
 .../box/internal/BoxEventsManagerApiMethod.java    |  19 +-
 .../box/internal/BoxFilesManagerApiMethod.java     |  19 +-
 .../box/internal/BoxFoldersManagerApiMethod.java   |  19 +-
 .../box/internal/BoxGroupsManagerApiMethod.java    |  19 +-
 .../box/internal/BoxSearchManagerApiMethod.java    |  19 +-
 .../box/internal/BoxTasksManagerApiMethod.java     |  19 +-
 .../box/internal/BoxUsersManagerApiMethod.java     |  19 +-
 .../org/apache/camel/component/box/box.json        |   2 +-
 .../src/main/docs/box-component.adoc               |   2 +-
 components/camel-braintree/pom.xml                 |  44 +-
 .../AddressGatewayEndpointConfiguration.java       |   4 +-
 .../CustomerGatewayEndpointConfiguration.java      |   2 +-
 .../SubscriptionGatewayEndpointConfiguration.java  |   4 +-
 .../braintree/internal/AddOnGatewayApiMethod.java  |  19 +-
 .../internal/AddressGatewayApiMethod.java          |  19 +-
 .../braintree/internal/BraintreeApiCollection.java |  54 +-
 .../braintree/internal/BraintreeApiName.java       |  40 +-
 .../internal/ClientTokenGatewayApiMethod.java      |  19 +-
 .../CreditCardVerificationGatewayApiMethod.java    |  19 +-
 .../internal/CustomerGatewayApiMethod.java         |  19 +-
 .../internal/DiscountGatewayApiMethod.java         |  19 +-
 .../internal/DisputeGatewayApiMethod.java          |  19 +-
 .../internal/DocumentUploadGatewayApiMethod.java   |  19 +-
 .../internal/MerchantAccountGatewayApiMethod.java  |  19 +-
 .../internal/PaymentMethodGatewayApiMethod.java    |  19 +-
 .../PaymentMethodNonceGatewayApiMethod.java        |  19 +-
 .../braintree/internal/PlanGatewayApiMethod.java   |  19 +-
 .../braintree/internal/ReportGatewayApiMethod.java |  19 +-
 .../SettlementBatchSummaryGatewayApiMethod.java    |  19 +-
 .../internal/SubscriptionGatewayApiMethod.java     |  19 +-
 .../internal/TransactionGatewayApiMethod.java      |  19 +-
 .../WebhookNotificationGatewayApiMethod.java       |  19 +-
 .../camel/component/braintree/braintree.json       |   8 +-
 .../src/main/docs/braintree-component.adoc         |  12 +-
 .../braintree/BraintreeComponentTest.java          |   4 +-
 .../camel/component/fhir/internal/FhirApiName.java |  22 +-
 .../fhir/internal/FhirCapabilitiesApiMethod.java   |  19 +-
 .../fhir/internal/FhirCreateApiMethod.java         |  19 +-
 .../fhir/internal/FhirDeleteApiMethod.java         |  19 +-
 .../fhir/internal/FhirHistoryApiMethod.java        |  19 +-
 .../fhir/internal/FhirLoadPageApiMethod.java       |  19 +-
 .../component/fhir/internal/FhirMetaApiMethod.java |  19 +-
 .../fhir/internal/FhirOperationApiMethod.java      |  19 +-
 .../fhir/internal/FhirPatchApiMethod.java          |  19 +-
 .../component/fhir/internal/FhirReadApiMethod.java |  19 +-
 .../fhir/internal/FhirSearchApiMethod.java         |  19 +-
 .../fhir/internal/FhirTransactionApiMethod.java    |  19 +-
 .../fhir/internal/FhirUpdateApiMethod.java         |  19 +-
 .../fhir/internal/FhirValidateApiMethod.java       |  19 +-
 .../org/apache/camel/component/fhir/fhir.json      |   2 +-
 .../src/main/docs/fhir-component.adoc              |   2 +-
 .../calendar/internal/CalendarAclApiMethod.java    |  19 +-
 .../internal/CalendarCalendarListApiMethod.java    |  19 +-
 .../internal/CalendarCalendarsApiMethod.java       |  19 +-
 .../internal/CalendarChannelsApiMethod.java        |  19 +-
 .../calendar/internal/CalendarColorsApiMethod.java |  19 +-
 .../calendar/internal/CalendarEventsApiMethod.java |  19 +-
 .../internal/CalendarFreebusyApiMethod.java        |  19 +-
 .../internal/CalendarSettingsApiMethod.java        |  19 +-
 .../calendar/internal/GoogleCalendarApiName.java   |  22 +-
 .../component/google/calendar/google-calendar.json |   2 +-
 .../src/main/docs/google-calendar-component.adoc   |   2 +-
 .../google/drive/internal/DriveAboutApiMethod.java |  19 +-
 .../google/drive/internal/DriveAppsApiMethod.java  |  19 +-
 .../drive/internal/DriveChangesApiMethod.java      |  19 +-
 .../drive/internal/DriveChannelsApiMethod.java     |  19 +-
 .../drive/internal/DriveChildrenApiMethod.java     |  19 +-
 .../drive/internal/DriveCommentsApiMethod.java     |  19 +-
 .../google/drive/internal/DriveFilesApiMethod.java |  19 +-
 .../drive/internal/DriveParentsApiMethod.java      |  19 +-
 .../drive/internal/DrivePermissionsApiMethod.java  |  19 +-
 .../drive/internal/DrivePropertiesApiMethod.java   |  19 +-
 .../drive/internal/DriveRealtimeApiMethod.java     |  19 +-
 .../drive/internal/DriveRepliesApiMethod.java      |  19 +-
 .../drive/internal/DriveRevisionsApiMethod.java    |  19 +-
 .../google/drive/internal/GoogleDriveApiName.java  |  22 +-
 .../camel/component/google/drive/google-drive.json |   2 +-
 .../src/main/docs/google-drive-component.adoc      |   2 +-
 .../google/mail/internal/GmailUsersApiMethod.java  |  19 +-
 .../mail/internal/GmailUsersDraftsApiMethod.java   |  19 +-
 .../mail/internal/GmailUsersHistoryApiMethod.java  |  19 +-
 .../mail/internal/GmailUsersLabelsApiMethod.java   |  19 +-
 .../mail/internal/GmailUsersMessagesApiMethod.java |  19 +-
 .../GmailUsersMessagesAttachmentsApiMethod.java    |  19 +-
 .../mail/internal/GmailUsersThreadsApiMethod.java  |  19 +-
 .../google/mail/internal/GoogleMailApiName.java    |  22 +-
 .../camel/component/google/mail/google-mail.json   |   2 +-
 .../src/main/docs/google-mail-component.adoc       |   2 +-
 .../sheets/internal/GoogleSheetsApiName.java       |  22 +-
 .../internal/SheetsSpreadsheetsApiMethod.java      |  19 +-
 .../SheetsSpreadsheetsValuesApiMethod.java         |  19 +-
 .../component/google/sheets/google-sheets.json     |   2 +-
 .../src/main/docs/google-sheets-component.adoc     |   2 +-
 .../component/olingo2/internal/Olingo2ApiName.java |  22 +-
 .../olingo2/internal/Olingo2AppApiMethod.java      |  19 +-
 .../apache/camel/component/olingo2/olingo2.json    |   2 +-
 .../src/main/docs/olingo2-component.adoc           |   2 +-
 .../component/olingo4/internal/Olingo4ApiName.java |  22 +-
 .../olingo4/internal/Olingo4AppApiMethod.java      |  19 +-
 .../apache/camel/component/olingo4/olingo4.json    |   2 +-
 .../src/main/docs/olingo4-component.adoc           |   2 +-
 .../twilio/internal/AccountApiMethod.java          |  19 +-
 .../twilio/internal/AddressApiMethod.java          |  19 +-
 .../AddressDependentPhoneNumberApiMethod.java      |  19 +-
 .../twilio/internal/ApplicationApiMethod.java      |  19 +-
 .../AvailablePhoneNumberCountryApiMethod.java      |  19 +-
 .../AvailablePhoneNumberCountryLocalApiMethod.java |  19 +-
 ...AvailablePhoneNumberCountryMobileApiMethod.java |  19 +-
 ...ailablePhoneNumberCountryTollFreeApiMethod.java |  19 +-
 .../component/twilio/internal/CallApiMethod.java   |  19 +-
 .../twilio/internal/CallFeedbackApiMethod.java     |  19 +-
 .../internal/CallFeedbackSummaryApiMethod.java     |  19 +-
 .../twilio/internal/CallNotificationApiMethod.java |  19 +-
 .../twilio/internal/CallRecordingApiMethod.java    |  19 +-
 .../twilio/internal/ConferenceApiMethod.java       |  19 +-
 .../internal/ConferenceParticipantApiMethod.java   |  19 +-
 .../twilio/internal/ConnectAppApiMethod.java       |  19 +-
 .../internal/IncomingPhoneNumberApiMethod.java     |  19 +-
 .../IncomingPhoneNumberLocalApiMethod.java         |  19 +-
 .../IncomingPhoneNumberMobileApiMethod.java        |  19 +-
 .../IncomingPhoneNumberTollFreeApiMethod.java      |  19 +-
 .../component/twilio/internal/KeyApiMethod.java    |  19 +-
 .../twilio/internal/MessageApiMethod.java          |  19 +-
 .../twilio/internal/MessageFeedbackApiMethod.java  |  19 +-
 .../twilio/internal/MessageMediaApiMethod.java     |  19 +-
 .../component/twilio/internal/NewKeyApiMethod.java |  19 +-
 .../twilio/internal/NewSigningKeyApiMethod.java    |  19 +-
 .../twilio/internal/NotificationApiMethod.java     |  19 +-
 .../twilio/internal/OutgoingCallerIdApiMethod.java |  19 +-
 .../component/twilio/internal/QueueApiMethod.java  |  19 +-
 .../twilio/internal/QueueMemberApiMethod.java      |  19 +-
 .../internal/RecordingAddOnResultApiMethod.java    |  19 +-
 .../RecordingAddOnResultPayloadApiMethod.java      |  19 +-
 .../twilio/internal/RecordingApiMethod.java        |  19 +-
 .../internal/RecordingTranscriptionApiMethod.java  |  19 +-
 .../twilio/internal/ShortCodeApiMethod.java        |  19 +-
 .../twilio/internal/SigningKeyApiMethod.java       |  19 +-
 .../twilio/internal/SipCredentialApiMethod.java    |  19 +-
 .../internal/SipCredentialListApiMethod.java       |  19 +-
 .../twilio/internal/SipDomainApiMethod.java        |  19 +-
 .../SipDomainCredentialListMappingApiMethod.java   |  19 +-
 ...pDomainIpAccessControlListMappingApiMethod.java |  19 +-
 .../internal/SipIpAccessControlListApiMethod.java  |  19 +-
 .../SipIpAccessControlListIpAddressApiMethod.java  |  19 +-
 .../component/twilio/internal/TokenApiMethod.java  |  19 +-
 .../twilio/internal/TranscriptionApiMethod.java    |  19 +-
 .../component/twilio/internal/TwilioApiName.java   |  22 +-
 .../internal/UsageRecordAllTimeApiMethod.java      |  19 +-
 .../twilio/internal/UsageRecordApiMethod.java      |  19 +-
 .../twilio/internal/UsageRecordDailyApiMethod.java |  19 +-
 .../internal/UsageRecordLastMonthApiMethod.java    |  19 +-
 .../internal/UsageRecordMonthlyApiMethod.java      |  19 +-
 .../internal/UsageRecordThisMonthApiMethod.java    |  19 +-
 .../twilio/internal/UsageRecordTodayApiMethod.java |  19 +-
 .../internal/UsageRecordYearlyApiMethod.java       |  19 +-
 .../internal/UsageRecordYesterdayApiMethod.java    |  19 +-
 .../twilio/internal/UsageTriggerApiMethod.java     |  19 +-
 .../internal/ValidationRequestApiMethod.java       |  19 +-
 .../org/apache/camel/component/twilio/twilio.json  |   2 +-
 .../src/main/docs/twilio-component.adoc            |   2 +-
 .../zendesk/internal/ZendeskApiMethod.java         |  19 +-
 .../component/zendesk/internal/ZendeskApiName.java |  22 +-
 .../apache/camel/component/zendesk/zendesk.json    |   2 +-
 .../src/main/docs/zendesk-component.adoc           |   2 +-
 .../builder/endpoint/StaticEndpointBuilders.java   | 544 ++++++++++++---------
 .../endpoint/dsl/AS2EndpointBuilderFactory.java    |   4 +-
 .../endpoint/dsl/BoxEndpointBuilderFactory.java    |  12 +-
 .../dsl/BraintreeEndpointBuilderFactory.java       |  20 +-
 .../endpoint/dsl/FhirEndpointBuilderFactory.java   |  12 +-
 .../dsl/GoogleCalendarEndpointBuilderFactory.java  |   8 +-
 .../dsl/GoogleDriveEndpointBuilderFactory.java     |  16 +-
 .../dsl/GoogleMailEndpointBuilderFactory.java      |   8 +-
 .../dsl/GoogleSheetsEndpointBuilderFactory.java    |   4 +-
 .../dsl/Olingo2EndpointBuilderFactory.java         |   4 +-
 .../dsl/Olingo4EndpointBuilderFactory.java         |   4 +-
 .../endpoint/dsl/TwilioEndpointBuilderFactory.java |  84 ++--
 .../dsl/ZendeskEndpointBuilderFactory.java         | 404 ++++++++-------
 .../maven/camel-api-component-maven-plugin/pom.xml |   8 +-
 .../camel/maven/ApiComponentGeneratorMojo.java     |  54 +-
 .../main/java/org/apache/camel/maven/ApiProxy.java |  10 +
 .../apache/camel/maven/DocumentGeneratorMojo.java  |   3 +
 .../org/apache/camel/maven/FromJavasource.java     |  23 +
 .../maven/JavaSourceApiMethodGeneratorMojo.java    | 170 +++++++
 .../org/apache/camel/maven/JavaSourceParser.java   | 171 +++++++
 .../src/main/resources/api-method-enum.vm          |  19 +-
 .../src/main/resources/api-name-enum.vm            |  22 +-
 .../org/apache/camel/component/test/TestProxy.java |  25 +
 .../apache/camel/maven/JavaSourceParserTest.java   |  82 ++++
 .../src/test/resources/AddressGateway.java         |  90 ++++
 .../src/test/resources/CustomerGateway.java        | 154 ++++++
 .../src/test/resources/DisputeGateway.java         | 261 ++++++++++
 200 files changed, 3941 insertions(+), 1222 deletions(-)
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/FromJavasource.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/test/resources/AddressGateway.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/test/resources/CustomerGateway.java
 create mode 100644 tooling/maven/camel-api-component-maven-plugin/src/test/resources/DisputeGateway.java


[camel] 06/10: CAMEL-15478: API components and api proxy with overloaded methods.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit defa50955993c9215fb86f5668ff7f88ba58e304
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 11:40:45 2020 +0200

    CAMEL-15478: API components and api proxy with overloaded methods.
---
 .../src/main/resources/api-method-enum.vm                          | 5 +----
 .../src/main/resources/api-name-enum.vm                            | 7 +------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
index ef91f0c..345646b 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
@@ -70,12 +70,9 @@ public enum $enumName implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static $enumName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
index 3ee6fc8..591871b 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
@@ -62,14 +62,9 @@ public enum $apiNameEnum implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static $apiNameEnum fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }


[camel] 03/10: CAMEL-15498: Add java source parser for discovering API methods for API based components.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7e6a0b13d93eb23b72ab3c339519ae2a18135e1f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 10:37:40 2020 +0200

    CAMEL-15498:  Add java source parser for discovering API methods for API based components.
---
 .../maven/JavaSourceApiMethodGeneratorMojo.java    |  27 +---
 .../org/apache/camel/maven/JavaSourceParser.java   |   9 +-
 .../apache/camel/maven/JavaSourceParserTest.java   |  19 ++-
 .../src/test/resources/CustomerGateway.java        | 154 +++++++++++++++++++++
 4 files changed, 185 insertions(+), 24 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
index 4a2c9d3..40599f2 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
@@ -23,7 +23,6 @@ import java.util.ArrayList;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
-import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 import org.apache.camel.support.component.ApiMethodParser;
@@ -106,26 +105,14 @@ public class JavaSourceApiMethodGeneratorMojo extends AbstractApiMethodGenerator
                             && (includeMethodPatterns == null || includeMethodPatterns.matcher(method).find())
                             && (excludeMethodPatterns == null || !excludeMethodPatterns.matcher(method).find())) {
 
-                        final int leftBracket = method.indexOf('(');
-                        final String name = method.substring(0, leftBracket);
-                        final String args = method.substring(leftBracket + 1, method.length() - 1);
-                        String[] types;
-                        if (args.isEmpty()) {
-                            types = new String[0];
-                        } else {
-                            // get raw types from args
-                            final List<String> rawTypes = new ArrayList<>();
-                            final Matcher argTypesMatcher = RAW_ARGTYPES_PATTERN.matcher(args);
-                            while (argTypesMatcher.find()) {
-                                rawTypes.add(argTypesMatcher.group(1));
-                            }
-                            types = rawTypes.toArray(new String[rawTypes.size()]);
-                        }
-                        final String resultType = getResultType(aClass, name, types);
-                        if (resultType != null) {
+                        method = method.replace("public ", "");
+                        int whitespace = method.indexOf(' ');
+                        int leftBracket = method.indexOf('(');
+                        String resultType = method.substring(0, whitespace);
+                        String name = method.substring(whitespace + 1, leftBracket);
+                        if (!"void".equals(resultType)) {
                             SignatureModel model = new SignatureModel();
-                            String signature = resultType + " " + name + methodMap.get(method);
-                            model.setSignature(signature);
+                            model.setSignature(method);
                             Map<String, String> params = parser.getParameters().get(name);
                             model.setParameters(params);
                             result.put(method, model);
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
index 730d5f5..f877afe 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
@@ -58,6 +58,9 @@ public class JavaSourceParser {
                 String result = signature.substring(pos + 1).trim();
                 // lets use FQN types
                 result = clazz.resolveType(result);
+                if (result == null || result.isEmpty()) {
+                    result = "void";
+                }
 
                 List<JavaDocTag> params = ms.getJavaDoc().getTags("@param");
 
@@ -80,7 +83,7 @@ public class JavaSourceParser {
                     // need documentation for this parameter
                     docs.put(name, getJavadocValue(params, name));
                 }
-                sb.append(");");
+                sb.append(")");
 
                 signature = sb.toString();
                 parameters.put(ms.getName(), docs);
@@ -94,8 +97,8 @@ public class JavaSourceParser {
     private static String getJavadocValue(List<JavaDocTag> params, String name) {
         for (JavaDocTag tag : params) {
             String key = tag.getValue();
-            if (key.startsWith(name + " ")) {
-                String desc = key.substring(name.length() + 1);
+            if (key.startsWith(name)) {
+                String desc = key.substring(name.length());
                 desc = sanitizeJavaDocValue(desc);
                 return desc;
             }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
index 369afa0..5b7cc30 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
@@ -33,7 +33,7 @@ public class JavaSourceParserTest {
         assertEquals(4, parser.getMethods().size());
 
         assertEquals(
-                "public com.braintreegateway.Result create(String customerId, com.braintreegateway.AddressRequest request);",
+                "public com.braintreegateway.Result create(String customerId, com.braintreegateway.AddressRequest request)",
                 parser.getMethods().get(0));
         assertEquals(2, parser.getParameters().get("create").size());
         assertEquals("The id of the Customer", parser.getParameters().get("create").get("customerId"));
@@ -43,4 +43,21 @@ public class JavaSourceParserTest {
 
     }
 
+    @Test
+    public void testGetMethodsCustomer() throws Exception {
+        final JavaSourceParser parser = new JavaSourceParser();
+
+        parser.parse(JavaSourceParserTest.class.getResourceAsStream("/CustomerGateway.java"));
+        assertEquals(7, parser.getMethods().size());
+
+        assertEquals(
+                "public com.braintreegateway.Result create(com.braintreegateway.CustomerRequest request)",
+                parser.getMethods().get(1));
+        assertEquals(1, parser.getParameters().get("create").size());
+        assertEquals("The request", parser.getParameters().get("create").get("request"));
+
+        parser.reset();
+
+    }
+
 }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/resources/CustomerGateway.java b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/CustomerGateway.java
new file mode 100644
index 0000000..aad12dc
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/CustomerGateway.java
@@ -0,0 +1,154 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.braintreegateway;
+
+import com.braintreegateway.exceptions.NotFoundException;
+import com.braintreegateway.util.Http;
+import com.braintreegateway.util.NodeWrapper;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Provides methods to create, delete, find, and update {@link Customer}
+ * objects. This class does not need to be instantiated directly. Instead, use
+ * {@link BraintreeGateway#customer()} to get an instance of this class:
+ *
+ * <pre>
+ * BraintreeGateway gateway = new BraintreeGateway(...);
+ * gateway.customer().create(...)
+ * </pre>
+ *
+ * For more detailed information on {@link Customer Customers}, see <a href="https://developers.braintreepayments.com/reference/response/customer/java" target="_blank">https://developers.braintreepayments.com/reference/response/customer/java</a>
+ */
+public class CustomerGateway {
+    private Configuration configuration;
+    private Http http;
+
+    public CustomerGateway(Http http, Configuration configuration) {
+        this.configuration = configuration;
+        this.http = http;
+    }
+
+    /**
+     * Finds all Customers and returns a {@link ResourceCollection}.
+     *
+     * @return a {@link ResourceCollection}.
+     */
+    public ResourceCollection<Customer> all() {
+        NodeWrapper response = http.post(configuration.getMerchantPath() + "/customers/advanced_search_ids");
+        return new ResourceCollection<Customer>(new CustomerPager(this, new CustomerSearchRequest()), response);
+    }
+
+    List<Customer> fetchCustomers(CustomerSearchRequest query, List<String> ids) {
+        query.ids().in(ids);
+        NodeWrapper response = http.post(configuration.getMerchantPath() + "/customers/advanced_search", query);
+
+        List<Customer> items = new ArrayList<Customer>();
+        for (NodeWrapper node : response.findAll("customer")) {
+            items.add(new Customer(node));
+        }
+
+        return items;
+    }
+
+    /**
+     * Creates a {@link Customer}.
+     *
+     * @param request
+     *            the request.
+     * @return a {@link Result}.
+     */
+    public Result<Customer> create(CustomerRequest request) {
+        NodeWrapper node = http.post(configuration.getMerchantPath() + "/customers", request);
+        return new Result<Customer>(node, Customer.class);
+    }
+
+    /**
+     * Deletes a {@link Customer} by id.
+     *
+     * @param id
+     *            the id of the {@link Customer}.
+     * @return a {@link Result}.
+     */
+    public Result<Customer> delete(String id) {
+        http.delete(configuration.getMerchantPath() + "/customers/" + id);
+        return new Result<Customer>();
+    }
+
+    /**
+     * Finds a {@link Customer} by id.
+     *
+     * @param id
+     *            the id of the {@link Customer}.
+     * @return the {@link Customer} or raises a
+     *         {@link com.braintreegateway.exceptions.NotFoundException}.
+     */
+    public Customer find(String id) {
+        if(id == null || id.trim().equals(""))
+            throw new NotFoundException();
+
+        return new Customer(http.get(configuration.getMerchantPath() + "/customers/" + id));
+    }
+
+    /**
+     * Finds a {@link Customer} by id.
+     *
+     * @param id
+     *            the id of the {@link Customer}.
+     * @param associationFilterId
+     *            the id of the association filter to use.
+     * @return the {@link Customer} or raises a
+     *         {@link com.braintreegateway.exceptions.NotFoundException}.
+     */
+    public Customer find(String id, String associationFilterId) {
+        if(id == null || id.trim().equals(""))
+            throw new NotFoundException();
+
+        if(associationFilterId == null || associationFilterId.isEmpty())
+            throw new NotFoundException();
+
+        String queryParams = "?association_filter_id=" + associationFilterId;
+        return new Customer(http.get(configuration.getMerchantPath() + "/customers/" + id + queryParams));
+    }
+
+    /**
+     * Finds all Transactions that match the query and returns a {@link ResourceCollection}.
+     * See: <a href="https://developers.braintreepayments.com/reference/request/transaction/search/java" target="_blank">https://developers.braintreepayments.com/reference/request/transaction/search/java</a>
+     * @param query the request query to use for search
+     * @return a {@link ResourceCollection}.
+     */
+    public ResourceCollection<Customer> search(CustomerSearchRequest query) {
+        NodeWrapper node = http.post(configuration.getMerchantPath() + "/customers/advanced_search_ids", query);
+        return new ResourceCollection<Customer>(new CustomerPager(this, query), node);
+    }
+
+    /**
+     * Updates a {@link Customer}.
+     *
+     * @param id
+     *            the id of the {@link Customer}.
+     * @param request
+     *            the request.
+     * @return a {@link Result}.
+     */
+    public Result<Customer> update(String id, CustomerRequest request) {
+        NodeWrapper node = http.put(configuration.getMerchantPath() + "/customers/" + id, request);
+        return new Result<Customer>(node, Customer.class);
+    }
+
+}


[camel] 05/10: CAMEL-15498: Use java source parser for camel-braintree API component.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3c05750602bd4db162dc640b94b3d70b3f81ab46
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 11:31:47 2020 +0200

    CAMEL-15498: Use java source parser for camel-braintree API component.
---
 components/camel-braintree/pom.xml                 | 44 +++++++++++-----------
 .../AddressGatewayEndpointConfiguration.java       |  4 +-
 .../CustomerGatewayEndpointConfiguration.java      |  2 +-
 .../SubscriptionGatewayEndpointConfiguration.java  |  4 +-
 .../camel/component/braintree/braintree.json       |  6 +--
 .../src/main/docs/braintree-component.adoc         | 10 ++---
 6 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/components/camel-braintree/pom.xml b/components/camel-braintree/pom.xml
index c302d0a..44805b5 100644
--- a/components/camel-braintree/pom.xml
+++ b/components/camel-braintree/pom.xml
@@ -66,7 +66,7 @@
             <groupId>com.braintreepayments.gateway</groupId>
             <artifactId>braintree-java</artifactId>
             <version>${braintree-gateway-version}</version>
-            <type>javadoc</type>
+            <classifier>sources</classifier>
             <scope>provided</scope>
             <optional>true</optional>
             <exclusions>
@@ -118,49 +118,49 @@
                                 <api>
                                     <apiName>addOn</apiName>
                                     <proxyClass>com.braintreegateway.AddOnGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>address</apiName>
                                     <proxyClass>com.braintreegateway.AddressGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>clientToken</apiName>
                                     <proxyClass>com.braintreegateway.ClientTokenGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>creditCardVerification</apiName>
                                     <proxyClass>com.braintreegateway.CreditCardVerificationGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>customer</apiName>
                                     <proxyClass>com.braintreegateway.CustomerGateway</proxyClass>
-                                    <fromJavadoc>
+                                    <fromJavasource>
                                         <excludeMethods>.*ransparent.*</excludeMethods>
-                                    </fromJavadoc>
+                                    </fromJavasource>
                                 </api>
                                 <api>
                                     <apiName>discount</apiName>
                                     <proxyClass>com.braintreegateway.DiscountGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>dispute</apiName>
                                     <proxyClass>com.braintreegateway.DisputeGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>documentUpload</apiName>
                                     <proxyClass>com.braintreegateway.DocumentUploadGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>merchantAccount</apiName>
                                     <proxyClass>com.braintreegateway.MerchantAccountGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <substitutions>
                                         <substitution>
                                             <method>^.+$</method>
@@ -182,9 +182,9 @@
                                 <api>
                                     <apiName>paymentMethod</apiName>
                                     <proxyClass>com.braintreegateway.PaymentMethodGateway</proxyClass>
-                                    <fromJavadoc>
+                                    <fromJavasource>
                                         <excludeMethods>.*parse.*</excludeMethods>
-                                    </fromJavadoc>
+                                    </fromJavasource>
                                     <substitutions>
                                         <substitution>
                                             <method>^.+$</method>
@@ -205,36 +205,36 @@
                                 <api>
                                     <apiName>paymentMethodNonce</apiName>
                                     <proxyClass>com.braintreegateway.PaymentMethodNonceGateway</proxyClass>
-                                    <fromJavadoc>
+                                    <fromJavasource>
                                         <excludeMethods>.*parse.*</excludeMethods>
-                                    </fromJavadoc>
+                                    </fromJavasource>
                                 </api>
                                 <api>
                                     <apiName>plan</apiName>
                                     <proxyClass>com.braintreegateway.PlanGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>report</apiName>
                                     <proxyClass>com.braintreegateway.ReportGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>settlementBatchSummary</apiName>
                                     <proxyClass>com.braintreegateway.SettlementBatchSummaryGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>subscription</apiName>
                                     <proxyClass>com.braintreegateway.SubscriptionGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                                 <api>
                                     <apiName>transaction</apiName>
                                     <proxyClass>com.braintreegateway.TransactionGateway</proxyClass>
-                                    <fromJavadoc>
+                                    <fromJavasource>
                                         <excludeMethods>.*TrData.*|.*ransparent.*</excludeMethods>
-                                    </fromJavadoc>
+                                    </fromJavasource>
                                     <substitutions>
                                         <substitution>
                                             <method>^.+$</method>
@@ -262,7 +262,7 @@
                                 <api>
                                     <apiName>webhookNotification</apiName>
                                     <proxyClass>com.braintreegateway.WebhookNotificationGateway</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                 </api>
                             </apis>
                         </configuration>
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/AddressGatewayEndpointConfiguration.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/AddressGatewayEndpointConfiguration.java
index 43bdff9..84e549b 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/AddressGatewayEndpointConfiguration.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/AddressGatewayEndpointConfiguration.java
@@ -14,9 +14,9 @@ import org.apache.camel.spi.UriParams;
 @UriParams(apiName = "address")
 @Configurer
 public final class AddressGatewayEndpointConfiguration extends BraintreeConfiguration {
-    @UriParam(description = "The id of the")
+    @UriParam(description = "The id of the Customer")
     private String customerId;
-    @UriParam(description = "The id of the")
+    @UriParam(description = "The id of the Address to delete")
     private String id;
     @UriParam(description = "The request object")
     private com.braintreegateway.AddressRequest request;
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/CustomerGatewayEndpointConfiguration.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/CustomerGatewayEndpointConfiguration.java
index bca9257..97d93f9 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/CustomerGatewayEndpointConfiguration.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/CustomerGatewayEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
 public final class CustomerGatewayEndpointConfiguration extends BraintreeConfiguration {
     @UriParam(description = "The id of the association filter to use")
     private String associationFilterId;
-    @UriParam(description = "The id of the")
+    @UriParam(description = "The id of the Customer")
     private String id;
     @UriParam(description = "The request query to use for search")
     private com.braintreegateway.CustomerSearchRequest query;
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/SubscriptionGatewayEndpointConfiguration.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/SubscriptionGatewayEndpointConfiguration.java
index 4820412..ec4ebde 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/SubscriptionGatewayEndpointConfiguration.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/SubscriptionGatewayEndpointConfiguration.java
@@ -18,11 +18,11 @@ public final class SubscriptionGatewayEndpointConfiguration extends BraintreeCon
     private java.math.BigDecimal amount;
     @UriParam
     private String customerId;
-    @UriParam(description = "Of the")
+    @UriParam(description = "Of the Subscription to cancel")
     private String id;
     @UriParam(description = "The request")
     private com.braintreegateway.SubscriptionRequest request;
-    @UriParam(description = "The")
+    @UriParam(description = "The SubscriptionSearchRequest")
     private com.braintreegateway.SubscriptionSearchRequest searchRequest;
     @UriParam
     private Boolean submitForSettlement;
diff --git a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
index d11a361..4ed8caf4 100644
--- a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
+++ b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
@@ -68,10 +68,10 @@
   },
   "apiProperties": {
     "addOn": {  },
-    "address": { "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the" }, "request": { [...]
+    "address": { "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the Customer" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the Address [...]
     "clientToken": { "request": { "kind": "parameter", "displayName": "Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.braintreegateway.ClientTokenRequest", "deprecated": false, "secret": false, "description": "" } },
     "creditCardVerification": { "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "query": { "kind": "parameter", "displayName": "Query", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.braintreegateway.CreditCardVerificationSearchRequest", "deprecated": false, "secret": false, "description":  [...]
-    "customer": { "associationFilterId": { "kind": "parameter", "displayName": "Association Filter Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the association filter to use" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false,  [...]
+    "customer": { "associationFilterId": { "kind": "parameter", "displayName": "Association Filter Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The id of the association filter to use" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false,  [...]
     "discount": {  },
     "dispute": { "content": { "kind": "parameter", "displayName": "Content", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "The content of the text evidence for the dispute" }, "disputeId": { "kind": "parameter", "displayName": "Dispute Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "de [...]
     "documentUpload": { "request": { "kind": "parameter", "displayName": "Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.braintreegateway.DocumentUploadRequest", "deprecated": false, "secret": false, "description": "" } },
@@ -81,7 +81,7 @@
     "plan": {  },
     "report": { "request": { "kind": "parameter", "displayName": "Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.braintreegateway.TransactionLevelFeeReportRequest", "deprecated": false, "secret": false, "description": "The request" } },
     "settlementBatchSummary": { "groupByCustomField": { "kind": "parameter", "displayName": "Group By Custom Field", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "settlementDate": { "kind": "parameter", "displayName": "Settlement Date", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Calendar", "deprecated": false, "secret": false, [...]
-    "subscription": { "amount": { "kind": "parameter", "displayName": "Amount", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.math.BigDecimal", "deprecated": false, "secret": false, "description": "" }, "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "para [...]
+    "subscription": { "amount": { "kind": "parameter", "displayName": "Amount", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.math.BigDecimal", "deprecated": false, "secret": false, "description": "" }, "customerId": { "kind": "parameter", "displayName": "Customer Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "para [...]
     "transaction": { "amount": { "kind": "parameter", "displayName": "Amount", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.math.BigDecimal", "deprecated": false, "secret": false, "description": "" }, "cloneRequest": { "kind": "parameter", "displayName": "Clone Request", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.braintreegateway.TransactionCloneRequest", "deprecated": false, "secret": false, "descriptio [...]
     "webhookNotification": { "challenge": { "kind": "parameter", "displayName": "Challenge", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "payload": { "kind": "parameter", "displayName": "Payload", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" }, "signature": { "kin [...]
   }
diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc
index 2bd63b4..39bfa9a 100644
--- a/components/camel-braintree/src/main/docs/braintree-component.adoc
+++ b/components/camel-braintree/src/main/docs/braintree-component.adoc
@@ -149,8 +149,8 @@ The addOn method has no API parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *customerId* | The id of the | String
-| *id* | The id of the | String
+| *customerId* | The id of the Customer | String
+| *id* | The id of the Address to delete | String
 | *request* | The request object | AddressRequest
 |===
 
@@ -181,7 +181,7 @@ The addOn method has no API parameters.
 |===
 | Name | Description | Type
 | *associationFilterId* | The id of the association filter to use | String
-| *id* | The id of the | String
+| *id* | The id of the Customer | String
 | *query* | The request query to use for search | CustomerSearchRequest
 | *request* | The request | CustomerRequest
 |===
@@ -283,9 +283,9 @@ The plan method has no API parameters.
 | Name | Description | Type
 | *amount* |  | BigDecimal
 | *customerId* |  | String
-| *id* | Of the | String
+| *id* | Of the Subscription to cancel | String
 | *request* | The request | SubscriptionRequest
-| *searchRequest* | The | SubscriptionSearchRequest
+| *searchRequest* | The SubscriptionSearchRequest | SubscriptionSearchRequest
 | *submitForSettlement* |  | Boolean
 | *subscriptionId* |  | String
 |===


[camel] 10/10: CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bce8d4d74f11a73f6957ccdf804153125542a85e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 13:45:44 2020 +0200

    CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.
---
 .../apache/camel/component/as2/internal/AS2ApiName.java   | 15 +++++++++++++++
 .../component/as2/internal/AS2ClientManagerApiMethod.java | 14 ++++++++++++++
 .../component/as2/internal/AS2ServerManagerApiMethod.java | 14 ++++++++++++++
 .../apache/camel/component/box/internal/BoxApiName.java   | 15 +++++++++++++++
 .../box/internal/BoxCollaborationsManagerApiMethod.java   | 14 ++++++++++++++
 .../box/internal/BoxCommentsManagerApiMethod.java         | 14 ++++++++++++++
 .../box/internal/BoxEventLogsManagerApiMethod.java        | 14 ++++++++++++++
 .../component/box/internal/BoxEventsManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxFilesManagerApiMethod.java  | 14 ++++++++++++++
 .../box/internal/BoxFoldersManagerApiMethod.java          | 14 ++++++++++++++
 .../component/box/internal/BoxGroupsManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxSearchManagerApiMethod.java | 14 ++++++++++++++
 .../component/box/internal/BoxTasksManagerApiMethod.java  | 14 ++++++++++++++
 .../component/box/internal/BoxUsersManagerApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/AddOnGatewayApiMethod.java         | 14 ++++++++++++++
 .../braintree/internal/AddressGatewayApiMethod.java       | 14 ++++++++++++++
 .../component/braintree/internal/BraintreeApiName.java    | 15 +++++++++++++++
 .../braintree/internal/ClientTokenGatewayApiMethod.java   | 14 ++++++++++++++
 .../internal/CreditCardVerificationGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/CustomerGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/DiscountGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/DisputeGatewayApiMethod.java       | 14 ++++++++++++++
 .../internal/DocumentUploadGatewayApiMethod.java          | 14 ++++++++++++++
 .../internal/MerchantAccountGatewayApiMethod.java         | 14 ++++++++++++++
 .../braintree/internal/PaymentMethodGatewayApiMethod.java | 14 ++++++++++++++
 .../internal/PaymentMethodNonceGatewayApiMethod.java      | 14 ++++++++++++++
 .../braintree/internal/PlanGatewayApiMethod.java          | 14 ++++++++++++++
 .../braintree/internal/ReportGatewayApiMethod.java        | 14 ++++++++++++++
 .../internal/SettlementBatchSummaryGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/SubscriptionGatewayApiMethod.java  | 14 ++++++++++++++
 .../braintree/internal/TransactionGatewayApiMethod.java   | 14 ++++++++++++++
 .../internal/WebhookNotificationGatewayApiMethod.java     | 14 ++++++++++++++
 .../apache/camel/component/fhir/internal/FhirApiName.java | 15 +++++++++++++++
 .../fhir/internal/FhirCapabilitiesApiMethod.java          | 14 ++++++++++++++
 .../component/fhir/internal/FhirCreateApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirDeleteApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirHistoryApiMethod.java     | 14 ++++++++++++++
 .../component/fhir/internal/FhirLoadPageApiMethod.java    | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirMetaApiMethod.java  | 14 ++++++++++++++
 .../component/fhir/internal/FhirOperationApiMethod.java   | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirPatchApiMethod.java | 14 ++++++++++++++
 .../camel/component/fhir/internal/FhirReadApiMethod.java  | 14 ++++++++++++++
 .../component/fhir/internal/FhirSearchApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirTransactionApiMethod.java | 14 ++++++++++++++
 .../component/fhir/internal/FhirUpdateApiMethod.java      | 14 ++++++++++++++
 .../component/fhir/internal/FhirValidateApiMethod.java    | 14 ++++++++++++++
 .../google/calendar/internal/CalendarAclApiMethod.java    | 14 ++++++++++++++
 .../calendar/internal/CalendarCalendarListApiMethod.java  | 14 ++++++++++++++
 .../calendar/internal/CalendarCalendarsApiMethod.java     | 14 ++++++++++++++
 .../calendar/internal/CalendarChannelsApiMethod.java      | 14 ++++++++++++++
 .../google/calendar/internal/CalendarColorsApiMethod.java | 14 ++++++++++++++
 .../google/calendar/internal/CalendarEventsApiMethod.java | 14 ++++++++++++++
 .../calendar/internal/CalendarFreebusyApiMethod.java      | 14 ++++++++++++++
 .../calendar/internal/CalendarSettingsApiMethod.java      | 14 ++++++++++++++
 .../google/calendar/internal/GoogleCalendarApiName.java   | 15 +++++++++++++++
 .../google/drive/internal/DriveAboutApiMethod.java        | 14 ++++++++++++++
 .../google/drive/internal/DriveAppsApiMethod.java         | 14 ++++++++++++++
 .../google/drive/internal/DriveChangesApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DriveChannelsApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveChildrenApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveCommentsApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveFilesApiMethod.java        | 14 ++++++++++++++
 .../google/drive/internal/DriveParentsApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DrivePermissionsApiMethod.java  | 14 ++++++++++++++
 .../google/drive/internal/DrivePropertiesApiMethod.java   | 14 ++++++++++++++
 .../google/drive/internal/DriveRealtimeApiMethod.java     | 14 ++++++++++++++
 .../google/drive/internal/DriveRepliesApiMethod.java      | 14 ++++++++++++++
 .../google/drive/internal/DriveRevisionsApiMethod.java    | 14 ++++++++++++++
 .../google/drive/internal/GoogleDriveApiName.java         | 15 +++++++++++++++
 .../google/mail/internal/GmailUsersApiMethod.java         | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersDraftsApiMethod.java   | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersHistoryApiMethod.java  | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersLabelsApiMethod.java   | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersMessagesApiMethod.java | 14 ++++++++++++++
 .../internal/GmailUsersMessagesAttachmentsApiMethod.java  | 14 ++++++++++++++
 .../google/mail/internal/GmailUsersThreadsApiMethod.java  | 14 ++++++++++++++
 .../component/google/mail/internal/GoogleMailApiName.java | 15 +++++++++++++++
 .../google/sheets/internal/GoogleSheetsApiName.java       | 15 +++++++++++++++
 .../sheets/internal/SheetsSpreadsheetsApiMethod.java      | 14 ++++++++++++++
 .../internal/SheetsSpreadsheetsValuesApiMethod.java       | 14 ++++++++++++++
 .../camel/component/olingo2/internal/Olingo2ApiName.java  | 15 +++++++++++++++
 .../component/olingo2/internal/Olingo2AppApiMethod.java   | 14 ++++++++++++++
 .../camel/component/olingo4/internal/Olingo4ApiName.java  | 15 +++++++++++++++
 .../component/olingo4/internal/Olingo4AppApiMethod.java   | 14 ++++++++++++++
 .../camel/component/twilio/internal/AccountApiMethod.java | 14 ++++++++++++++
 .../camel/component/twilio/internal/AddressApiMethod.java | 14 ++++++++++++++
 .../internal/AddressDependentPhoneNumberApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/ApplicationApiMethod.java   | 14 ++++++++++++++
 .../internal/AvailablePhoneNumberCountryApiMethod.java    | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryLocalApiMethod.java        | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryMobileApiMethod.java       | 14 ++++++++++++++
 .../AvailablePhoneNumberCountryTollFreeApiMethod.java     | 14 ++++++++++++++
 .../camel/component/twilio/internal/CallApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/CallFeedbackApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/CallFeedbackSummaryApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/CallNotificationApiMethod.java        | 14 ++++++++++++++
 .../component/twilio/internal/CallRecordingApiMethod.java | 14 ++++++++++++++
 .../component/twilio/internal/ConferenceApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/ConferenceParticipantApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/ConnectAppApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/IncomingPhoneNumberApiMethod.java     | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberLocalApiMethod.java       | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberMobileApiMethod.java      | 14 ++++++++++++++
 .../internal/IncomingPhoneNumberTollFreeApiMethod.java    | 14 ++++++++++++++
 .../camel/component/twilio/internal/KeyApiMethod.java     | 14 ++++++++++++++
 .../camel/component/twilio/internal/MessageApiMethod.java | 14 ++++++++++++++
 .../twilio/internal/MessageFeedbackApiMethod.java         | 14 ++++++++++++++
 .../component/twilio/internal/MessageMediaApiMethod.java  | 14 ++++++++++++++
 .../camel/component/twilio/internal/NewKeyApiMethod.java  | 14 ++++++++++++++
 .../component/twilio/internal/NewSigningKeyApiMethod.java | 14 ++++++++++++++
 .../component/twilio/internal/NotificationApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/OutgoingCallerIdApiMethod.java        | 14 ++++++++++++++
 .../camel/component/twilio/internal/QueueApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/QueueMemberApiMethod.java   | 14 ++++++++++++++
 .../twilio/internal/RecordingAddOnResultApiMethod.java    | 14 ++++++++++++++
 .../internal/RecordingAddOnResultPayloadApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/RecordingApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/RecordingTranscriptionApiMethod.java  | 14 ++++++++++++++
 .../component/twilio/internal/ShortCodeApiMethod.java     | 14 ++++++++++++++
 .../component/twilio/internal/SigningKeyApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/SipCredentialApiMethod.java | 14 ++++++++++++++
 .../twilio/internal/SipCredentialListApiMethod.java       | 14 ++++++++++++++
 .../component/twilio/internal/SipDomainApiMethod.java     | 14 ++++++++++++++
 .../internal/SipDomainCredentialListMappingApiMethod.java | 14 ++++++++++++++
 .../SipDomainIpAccessControlListMappingApiMethod.java     | 14 ++++++++++++++
 .../twilio/internal/SipIpAccessControlListApiMethod.java  | 14 ++++++++++++++
 .../SipIpAccessControlListIpAddressApiMethod.java         | 14 ++++++++++++++
 .../camel/component/twilio/internal/TokenApiMethod.java   | 14 ++++++++++++++
 .../component/twilio/internal/TranscriptionApiMethod.java | 14 ++++++++++++++
 .../camel/component/twilio/internal/TwilioApiName.java    | 15 +++++++++++++++
 .../twilio/internal/UsageRecordAllTimeApiMethod.java      | 14 ++++++++++++++
 .../component/twilio/internal/UsageRecordApiMethod.java   | 14 ++++++++++++++
 .../twilio/internal/UsageRecordDailyApiMethod.java        | 14 ++++++++++++++
 .../twilio/internal/UsageRecordLastMonthApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/UsageRecordMonthlyApiMethod.java      | 14 ++++++++++++++
 .../twilio/internal/UsageRecordThisMonthApiMethod.java    | 14 ++++++++++++++
 .../twilio/internal/UsageRecordTodayApiMethod.java        | 14 ++++++++++++++
 .../twilio/internal/UsageRecordYearlyApiMethod.java       | 14 ++++++++++++++
 .../twilio/internal/UsageRecordYesterdayApiMethod.java    | 14 ++++++++++++++
 .../component/twilio/internal/UsageTriggerApiMethod.java  | 14 ++++++++++++++
 .../twilio/internal/ValidationRequestApiMethod.java       | 14 ++++++++++++++
 .../component/zendesk/internal/ZendeskApiMethod.java      | 14 ++++++++++++++
 .../camel/component/zendesk/internal/ZendeskApiName.java  | 15 +++++++++++++++
 .../org/apache/camel/maven/ApiComponentGeneratorMojo.java |  1 -
 .../src/main/resources/api-method-enum.vm                 | 14 ++++++++++++++
 .../src/main/resources/api-name-enum.vm                   | 15 +++++++++++++++
 146 files changed, 2043 insertions(+), 1 deletion(-)

diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
index ca4540e..cd700de 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.as2.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component AS2
@@ -30,6 +32,7 @@ public enum AS2ApiName implements ApiName {
     }
 
     public static AS2ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -37,4 +40,16 @@ public enum AS2ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
index 0d72df1..060d4b2 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.as2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.as2.api.AS2ClientManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -53,6 +55,7 @@ public enum AS2ClientManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AS2ClientManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -61,6 +64,17 @@ public enum AS2ClientManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
index 329c808..c5926f2 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.as2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.as2.api.AS2ServerManager;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum AS2ServerManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AS2ServerManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum AS2ServerManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index b11ff90..169ea21 100644
--- 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
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.box.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Box
@@ -46,6 +48,7 @@ public enum BoxApiName implements ApiName {
     }
 
     public static BoxApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -53,4 +56,16 @@ public enum BoxApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return 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
index 50509b6..bff6192 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxCollaborationsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index f238810..0abbbcb 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -65,6 +67,7 @@ public enum BoxCommentsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxCommentsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -73,6 +76,17 @@ public enum BoxCommentsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index 1fa5114..e2bcc75 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -40,6 +42,7 @@ public enum BoxEventLogsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxEventLogsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -48,6 +51,17 @@ public enum BoxEventLogsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index d9752e3..e94d861 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum BoxEventsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxEventsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum BoxEventsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index 5242a45..b2b8510 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -183,6 +185,7 @@ public enum BoxFilesManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxFilesManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -191,6 +194,17 @@ public enum BoxFilesManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index ea21cae..609c3e7 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -106,6 +108,7 @@ public enum BoxFoldersManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxFoldersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -114,6 +117,17 @@ public enum BoxFoldersManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index adfb970..ab84930 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -90,6 +92,7 @@ public enum BoxGroupsManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxGroupsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -98,6 +101,17 @@ public enum BoxGroupsManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index 1014dba..25f753b 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum BoxSearchManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxSearchManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum BoxSearchManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index e5d7d59..032eb3f2 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum BoxTasksManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxTasksManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum BoxTasksManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
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
index 1b46358..7b11dd5 100644
--- 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
@@ -6,12 +6,14 @@ package org.apache.camel.component.box.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 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 org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -96,6 +98,7 @@ public enum BoxUsersManagerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static BoxUsersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -104,6 +107,17 @@ public enum BoxUsersManagerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
index 6b6e075..1630bdd 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.AddOnGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum AddOnGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddOnGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum AddOnGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
index 6dd4db3..5832c5e 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.AddressGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -57,6 +59,7 @@ public enum AddressGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -65,6 +68,17 @@ public enum AddressGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
index 0615eb7..4cb1f78 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.braintree.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Braintree
@@ -60,6 +62,7 @@ public enum BraintreeApiName implements ApiName {
     }
 
     public static BraintreeApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -67,4 +70,16 @@ public enum BraintreeApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
index 90e72f8..916762f 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.ClientTokenGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum ClientTokenGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ClientTokenGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum ClientTokenGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
index a757ed1..fb1c7a8 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.CreditCardVerificationGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -47,6 +49,7 @@ public enum CreditCardVerificationGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CreditCardVerificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -55,6 +58,17 @@ public enum CreditCardVerificationGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
index 33c1c83..6108ebe 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.CustomerGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum CustomerGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CustomerGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum CustomerGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
index 3e7c7d8..d8ceea7 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DiscountGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum DiscountGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DiscountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum DiscountGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
index 523ccaa..05fd22b 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DisputeGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum DisputeGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DisputeGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum DisputeGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
index 19e5099..7c5ed45 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.DocumentUploadGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum DocumentUploadGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DocumentUploadGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum DocumentUploadGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
index 7322593..dfb99cc 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.MerchantAccountGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -62,6 +64,7 @@ public enum MerchantAccountGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MerchantAccountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -70,6 +73,17 @@ public enum MerchantAccountGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
index 8bb26bf..d29a80f 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PaymentMethodGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum PaymentMethodGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PaymentMethodGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum PaymentMethodGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
index 8b39828..2218d95 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PaymentMethodNonceGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -47,6 +49,7 @@ public enum PaymentMethodNonceGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PaymentMethodNonceGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -55,6 +58,17 @@ public enum PaymentMethodNonceGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
index 6f51f08..bb79faf 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.PlanGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum PlanGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static PlanGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum PlanGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
index feeee85..0ba0836 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.ReportGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum ReportGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ReportGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum ReportGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
index 3323fe8..756a0a6 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.SettlementBatchSummaryGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum SettlementBatchSummaryGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SettlementBatchSummaryGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum SettlementBatchSummaryGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
index f2e4266..d30806a 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.SubscriptionGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -88,6 +90,7 @@ public enum SubscriptionGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SubscriptionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -96,6 +99,17 @@ public enum SubscriptionGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
index 186985a..28ec879 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.TransactionGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -130,6 +132,7 @@ public enum TransactionGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TransactionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -138,6 +141,17 @@ public enum TransactionGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
index 0ad7b30..c2a0618 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.braintree.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.braintreegateway.WebhookNotificationGateway;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static WebhookNotificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
index 911a31c..525df66 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.fhir.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Fhir
@@ -52,6 +54,7 @@ public enum FhirApiName implements ApiName {
     }
 
     public static FhirApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,4 +62,16 @@ public enum FhirApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
index b1fef55..c61e7e4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirCapabilities;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum FhirCapabilitiesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirCapabilitiesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum FhirCapabilitiesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
index 17da743..2e655a3 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirCreate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum FhirCreateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirCreateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum FhirCreateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
index f6f1a9f..be99f1c 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirDelete;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -57,6 +59,7 @@ public enum FhirDeleteApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirDeleteApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -65,6 +68,17 @@ public enum FhirDeleteApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
index 4a0e619..ce602f4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirHistory;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -61,6 +63,7 @@ public enum FhirHistoryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -69,6 +72,17 @@ public enum FhirHistoryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
index b467189..01e19d6 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirLoadPage;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -51,6 +53,7 @@ public enum FhirLoadPageApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirLoadPageApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,6 +62,17 @@ public enum FhirLoadPageApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
index d22f183..454874a 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirMeta;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -66,6 +68,7 @@ public enum FhirMetaApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirMetaApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -74,6 +77,17 @@ public enum FhirMetaApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
index ce8df4d..3ccafab 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirOperation;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -84,6 +86,7 @@ public enum FhirOperationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirOperationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -92,6 +95,17 @@ public enum FhirOperationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
index 0656b92..5160739 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirPatch;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -56,6 +58,7 @@ public enum FhirPatchApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirPatchApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -64,6 +67,17 @@ public enum FhirPatchApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
index 3f03958..6762346 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirRead;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -144,6 +146,7 @@ public enum FhirReadApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirReadApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -152,6 +155,17 @@ public enum FhirReadApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
index 21f584b..f0f58ab 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirSearch;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -38,6 +40,7 @@ public enum FhirSearchApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirSearchApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -46,6 +49,17 @@ public enum FhirSearchApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
index b5110cf..3f3aa57 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirTransaction;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -50,6 +52,7 @@ public enum FhirTransactionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirTransactionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -58,6 +61,17 @@ public enum FhirTransactionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
index d291ed7..1ab8035 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirUpdate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -80,6 +82,7 @@ public enum FhirUpdateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirUpdateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -88,6 +91,17 @@ public enum FhirUpdateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
index 1332b6d..0367bd4 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.fhir.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.fhir.api.FhirValidate;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -44,6 +46,7 @@ public enum FhirValidateApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static FhirValidateApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -52,6 +55,17 @@ public enum FhirValidateApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
index ebf387c..ca1eea1 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Acl;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum CalendarAclApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarAclApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum CalendarAclApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
index 5bc428e..d9efe08 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.CalendarList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum CalendarCalendarListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarCalendarListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum CalendarCalendarListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
index 41278e8..efbafd6 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Calendars;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -64,6 +66,7 @@ public enum CalendarCalendarsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarCalendarsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -72,6 +75,17 @@ public enum CalendarCalendarsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
index 5f27dc06..ff601c1 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Channels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum CalendarChannelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum CalendarChannelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
index 05a7117..0bd810a 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Colors;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum CalendarColorsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarColorsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum CalendarColorsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
index 4fc1c63..f40b666 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Events;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -100,6 +102,7 @@ public enum CalendarEventsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarEventsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -108,6 +111,17 @@ public enum CalendarEventsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
index 13374d1..42016bc 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Freebusy;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum CalendarFreebusyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarFreebusyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum CalendarFreebusyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
index 2e01df9..d678cae 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.calendar.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.calendar.Calendar.Settings;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -46,6 +48,7 @@ public enum CalendarSettingsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CalendarSettingsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -54,6 +57,17 @@ public enum CalendarSettingsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
index 2abc68e..2636c91 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.calendar.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleCalendar
@@ -42,6 +44,7 @@ public enum GoogleCalendarApiName implements ApiName {
     }
 
     public static GoogleCalendarApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,4 +52,16 @@ public enum GoogleCalendarApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
index 42e278c..01df3d7 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.About;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -36,6 +38,7 @@ public enum DriveAboutApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveAboutApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -44,6 +47,17 @@ public enum DriveAboutApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
index db66086..760f183 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Apps;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum DriveAppsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveAppsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum DriveAppsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
index 9b4fd90..910e4e5 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Changes;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -50,6 +52,7 @@ public enum DriveChangesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChangesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -58,6 +61,17 @@ public enum DriveChangesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
index d5f66ff..60795bb 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Channels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum DriveChannelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum DriveChannelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
index 0714891..358d4bf 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Children;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -55,6 +57,7 @@ public enum DriveChildrenApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveChildrenApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -63,6 +66,17 @@ public enum DriveChildrenApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
index f21216b..3d2ff2b 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Comments;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum DriveCommentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveCommentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum DriveCommentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
index b10525a..99a5ceb 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Files;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -117,6 +119,7 @@ public enum DriveFilesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveFilesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -125,6 +128,17 @@ public enum DriveFilesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
index d026b82..10b285a 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Parents;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -55,6 +57,7 @@ public enum DriveParentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveParentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -63,6 +66,17 @@ public enum DriveParentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
index d376e02..9d1a4f3 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Permissions;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum DrivePermissionsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DrivePermissionsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum DrivePermissionsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
index b612c9b..011dde2 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Properties;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum DrivePropertiesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DrivePropertiesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum DrivePropertiesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
index 738a214..7b72467 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Realtime;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum DriveRealtimeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRealtimeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum DriveRealtimeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
index 06d495c..b91ed9d 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Replies;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum DriveRepliesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRepliesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum DriveRepliesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
index d3f668e..c5cc922 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.drive.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.drive.Drive.Revisions;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum DriveRevisionsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static DriveRevisionsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum DriveRevisionsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
index 1c5b5fa..e8eaf11 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.drive.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleDrive
@@ -52,6 +54,7 @@ public enum GoogleDriveApiName implements ApiName {
     }
 
     public static GoogleDriveApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -59,4 +62,16 @@ public enum GoogleDriveApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
index 30e24bd..f0a1236 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -48,6 +50,7 @@ public enum GmailUsersApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -56,6 +59,17 @@ public enum GmailUsersApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
index 95f0e85..be8eb6a 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Drafts;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -90,6 +92,7 @@ public enum GmailUsersDraftsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersDraftsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -98,6 +101,17 @@ public enum GmailUsersDraftsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
index 2b377f8..2f70bb2 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.History;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -37,6 +39,7 @@ public enum GmailUsersHistoryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -45,6 +48,17 @@ public enum GmailUsersHistoryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
index c1db7f5..1a31499 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Labels;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum GmailUsersLabelsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersLabelsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum GmailUsersLabelsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
index 92be509..585a950 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Messages;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -123,6 +125,7 @@ public enum GmailUsersMessagesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersMessagesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -131,6 +134,17 @@ public enum GmailUsersMessagesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
index 25b9803..69fe198 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Messages.Attachments;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -39,6 +41,7 @@ public enum GmailUsersMessagesAttachmentsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersMessagesAttachmentsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -47,6 +50,17 @@ public enum GmailUsersMessagesAttachmentsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
index 3150992..a703af5 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.mail.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.gmail.Gmail.Users.Threads;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -68,6 +70,7 @@ public enum GmailUsersThreadsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static GmailUsersThreadsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -76,6 +79,17 @@ public enum GmailUsersThreadsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
index fc52cb5..55e220b 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.mail.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleMail
@@ -40,6 +42,7 @@ public enum GoogleMailApiName implements ApiName {
     }
 
     public static GoogleMailApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -47,4 +50,16 @@ public enum GoogleMailApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
index 0b4520b..04a1f11 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.google.sheets.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component GoogleSheets
@@ -30,6 +32,7 @@ public enum GoogleSheetsApiName implements ApiName {
     }
 
     public static GoogleSheetsApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -37,4 +40,16 @@ public enum GoogleSheetsApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
index 840c4fd..c105d57 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.sheets.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.sheets.v4.Sheets.Spreadsheets;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -66,6 +68,7 @@ public enum SheetsSpreadsheetsApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SheetsSpreadsheetsApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -74,6 +77,17 @@ public enum SheetsSpreadsheetsApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
index a667e48..b1a0050 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.google.sheets.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.google.api.services.sheets.v4.Sheets.Spreadsheets.Values;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -94,6 +96,7 @@ public enum SheetsSpreadsheetsValuesApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SheetsSpreadsheetsValuesApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -102,6 +105,17 @@ public enum SheetsSpreadsheetsValuesApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
index 88ca723..2bfa282 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.olingo2.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Olingo2
@@ -28,6 +30,7 @@ public enum Olingo2ApiName implements ApiName {
     }
 
     public static Olingo2ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum Olingo2ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
index 3b72a71..2d182c3 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.olingo2.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.olingo2.api.Olingo2App;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -101,6 +103,7 @@ public enum Olingo2AppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static Olingo2AppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -109,6 +112,17 @@ public enum Olingo2AppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
index 6fe390d..e53ca38 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.olingo4.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Olingo4
@@ -28,6 +30,7 @@ public enum Olingo4ApiName implements ApiName {
     }
 
     public static Olingo4ApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum Olingo4ApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
index 0230496..755f9ef 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.olingo4.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.apache.camel.component.olingo4.api.Olingo4App;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -110,6 +112,7 @@ public enum Olingo4AppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static Olingo4AppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -118,6 +121,17 @@ public enum Olingo4AppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
index d64094e..f278408 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.Account;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -58,6 +60,7 @@ public enum AccountApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AccountApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -66,6 +69,17 @@ public enum AccountApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
index a505f8a..3f4eeeb 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Address;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -95,6 +97,7 @@ public enum AddressApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -103,6 +106,17 @@ public enum AddressApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
index 9dc9ea9..d43f9da 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.address.DependentPhoneNumber;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AddressDependentPhoneNumberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AddressDependentPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AddressDependentPhoneNumberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
index 0ac1a10..21e4db3 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Application;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -83,6 +85,7 @@ public enum ApplicationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ApplicationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -91,6 +94,17 @@ public enum ApplicationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
index b1256fb..9647e2c 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.AvailablePhoneNumberCountry;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum AvailablePhoneNumberCountryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum AvailablePhoneNumberCountryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
index 3354cc5..31165da 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.Local;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryLocalApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryLocalApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryLocalApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
index 79e9b79..ab38d30 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.Mobile;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryMobileApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryMobileApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryMobileApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
index 9e60a35..010455b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.availablephonenumbercountry.TollFree;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum AvailablePhoneNumberCountryTollFreeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static AvailablePhoneNumberCountryTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum AvailablePhoneNumberCountryTollFreeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
index 6f5ad80..6b488f2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Call;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -119,6 +121,7 @@ public enum CallApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -127,6 +130,17 @@ public enum CallApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
index 562ff53..15f1ad7 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Feedback;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum CallFeedbackApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum CallFeedbackApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
index 07a3d6b..ddcb0ccd 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.FeedbackSummary;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -67,6 +69,7 @@ public enum CallFeedbackSummaryApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallFeedbackSummaryApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -75,6 +78,17 @@ public enum CallFeedbackSummaryApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
index ffba871..49e3f90 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Notification;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -56,6 +58,7 @@ public enum CallNotificationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallNotificationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -64,6 +67,17 @@ public enum CallNotificationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
index 8e08835..7cbf5a2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.call.Recording;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -95,6 +97,7 @@ public enum CallRecordingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static CallRecordingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -103,6 +106,17 @@ public enum CallRecordingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
index a19888a..0196803 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Conference;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum ConferenceApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConferenceApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum ConferenceApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
index 4fd0786..ad991a6 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.conference.Participant;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum ConferenceParticipantApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConferenceParticipantApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum ConferenceParticipantApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
index 87df131..8f31924 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ConnectApp;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum ConnectAppApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ConnectAppApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum ConnectAppApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
index 05dfe7a..29ec4bf 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.IncomingPhoneNumber;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -96,6 +98,7 @@ public enum IncomingPhoneNumberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -104,6 +107,17 @@ public enum IncomingPhoneNumberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
index b734ac0..2e6f2b9 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.Local;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberLocalApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberLocalApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberLocalApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
index 2a8f22e..0712b96 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.Mobile;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberMobileApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberMobileApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberMobileApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
index ae59382..e399a7b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.incomingphonenumber.TollFree;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum IncomingPhoneNumberTollFreeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static IncomingPhoneNumberTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum IncomingPhoneNumberTollFreeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
index 4609ee8..99352a4 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Key;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum KeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static KeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum KeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
index e4b0c52..dd35c3f 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Message;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -136,6 +138,7 @@ public enum MessageApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -144,6 +147,17 @@ public enum MessageApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
index b2d5ed1a..2009ec5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.message.Feedback;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum MessageFeedbackApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum MessageFeedbackApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
index 91b6ade..ce498cc 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.message.Media;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum MessageMediaApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static MessageMediaApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum MessageMediaApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
index e3ea90a..c59c72f 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.NewKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum NewKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NewKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum NewKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
index 00c95ba..d390e2e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.NewSigningKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum NewSigningKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NewSigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum NewSigningKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
index 378474e..89870c5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Notification;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -52,6 +54,7 @@ public enum NotificationApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static NotificationApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -60,6 +63,17 @@ public enum NotificationApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
index 7c60f40..96f3db8 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.OutgoingCallerId;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum OutgoingCallerIdApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static OutgoingCallerIdApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum OutgoingCallerIdApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
index abed1f2..1b2f1e0 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Queue;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -85,6 +87,7 @@ public enum QueueApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static QueueApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -93,6 +96,17 @@ public enum QueueApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
index faac679..982e41b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.queue.Member;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum QueueMemberApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static QueueMemberApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum QueueMemberApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
index 105c548..2926977 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.AddOnResult;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum RecordingAddOnResultApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingAddOnResultApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum RecordingAddOnResultApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
index fcbc749..50e78c9 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.addonresult.Payload;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -75,6 +77,7 @@ public enum RecordingAddOnResultPayloadApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingAddOnResultPayloadApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -83,6 +86,17 @@ public enum RecordingAddOnResultPayloadApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
index 56a314b..fa22c6a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Recording;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum RecordingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum RecordingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
index a0326a1..565ad38 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.recording.Transcription;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -69,6 +71,7 @@ public enum RecordingTranscriptionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static RecordingTranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -77,6 +80,17 @@ public enum RecordingTranscriptionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
index 3c9b4a6..244c796 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ShortCode;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum ShortCodeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ShortCodeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum ShortCodeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
index ad1edd7..1d5bf1b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.SigningKey;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -74,6 +76,7 @@ public enum SigningKeyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -82,6 +85,17 @@ public enum SigningKeyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
index b728c8b..b76d376 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.credentiallist.Credential;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum SipCredentialApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipCredentialApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum SipCredentialApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
index 6dc1367..3f733d7 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.CredentialList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -87,6 +89,7 @@ public enum SipCredentialListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipCredentialListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -95,6 +98,17 @@ public enum SipCredentialListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
index cffc051..4dfece4 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.Domain;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -85,6 +87,7 @@ public enum SipDomainApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -93,6 +96,17 @@ public enum SipDomainApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
index dc3e148..3d178b8 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.domain.CredentialListMapping;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum SipDomainCredentialListMappingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainCredentialListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum SipDomainCredentialListMappingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
index 5dc2249..36a9a8d 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.domain.IpAccessControlListMapping;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -82,6 +84,7 @@ public enum SipDomainIpAccessControlListMappingApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipDomainIpAccessControlListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -90,6 +93,17 @@ public enum SipDomainIpAccessControlListMappingApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
index 2683e99..6704918 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.IpAccessControlList;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -87,6 +89,7 @@ public enum SipIpAccessControlListApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipIpAccessControlListApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -95,6 +98,17 @@ public enum SipIpAccessControlListApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
index 4a7dec2..2854546 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.sip.ipaccesscontrollist.IpAddress;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -97,6 +99,7 @@ public enum SipIpAccessControlListIpAddressApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static SipIpAccessControlListIpAddressApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -105,6 +108,17 @@ public enum SipIpAccessControlListIpAddressApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
index d6bfe44..009fd70 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Token;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum TokenApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TokenApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum TokenApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
index b812100..0328dec 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.Transcription;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -63,6 +65,7 @@ public enum TranscriptionApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static TranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -71,6 +74,17 @@ public enum TranscriptionApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
index 256ae18..5bb4c2e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.twilio.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Twilio
@@ -138,6 +140,7 @@ public enum TwilioApiName implements ApiName {
     }
 
     public static TwilioApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -145,4 +148,16 @@ public enum TwilioApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
index 3e9ae6a..f9ee99a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.AllTime;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordAllTimeApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordAllTimeApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordAllTimeApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
index dfcf798..17fb24c 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.Record;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
index c1f8515..82f7931 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Daily;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordDailyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordDailyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordDailyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
index 2c5ef33..529c071 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.LastMonth;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordLastMonthApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordLastMonthApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordLastMonthApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
index 37bc30d..f42237e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Monthly;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordMonthlyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordMonthlyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordMonthlyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
index 984d566..0008019 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.ThisMonth;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordThisMonthApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordThisMonthApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordThisMonthApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
index 65980a1..fe8a5be 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Today;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordTodayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordTodayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordTodayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
index de02600..3681eda 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Yearly;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordYearlyApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordYearlyApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordYearlyApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
index cb2ee98..66a723d 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.record.Yesterday;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -41,6 +43,7 @@ public enum UsageRecordYesterdayApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageRecordYesterdayApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -49,6 +52,17 @@ public enum UsageRecordYesterdayApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
index 6af7de5..a0fecfd 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.usage.Trigger;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -89,6 +91,7 @@ public enum UsageTriggerApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static UsageTriggerApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -97,6 +100,17 @@ public enum UsageTriggerApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
index 971ed38..2ce415b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.twilio.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import com.twilio.rest.api.v2010.account.ValidationRequest;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -43,6 +45,7 @@ public enum ValidationRequestApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ValidationRequestApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -51,6 +54,17 @@ public enum ValidationRequestApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
index af52a1a..c032f40 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
@@ -6,12 +6,14 @@ package org.apache.camel.component.zendesk.internal;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import org.zendesk.client.v2.Zendesk;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -1811,6 +1813,7 @@ public enum ZendeskApiMethod implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static ZendeskApiMethod fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -1819,6 +1822,17 @@ public enum ZendeskApiMethod implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
index 6b61870..e02f675 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
@@ -4,7 +4,9 @@
  */
 package org.apache.camel.component.zendesk.internal;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component Zendesk
@@ -28,6 +30,7 @@ public enum ZendeskApiName implements ApiName {
     }
 
     public static ZendeskApiName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -35,4 +38,16 @@ public enum ZendeskApiName implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
index 9e72ba5..2afdbaf 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
@@ -279,7 +279,6 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
     }
 
     public static String getNullableOptionValues(String[] nullableOptions) {
-
         if (nullableOptions == null || nullableOptions.length == 0) {
             return "";
         }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
index 345646b..4f2d559 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-method-enum.vm
@@ -38,12 +38,14 @@ package $packageName;
 
 import java.lang.reflect.Method;
 import java.util.List;
+import java.util.Locale;
 
 import $proxyType.CanonicalName;
 
 import org.apache.camel.support.component.ApiMethod;
 import org.apache.camel.support.component.ApiMethodArg;
 import org.apache.camel.support.component.ApiMethodImpl;
+import org.apache.camel.util.StringHelper;
 
 import static org.apache.camel.support.component.ApiMethodArg.arg;
 
@@ -71,6 +73,7 @@ public enum $enumName implements ApiMethod {
     public String getName() { return apiMethod.getName(); }
 
     public static $enumName fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -79,6 +82,17 @@ public enum $enumName implements ApiMethod {
         throw new IllegalArgumentException("Invalid value " + value);
     }
 
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
     @Override
     public Class<?> getResultType() { return apiMethod.getResultType(); }
 
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
index 591871b..024665a 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-name-enum.vm
@@ -36,7 +36,9 @@
  */
 package $packageName;
 
+import java.util.Locale;
 import org.apache.camel.support.component.ApiName;
+import org.apache.camel.util.StringHelper;
 
 /**
  * Camel {@link ApiName} Enumeration for Component $componentName
@@ -63,6 +65,7 @@ public enum $apiNameEnum implements ApiName {
     }
 
     public static $apiNameEnum fromValue(String value) throws IllegalArgumentException {
+        value = getEnumConstant(value);
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
             if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
@@ -70,4 +73,16 @@ public enum $apiNameEnum implements ApiName {
         }
         throw new IllegalArgumentException("Invalid value " + value);
     }
+
+    private static String getEnumConstant(String enumValue) {
+        if (enumValue == null || enumValue.isEmpty()) {
+            return "DEFAULT";
+        }
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
+    }
+
 }


[camel] 04/10: CAMEL-15498: Add java source parser for discovering API methods for API based components.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7b9718e1ea18656acef0cd8a9e8dc98b62f6a73d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 10:56:03 2020 +0200

    CAMEL-15498:  Add java source parser for discovering API methods for API based components.
---
 .../org/apache/camel/maven/JavaSourceParser.java   |   7 +-
 .../apache/camel/maven/JavaSourceParserTest.java   |  21 +-
 .../src/test/resources/DisputeGateway.java         | 261 +++++++++++++++++++++
 3 files changed, 287 insertions(+), 2 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
index f877afe..5694dda 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
@@ -86,7 +86,12 @@ public class JavaSourceParser {
                 sb.append(")");
 
                 signature = sb.toString();
-                parameters.put(ms.getName(), docs);
+                Map<String, String> existing = parameters.get(ms.getName());
+                if (existing != null) {
+                    existing.putAll(docs);
+                } else {
+                    parameters.put(ms.getName(), docs);
+                }
             }
 
             methods.add(signature);
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
index 5b7cc30..3a384b8 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
@@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class JavaSourceParserTest {
 
     @Test
-    public void testGetMethods() throws Exception {
+    public void testGetMethodsAddress() throws Exception {
         final JavaSourceParser parser = new JavaSourceParser();
 
         parser.parse(JavaSourceParserTest.class.getResourceAsStream("/AddressGateway.java"));
@@ -60,4 +60,23 @@ public class JavaSourceParserTest {
 
     }
 
+    @Test
+    public void testGetMethodsDispute() throws Exception {
+        final JavaSourceParser parser = new JavaSourceParser();
+
+        parser.parse(JavaSourceParserTest.class.getResourceAsStream("/DisputeGateway.java"));
+        assertEquals(9, parser.getMethods().size());
+
+        assertEquals(
+                "public com.braintreegateway.Result addFileEvidence(String disputeId, String documentId)",
+                parser.getMethods().get(1));
+        assertEquals(3, parser.getParameters().get("addFileEvidence").size());
+        assertEquals("The dispute id to add text evidence to", parser.getParameters().get("addFileEvidence").get("disputeId"));
+        assertEquals("The document id of a previously uploaded document",
+                parser.getParameters().get("addFileEvidence").get("documentId"));
+
+        parser.reset();
+
+    }
+
 }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/resources/DisputeGateway.java b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/DisputeGateway.java
new file mode 100644
index 0000000..69c1d46
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/DisputeGateway.java
@@ -0,0 +1,261 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.braintreegateway;
+
+import com.braintreegateway.exceptions.NotFoundException;
+import com.braintreegateway.util.Http;
+import com.braintreegateway.util.NodeWrapper;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Provides methods to interact with {@link Dispute} objects.
+ * This class does not need to be instantiated directly. Instead, use
+ * {@link BraintreeGateway#dispute()} to get an instance of this class:
+ *
+ * <pre>
+ * BraintreeGateway gateway = new BraintreeGateway(...);
+ * gateway.dispute().find(...)
+ * </pre>
+ *
+ * For more detailed information on {@link Dispute disputes}, see <a href="https://developers.braintreepayments.com/reference/response/dispute/java" target="_blank">https://developers.braintreepayments.com/reference/response/dispute/java</a>
+ */
+public class DisputeGateway {
+    private Configuration configuration;
+    private Http http;
+
+    public DisputeGateway(Http http, Configuration configuration) {
+        this.configuration = configuration;
+        this.http = http;
+    }
+
+    /**
+     * Accept a @{link Dispute}, given a dispute ID.
+     *
+     * @param id the dispute id to accept.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if a Dispute with the given ID cannot be found.
+     */
+    public Result<Dispute> accept(String id) {
+        try {
+            if (id == null || id.trim().equals("")) {
+                throw new NotFoundException();
+            }
+
+            NodeWrapper response = http.put(configuration.getMerchantPath() + "/disputes/" + id + "/accept");
+            if (response.getElementName().equals("api-error-response")) {
+                return new Result<Dispute>(response, Dispute.class);
+            }
+
+            return new Result<Dispute>();
+        } catch (NotFoundException e) {
+            throw new NotFoundException("dispute with id \"" + id + "\" not found");
+        }
+    }
+
+    /**
+     * Add File Evidence to a @{link Dispute}, given an ID and a @{link DocumentUpload} ID.
+     *
+     * @param disputeId the dispute id to add text evidence to.
+     * @param documentId the document id of a previously uploaded document
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if the Dispute ID or Document ID cannot be found.
+     */
+    public Result<DisputeEvidence> addFileEvidence(String disputeId, String documentId) {
+        return addFileEvidence(disputeId, new FileEvidenceRequest().documentId(documentId));
+    }
+
+    /**
+     * Add File Evidence to a @{link Dispute}, given an ID and a @{link FileEvidenceRequest} File evidence request.
+     *
+     * @param disputeId the dispute id to add text evidence to.
+     * @param fileEvidenceRequest the file evidence request for the dispute.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if the Dispute ID or Document ID cannot be found.
+     */
+    public Result<DisputeEvidence> addFileEvidence(String disputeId, FileEvidenceRequest fileEvidenceRequest) {
+        if (disputeId == null || disputeId.trim().equals("")) {
+            throw new NotFoundException("dispute with id \"" + disputeId + "\" not found");
+        }
+
+        if (fileEvidenceRequest.getDocumentId() == null || fileEvidenceRequest.getDocumentId().trim().equals("")) {
+            throw new NotFoundException("document with id \"" + fileEvidenceRequest.getDocumentId() + "\" not found");
+        }
+
+        try {
+            NodeWrapper response = http.post(configuration.getMerchantPath() + "/disputes/" + disputeId + "/evidence", fileEvidenceRequest);
+            return new Result<DisputeEvidence>(response, DisputeEvidence.class);
+        } catch (NotFoundException e) {
+            throw new NotFoundException("dispute with id \"" + disputeId + "\" not found");
+        }
+    }
+
+    /**
+     * Add Text Evidence to a @{link Dispute}, given an ID and content.
+     *
+     * @param id the dispute id to add text evidence to.
+     * @param textEvidenceRequest the text evidence request for the dispute.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if a Dispute with the given ID cannot be found.
+     * @throws IllegalArgumentException if the content is empty.
+     */
+    public Result<DisputeEvidence> addTextEvidence(String id, TextEvidenceRequest textEvidenceRequest) {
+        if (textEvidenceRequest == null)
+            throw new IllegalArgumentException("TextEvidenceRequest cannot be null");
+
+        return addTextEvidenceRequest(id, textEvidenceRequest);
+    }
+
+    /**
+     * Add Text Evidence to a @{link Dispute}, given an ID and content.
+     *
+     * @param id the dispute id to add text evidence to.
+     * @param content the content of the text evidence for the dispute.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if a Dispute with the given ID cannot be found.
+     * @throws IllegalArgumentException if the content is empty.
+     */
+    public Result<DisputeEvidence> addTextEvidence(String id, String content) {
+        TextEvidenceRequest textEvidenceRequest = new TextEvidenceRequest().content(content);
+        return addTextEvidenceRequest(id, textEvidenceRequest);
+    }
+
+    private Result<DisputeEvidence> addTextEvidenceRequest(String id, TextEvidenceRequest textEvidenceRequest) {
+        String content = textEvidenceRequest.getContent();
+        if (id == null || id.trim().equals("")) {
+            throw new NotFoundException("Dispute ID is required");
+        } else if (content == null || content.trim().equals("")) {
+            throw new IllegalArgumentException("Content cannot be empty");
+        }
+
+        try {
+            NodeWrapper response = http.post(configuration.getMerchantPath() + "/disputes/" + id + "/evidence", textEvidenceRequest);
+            return new Result<DisputeEvidence>(response, DisputeEvidence.class);
+        } catch (NotFoundException e) {
+            throw new NotFoundException("Dispute with ID \"" + id + "\" not found");
+        }
+    }
+
+    /**
+     * Finalize a @{link Dispute}, given an ID.
+     *
+     * @param id the dispute id to finalize.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if a Dispute with the given ID cannot be found.
+     */
+    public Result<Dispute> finalize(String id) {
+        try {
+            if (id == null || id.trim().equals("")) {
+                throw new NotFoundException();
+            }
+
+            NodeWrapper response = http.put(configuration.getMerchantPath() + "/disputes/" + id + "/finalize");
+
+            if (response.getElementName().equals("api-error-response")) {
+                return new Result<Dispute>(response, Dispute.class);
+            }
+
+            return new Result<Dispute>();
+        } catch (NotFoundException e) {
+            throw new NotFoundException("dispute with id \"" + id + "\" not found");
+        }
+    }
+
+    /**
+     * Returns a @{link Dispute}, given an ID.
+     *
+     * @param id the dispute id to find.
+     *
+     * @return a {@link Dispute}.
+     *
+     * @throws NotFoundException if a Dispute with the given ID cannot be found.
+     */
+    public Dispute find(String id) {
+        try {
+            if (id == null || id.trim().equals("")) {
+                throw new NotFoundException();
+            }
+
+            return new Dispute(http.get(configuration.getMerchantPath() + "/disputes/" + id));
+        } catch (NotFoundException e) {
+            throw new NotFoundException("dispute with id \"" + id + "\" not found");
+        }
+    }
+
+    /**
+     * Remove Evidence from a @{link Dispute}, given an ID and a @{link DisputeEvidence} ID.
+     *
+     * @param disputeId the dispute id to remove evidence from.
+     * @param evidenceId the evidence id to remove.
+     *
+     * @return a {@link Result}.
+     *
+     * @throws NotFoundException if the Dispute ID or evidence ID cannot be found.
+     */
+    public Result<Dispute> removeEvidence(String disputeId, String evidenceId) {
+        try {
+            if (disputeId == null || disputeId.trim().equals("") || evidenceId == null || evidenceId.trim().equals("")) {
+                throw new NotFoundException();
+            }
+
+            NodeWrapper response = http.delete(configuration.getMerchantPath() + "/disputes/" + disputeId + "/evidence/" + evidenceId);
+
+            if (response != null && response.getElementName().equals("api-error-response")) {
+                return new Result<Dispute>(response, Dispute.class);
+            }
+
+            return new Result<Dispute>();
+        } catch (NotFoundException e) {
+            throw new NotFoundException("evidence with id \"" + evidenceId + "\" for dispute with id \"" + disputeId + "\" not found");
+        }
+    }
+
+    /**
+     * Finds all {@link Dispute}s that match the query.
+     *
+     * @param query the query for what disputes to find.
+     *
+     * @return a {@link PaginatedCollection} of {@link Dispute}.
+     */
+    public PaginatedCollection<Dispute> search(DisputeSearchRequest query) {
+        return new PaginatedCollection<Dispute>(new DisputePager(this, query));
+    }
+
+    PaginatedResult<Dispute> fetchDisputes(DisputeSearchRequest query, int page) {
+        final NodeWrapper response = http.post(configuration.getMerchantPath() + "/disputes/advanced_search?page=" + page, query);
+
+        List<Dispute> disputes = new ArrayList<Dispute>();
+        for (NodeWrapper node : response.findAll("dispute")) {
+            disputes.add(new Dispute(node));
+        }
+
+        return new PaginatedResult<Dispute>(response.findInteger("total-items"), response.findInteger("page-size"), disputes);
+    }
+}


[camel] 08/10: CAMEL-15478: Nicer enum constant names

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9b76d2556661384ce69fa8b55320c18d483d5a73
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 11:56:08 2020 +0200

    CAMEL-15478: Nicer enum constant names
---
 .../camel/maven/ApiComponentGeneratorMojo.java       | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
index 51f732c..9e72ba5 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
@@ -19,8 +19,10 @@ package org.apache.camel.maven;
 import java.io.File;
 import java.util.Collections;
 import java.util.List;
+import java.util.Locale;
 import java.util.regex.Matcher;
 
+import org.apache.camel.util.StringHelper;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugins.annotations.LifecyclePhase;
 import org.apache.maven.plugins.annotations.Mojo;
@@ -269,19 +271,11 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
         if (enumValue == null || enumValue.isEmpty()) {
             return "DEFAULT";
         }
-        StringBuilder builder = new StringBuilder();
-        if (!Character.isJavaIdentifierStart(enumValue.charAt(0))) {
-            builder.append('_');
-        }
-        for (char c : enumValue.toCharArray()) {
-            char upperCase = Character.toUpperCase(c);
-            if (!Character.isJavaIdentifierPart(upperCase)) {
-                builder.append('_');
-            } else {
-                builder.append(upperCase);
-            }
-        }
-        return builder.toString();
+        String value = StringHelper.camelCaseToDash(enumValue);
+        // replace dash with underscore and upper case
+        value = value.replace('-', '_');
+        value = value.toUpperCase(Locale.ENGLISH);
+        return value;
     }
 
     public static String getNullableOptionValues(String[] nullableOptions) {


[camel] 02/10: CAMEL-15498: Add java source parser for discovering API methods for API based components.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7827ff02870144aed3ab122668e5dec23ee84f05
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 09:57:04 2020 +0200

    CAMEL-15498:  Add java source parser for discovering API methods for API based components.
---
 .../camel/maven/ApiComponentGeneratorMojo.java     | 33 +++++++++++++++++++---
 .../main/java/org/apache/camel/maven/ApiProxy.java | 10 +++++++
 .../apache/camel/maven/DocumentGeneratorMojo.java  |  3 ++
 .../org/apache/camel/maven/FromJavasource.java     | 23 +++++++++++++++
 4 files changed, 65 insertions(+), 4 deletions(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
index df3160c..51f732c 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiComponentGeneratorMojo.java
@@ -48,6 +48,12 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
     protected FromJavadoc fromJavadoc = new FromJavadoc();
 
     /**
+     * Common Javasource code generation settings.
+     */
+    @Parameter
+    protected FromJavasource fromJavasource = new FromJavasource();
+
+    /**
      * Names of options that can be set to null value if not specified.
      */
     @Parameter
@@ -159,14 +165,20 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
 
         final File signatureFile = api.getFromSignatureFile();
         if (signatureFile != null) {
-
             final FileApiMethodGeneratorMojo fileMojo = new FileApiMethodGeneratorMojo();
             fileMojo.signatureFile = signatureFile;
             apiMethodGenerator = fileMojo;
-
         } else {
-
             final FromJavadoc apiFromJavadoc = api.getFromJavadoc();
+            final FromJavasource apiFromJavasource = api.getFromJavasource();
+
+            if (apiFromJavadoc == null && apiFromJavasource == null) {
+                throw new IllegalArgumentException("Must specify to use either fromJavadoc or fromJavasource");
+            }
+            if (apiFromJavadoc != null && apiFromJavasource != null) {
+                throw new IllegalArgumentException("Cannot use both fromJavadoc and fromJavasource");
+            }
+
             if (apiFromJavadoc != null) {
                 final JavadocApiMethodGeneratorMojo javadocMojo = new JavadocApiMethodGeneratorMojo();
                 javadocMojo.excludePackages = apiFromJavadoc.getExcludePackages() != null
@@ -179,9 +191,22 @@ public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
                         ? apiFromJavadoc.getExcludeMethods() : fromJavadoc.getExcludeMethods();
                 javadocMojo.includeStaticMethods = apiFromJavadoc.getIncludeStaticMethods() != null
                         ? apiFromJavadoc.getIncludeStaticMethods() : fromJavadoc.getIncludeStaticMethods();
-
                 apiMethodGenerator = javadocMojo;
             }
+            if (apiFromJavasource != null) {
+                final JavaSourceApiMethodGeneratorMojo javasourceMojo = new JavaSourceApiMethodGeneratorMojo();
+                javasourceMojo.excludePackages = apiFromJavasource.getExcludePackages() != null
+                        ? apiFromJavasource.getExcludePackages() : apiFromJavasource.getExcludePackages();
+                javasourceMojo.excludeClasses = apiFromJavasource.getExcludeClasses() != null
+                        ? apiFromJavasource.getExcludeClasses() : apiFromJavasource.getExcludeClasses();
+                javasourceMojo.includeMethods = apiFromJavasource.getIncludeMethods() != null
+                        ? apiFromJavasource.getIncludeMethods() : apiFromJavasource.getIncludeMethods();
+                javasourceMojo.excludeMethods = apiFromJavasource.getExcludeMethods() != null
+                        ? apiFromJavasource.getExcludeMethods() : apiFromJavasource.getExcludeMethods();
+                javasourceMojo.includeStaticMethods = apiFromJavasource.getIncludeStaticMethods() != null
+                        ? apiFromJavasource.getIncludeStaticMethods() : apiFromJavasource.getIncludeStaticMethods();
+                apiMethodGenerator = javasourceMojo;
+            }
         }
         return apiMethodGenerator;
     }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiProxy.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiProxy.java
index ad8038d..c7f0778 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiProxy.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/ApiProxy.java
@@ -35,6 +35,8 @@ public class ApiProxy {
 
     private FromJavadoc fromJavadoc;
 
+    private FromJavasource fromJavasource;
+
     private Substitution[] substitutions = new Substitution[0];
 
     private String excludeConfigNames;
@@ -81,6 +83,14 @@ public class ApiProxy {
         this.fromJavadoc = fromJavadoc;
     }
 
+    public FromJavasource getFromJavasource() {
+        return fromJavasource;
+    }
+
+    public void setFromJavasource(FromJavasource fromJavasource) {
+        this.fromJavasource = fromJavasource;
+    }
+
     public Substitution[] getSubstitutions() {
         return substitutions;
     }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/DocumentGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/DocumentGeneratorMojo.java
index c384e1f..39e66a9 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/DocumentGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/DocumentGeneratorMojo.java
@@ -57,8 +57,11 @@ import org.codehaus.plexus.util.StringUtils;
  */
 @Mojo(name = "document", requiresDependencyResolution = ResolutionScope.COMPILE, requiresProject = true,
       defaultPhase = LifecyclePhase.SITE, threadSafe = true)
+@Deprecated
 public class DocumentGeneratorMojo extends AbstractGeneratorMojo implements MavenReport {
 
+    // TODO: remove me
+
     // document output directory
     @Parameter(property = PREFIX + "reportOutputDirectory",
                defaultValue = "${project.reporting.outputDirectory}/cameldocs")
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/FromJavasource.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/FromJavasource.java
new file mode 100644
index 0000000..1fb2e7b
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/FromJavasource.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven;
+
+/**
+ * Java source API generator properties.
+ */
+public class FromJavasource extends FromJavadoc {
+}


[camel] 07/10: CAMEL-15478: Regen

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 29a2b797e2e6b51bc7cccd3d44a5ba48d1807968
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 11:47:41 2020 +0200

    CAMEL-15478: Regen
---
 .../camel/component/as2/internal/AS2ApiName.java   |   7 +-
 .../as2/internal/AS2ClientManagerApiMethod.java    |   5 +-
 .../as2/internal/AS2ServerManagerApiMethod.java    |   5 +-
 .../org/apache/camel/component/as2/as2.json        |   2 +-
 .../src/main/docs/as2-component.adoc               |   2 +-
 .../camel/component/box/internal/BoxApiName.java   |   7 +-
 .../BoxCollaborationsManagerApiMethod.java         |   5 +-
 .../box/internal/BoxCommentsManagerApiMethod.java  |   5 +-
 .../box/internal/BoxEventLogsManagerApiMethod.java |   5 +-
 .../box/internal/BoxEventsManagerApiMethod.java    |   5 +-
 .../box/internal/BoxFilesManagerApiMethod.java     |   5 +-
 .../box/internal/BoxFoldersManagerApiMethod.java   |   5 +-
 .../box/internal/BoxGroupsManagerApiMethod.java    |   5 +-
 .../box/internal/BoxSearchManagerApiMethod.java    |   5 +-
 .../box/internal/BoxTasksManagerApiMethod.java     |   5 +-
 .../box/internal/BoxUsersManagerApiMethod.java     |   5 +-
 .../org/apache/camel/component/box/box.json        |   2 +-
 .../src/main/docs/box-component.adoc               |   2 +-
 .../braintree/internal/AddOnGatewayApiMethod.java  |   5 +-
 .../internal/AddressGatewayApiMethod.java          |   5 +-
 .../braintree/internal/BraintreeApiName.java       |   7 +-
 .../internal/ClientTokenGatewayApiMethod.java      |   5 +-
 .../CreditCardVerificationGatewayApiMethod.java    |   5 +-
 .../internal/CustomerGatewayApiMethod.java         |   5 +-
 .../internal/DiscountGatewayApiMethod.java         |   5 +-
 .../internal/DisputeGatewayApiMethod.java          |   5 +-
 .../internal/DocumentUploadGatewayApiMethod.java   |   5 +-
 .../internal/MerchantAccountGatewayApiMethod.java  |   5 +-
 .../internal/PaymentMethodGatewayApiMethod.java    |   5 +-
 .../PaymentMethodNonceGatewayApiMethod.java        |   5 +-
 .../braintree/internal/PlanGatewayApiMethod.java   |   5 +-
 .../braintree/internal/ReportGatewayApiMethod.java |   5 +-
 .../SettlementBatchSummaryGatewayApiMethod.java    |   5 +-
 .../internal/SubscriptionGatewayApiMethod.java     |   5 +-
 .../internal/TransactionGatewayApiMethod.java      |   5 +-
 .../WebhookNotificationGatewayApiMethod.java       |   5 +-
 .../camel/component/braintree/braintree.json       |   2 +-
 .../src/main/docs/braintree-component.adoc         |   2 +-
 .../camel/component/fhir/internal/FhirApiName.java |   7 +-
 .../fhir/internal/FhirCapabilitiesApiMethod.java   |   5 +-
 .../fhir/internal/FhirCreateApiMethod.java         |   5 +-
 .../fhir/internal/FhirDeleteApiMethod.java         |   5 +-
 .../fhir/internal/FhirHistoryApiMethod.java        |   5 +-
 .../fhir/internal/FhirLoadPageApiMethod.java       |   5 +-
 .../component/fhir/internal/FhirMetaApiMethod.java |   5 +-
 .../fhir/internal/FhirOperationApiMethod.java      |   5 +-
 .../fhir/internal/FhirPatchApiMethod.java          |   5 +-
 .../component/fhir/internal/FhirReadApiMethod.java |   5 +-
 .../fhir/internal/FhirSearchApiMethod.java         |   5 +-
 .../fhir/internal/FhirTransactionApiMethod.java    |   5 +-
 .../fhir/internal/FhirUpdateApiMethod.java         |   5 +-
 .../fhir/internal/FhirValidateApiMethod.java       |   5 +-
 .../org/apache/camel/component/fhir/fhir.json      |   2 +-
 .../src/main/docs/fhir-component.adoc              |   2 +-
 .../calendar/internal/CalendarAclApiMethod.java    |   5 +-
 .../internal/CalendarCalendarListApiMethod.java    |   5 +-
 .../internal/CalendarCalendarsApiMethod.java       |   5 +-
 .../internal/CalendarChannelsApiMethod.java        |   5 +-
 .../calendar/internal/CalendarColorsApiMethod.java |   5 +-
 .../calendar/internal/CalendarEventsApiMethod.java |   5 +-
 .../internal/CalendarFreebusyApiMethod.java        |   5 +-
 .../internal/CalendarSettingsApiMethod.java        |   5 +-
 .../calendar/internal/GoogleCalendarApiName.java   |   7 +-
 .../component/google/calendar/google-calendar.json |   2 +-
 .../src/main/docs/google-calendar-component.adoc   |   2 +-
 .../google/drive/internal/DriveAboutApiMethod.java |   5 +-
 .../google/drive/internal/DriveAppsApiMethod.java  |   5 +-
 .../drive/internal/DriveChangesApiMethod.java      |   5 +-
 .../drive/internal/DriveChannelsApiMethod.java     |   5 +-
 .../drive/internal/DriveChildrenApiMethod.java     |   5 +-
 .../drive/internal/DriveCommentsApiMethod.java     |   5 +-
 .../google/drive/internal/DriveFilesApiMethod.java |   5 +-
 .../drive/internal/DriveParentsApiMethod.java      |   5 +-
 .../drive/internal/DrivePermissionsApiMethod.java  |   5 +-
 .../drive/internal/DrivePropertiesApiMethod.java   |   5 +-
 .../drive/internal/DriveRealtimeApiMethod.java     |   5 +-
 .../drive/internal/DriveRepliesApiMethod.java      |   5 +-
 .../drive/internal/DriveRevisionsApiMethod.java    |   5 +-
 .../google/drive/internal/GoogleDriveApiName.java  |   7 +-
 .../camel/component/google/drive/google-drive.json |   2 +-
 .../src/main/docs/google-drive-component.adoc      |   2 +-
 .../google/mail/internal/GmailUsersApiMethod.java  |   5 +-
 .../mail/internal/GmailUsersDraftsApiMethod.java   |   5 +-
 .../mail/internal/GmailUsersHistoryApiMethod.java  |   5 +-
 .../mail/internal/GmailUsersLabelsApiMethod.java   |   5 +-
 .../mail/internal/GmailUsersMessagesApiMethod.java |   5 +-
 .../GmailUsersMessagesAttachmentsApiMethod.java    |   5 +-
 .../mail/internal/GmailUsersThreadsApiMethod.java  |   5 +-
 .../google/mail/internal/GoogleMailApiName.java    |   7 +-
 .../camel/component/google/mail/google-mail.json   |   2 +-
 .../src/main/docs/google-mail-component.adoc       |   2 +-
 .../sheets/internal/GoogleSheetsApiName.java       |   7 +-
 .../internal/SheetsSpreadsheetsApiMethod.java      |   5 +-
 .../SheetsSpreadsheetsValuesApiMethod.java         |   5 +-
 .../component/google/sheets/google-sheets.json     |   2 +-
 .../src/main/docs/google-sheets-component.adoc     |   2 +-
 .../component/olingo2/internal/Olingo2ApiName.java |   7 +-
 .../olingo2/internal/Olingo2AppApiMethod.java      |   5 +-
 .../apache/camel/component/olingo2/olingo2.json    |   2 +-
 .../src/main/docs/olingo2-component.adoc           |   2 +-
 .../component/olingo4/internal/Olingo4ApiName.java |   7 +-
 .../olingo4/internal/Olingo4AppApiMethod.java      |   5 +-
 .../apache/camel/component/olingo4/olingo4.json    |   2 +-
 .../src/main/docs/olingo4-component.adoc           |   2 +-
 .../twilio/internal/AccountApiMethod.java          |   5 +-
 .../twilio/internal/AddressApiMethod.java          |   5 +-
 .../AddressDependentPhoneNumberApiMethod.java      |   5 +-
 .../twilio/internal/ApplicationApiMethod.java      |   5 +-
 .../AvailablePhoneNumberCountryApiMethod.java      |   5 +-
 .../AvailablePhoneNumberCountryLocalApiMethod.java |   5 +-
 ...AvailablePhoneNumberCountryMobileApiMethod.java |   5 +-
 ...ailablePhoneNumberCountryTollFreeApiMethod.java |   5 +-
 .../component/twilio/internal/CallApiMethod.java   |   5 +-
 .../twilio/internal/CallFeedbackApiMethod.java     |   5 +-
 .../internal/CallFeedbackSummaryApiMethod.java     |   5 +-
 .../twilio/internal/CallNotificationApiMethod.java |   5 +-
 .../twilio/internal/CallRecordingApiMethod.java    |   5 +-
 .../twilio/internal/ConferenceApiMethod.java       |   5 +-
 .../internal/ConferenceParticipantApiMethod.java   |   5 +-
 .../twilio/internal/ConnectAppApiMethod.java       |   5 +-
 .../internal/IncomingPhoneNumberApiMethod.java     |   5 +-
 .../IncomingPhoneNumberLocalApiMethod.java         |   5 +-
 .../IncomingPhoneNumberMobileApiMethod.java        |   5 +-
 .../IncomingPhoneNumberTollFreeApiMethod.java      |   5 +-
 .../component/twilio/internal/KeyApiMethod.java    |   5 +-
 .../twilio/internal/MessageApiMethod.java          |   5 +-
 .../twilio/internal/MessageFeedbackApiMethod.java  |   5 +-
 .../twilio/internal/MessageMediaApiMethod.java     |   5 +-
 .../component/twilio/internal/NewKeyApiMethod.java |   5 +-
 .../twilio/internal/NewSigningKeyApiMethod.java    |   5 +-
 .../twilio/internal/NotificationApiMethod.java     |   5 +-
 .../twilio/internal/OutgoingCallerIdApiMethod.java |   5 +-
 .../component/twilio/internal/QueueApiMethod.java  |   5 +-
 .../twilio/internal/QueueMemberApiMethod.java      |   5 +-
 .../internal/RecordingAddOnResultApiMethod.java    |   5 +-
 .../RecordingAddOnResultPayloadApiMethod.java      |   5 +-
 .../twilio/internal/RecordingApiMethod.java        |   5 +-
 .../internal/RecordingTranscriptionApiMethod.java  |   5 +-
 .../twilio/internal/ShortCodeApiMethod.java        |   5 +-
 .../twilio/internal/SigningKeyApiMethod.java       |   5 +-
 .../twilio/internal/SipCredentialApiMethod.java    |   5 +-
 .../internal/SipCredentialListApiMethod.java       |   5 +-
 .../twilio/internal/SipDomainApiMethod.java        |   5 +-
 .../SipDomainCredentialListMappingApiMethod.java   |   5 +-
 ...pDomainIpAccessControlListMappingApiMethod.java |   5 +-
 .../internal/SipIpAccessControlListApiMethod.java  |   5 +-
 .../SipIpAccessControlListIpAddressApiMethod.java  |   5 +-
 .../component/twilio/internal/TokenApiMethod.java  |   5 +-
 .../twilio/internal/TranscriptionApiMethod.java    |   5 +-
 .../component/twilio/internal/TwilioApiName.java   |   7 +-
 .../internal/UsageRecordAllTimeApiMethod.java      |   5 +-
 .../twilio/internal/UsageRecordApiMethod.java      |   5 +-
 .../twilio/internal/UsageRecordDailyApiMethod.java |   5 +-
 .../internal/UsageRecordLastMonthApiMethod.java    |   5 +-
 .../internal/UsageRecordMonthlyApiMethod.java      |   5 +-
 .../internal/UsageRecordThisMonthApiMethod.java    |   5 +-
 .../twilio/internal/UsageRecordTodayApiMethod.java |   5 +-
 .../internal/UsageRecordYearlyApiMethod.java       |   5 +-
 .../internal/UsageRecordYesterdayApiMethod.java    |   5 +-
 .../twilio/internal/UsageTriggerApiMethod.java     |   5 +-
 .../internal/ValidationRequestApiMethod.java       |   5 +-
 .../org/apache/camel/component/twilio/twilio.json  |   2 +-
 .../src/main/docs/twilio-component.adoc            |   2 +-
 .../zendesk/internal/ZendeskApiMethod.java         |   5 +-
 .../component/zendesk/internal/ZendeskApiName.java |   7 +-
 .../apache/camel/component/zendesk/zendesk.json    |   2 +-
 .../src/main/docs/zendesk-component.adoc           |   2 +-
 .../builder/endpoint/StaticEndpointBuilders.java   | 544 ++++++++++++---------
 .../endpoint/dsl/AS2EndpointBuilderFactory.java    |   4 +-
 .../endpoint/dsl/BoxEndpointBuilderFactory.java    |  12 +-
 .../dsl/BraintreeEndpointBuilderFactory.java       |  20 +-
 .../endpoint/dsl/FhirEndpointBuilderFactory.java   |  12 +-
 .../dsl/GoogleCalendarEndpointBuilderFactory.java  |   8 +-
 .../dsl/GoogleDriveEndpointBuilderFactory.java     |  16 +-
 .../dsl/GoogleMailEndpointBuilderFactory.java      |   8 +-
 .../dsl/GoogleSheetsEndpointBuilderFactory.java    |   4 +-
 .../dsl/Olingo2EndpointBuilderFactory.java         |   4 +-
 .../dsl/Olingo4EndpointBuilderFactory.java         |   4 +-
 .../endpoint/dsl/TwilioEndpointBuilderFactory.java |  84 ++--
 .../dsl/ZendeskEndpointBuilderFactory.java         | 404 ++++++++-------
 180 files changed, 791 insertions(+), 1120 deletions(-)

diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
index 67a2579..ca4540e 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ApiName.java
@@ -29,14 +29,9 @@ public enum AS2ApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static AS2ApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
index a652d7c..0d72df1 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ClientManagerApiMethod.java
@@ -52,12 +52,9 @@ public enum AS2ClientManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AS2ClientManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
index 5d0ad85..329c808 100644
--- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
+++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/internal/AS2ServerManagerApiMethod.java
@@ -37,12 +37,9 @@ public enum AS2ServerManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AS2ServerManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json b/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
index a4d6c8d..8405395 100644
--- a/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
+++ b/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
@@ -29,7 +29,7 @@
     "configuration": { "kind": "property", "displayName": "Configuration", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.as2.AS2Configuration", "deprecated": false, "secret": false, "description": "Component configuration" }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.as2.internal.AS2ApiName", "enum": [ "client", "server" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.as2.internal.AS2ApiName", "enum": [ "CLIENT", "SERVER" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "as2From": { "kind": "parameter", "displayName": "As2 From", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The value of the AS2From header of AS2 message." },
     "as2MessageStructure": { "kind": "parameter", "displayName": "As2 Message Structure", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.as2.api.AS2MessageStructure", "enum": [ "PLAIN", "SIGNED", "ENCRYPTED", "SIGNED_ENCRYPTED", "PLAIN_COMPRESSED", "SIGNED_COMPRESSED", "ENCRYPTED_COMPRESSED", "ENCRYPTED_COMPRESSED_SIGNED" ], "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configur [...]
diff --git a/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc b/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
index ec77dfb..0b2517b 100644
--- a/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
+++ b/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
@@ -79,7 +79,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 2 enums and the value can be one of: client, server |  | AS2ApiName
+| *apiName* | *Required* What kind of operation to perform. There are 2 enums and the value can be one of: CLIENT, SERVER |  | AS2ApiName
 | *methodName* | *Required* What sub operation to use for the selected operation |  | String
 |===
 
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
index 81d6638..b11ff90 100644
--- 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
@@ -45,14 +45,9 @@ public enum BoxApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static BoxApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 81d4488..50509b6 100644
--- 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
@@ -70,12 +70,9 @@ public enum BoxCollaborationsManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxCollaborationsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 3999817..f238810 100644
--- 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
@@ -64,12 +64,9 @@ public enum BoxCommentsManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxCommentsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 06b38da..1fa5114 100644
--- 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
@@ -39,12 +39,9 @@ public enum BoxEventLogsManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxEventLogsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 4dae3de..d9752e3 100644
--- 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
@@ -37,12 +37,9 @@ public enum BoxEventsManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxEventsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 63fb720..5242a45 100644
--- 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
@@ -182,12 +182,9 @@ public enum BoxFilesManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxFilesManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 78f4213..ea21cae 100644
--- 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
@@ -105,12 +105,9 @@ public enum BoxFoldersManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxFoldersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 90ce0eb..adfb970 100644
--- 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
@@ -89,12 +89,9 @@ public enum BoxGroupsManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxGroupsManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 0de837a..1014dba 100644
--- 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
@@ -37,12 +37,9 @@ public enum BoxSearchManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxSearchManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 47be20d..e5d7d59 100644
--- 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
@@ -81,12 +81,9 @@ public enum BoxTasksManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxTasksManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
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
index 0dc8f5f..1b46358 100644
--- 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
@@ -95,12 +95,9 @@ public enum BoxUsersManagerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static BoxUsersManagerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-box/camel-box-component/src/generated/resources/org/apache/camel/component/box/box.json b/components/camel-box/camel-box-component/src/generated/resources/org/apache/camel/component/box/box.json
index 9c52d35..dc5b4d9 100644
--- a/components/camel-box/camel-box-component/src/generated/resources/org/apache/camel/component/box/box.json
+++ b/components/camel-box/camel-box-component/src/generated/resources/org/apache/camel/component/box/box.json
@@ -44,7 +44,7 @@
     "userPassword": { "kind": "property", "displayName": "User Password", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", "description": "Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call" }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.box.internal.BoxApiName", "enum": [ "collaborations", "comments", "event-logs", "files", "folders", "groups", "events", "search", "tasks", "users" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", " [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.box.internal.BoxApiName", "enum": [ "COLLABORATIONS", "COMMENTS", "EVENT_LOGS", "FILES", "FOLDERS", "GROUPS", "EVENTS", "SEARCH", "TASKS", "USERS" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", " [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "clientId": { "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", "description": "Box application client ID" },
     "enterpriseId": { "kind": "parameter", "displayName": "Enterprise Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.box.BoxConfiguration", "configurationField": "configuration", "description": "The enterprise ID to use for an App Enterprise." },
diff --git a/components/camel-box/camel-box-component/src/main/docs/box-component.adoc b/components/camel-box/camel-box-component/src/main/docs/box-component.adoc
index 6d98206..8990f8b 100644
--- a/components/camel-box/camel-box-component/src/main/docs/box-component.adoc
+++ b/components/camel-box/camel-box-component/src/main/docs/box-component.adoc
@@ -100,7 +100,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 10 enums and the value can be one of: collaborations, comments, event-logs, files, folders, groups, events, search, tasks, users |  | BoxApiName
+| *apiName* | *Required* What kind of operation to perform. There are 10 enums and the value can be one of: COLLABORATIONS, COMMENTS, EVENT_LOGS, FILES, FOLDERS, GROUPS, EVENTS, SEARCH, TASKS, USERS |  | BoxApiName
 | *methodName* | *Required* What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
index 6120ee6..6b6e075 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddOnGatewayApiMethod.java
@@ -35,12 +35,9 @@ public enum AddOnGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AddOnGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
index 2a3ec96..6dd4db3 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/AddressGatewayApiMethod.java
@@ -56,12 +56,9 @@ public enum AddressGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AddressGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
index efc01a4..3e1d936 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
@@ -59,14 +59,9 @@ public enum BraintreeApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static BraintreeApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
index 503566d..90e72f8 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ClientTokenGatewayApiMethod.java
@@ -40,12 +40,9 @@ public enum ClientTokenGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ClientTokenGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
index 617ff14..a757ed1 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CreditCardVerificationGatewayApiMethod.java
@@ -46,12 +46,9 @@ public enum CreditCardVerificationGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CreditCardVerificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
index 798a0c2..33c1c83 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/CustomerGatewayApiMethod.java
@@ -67,12 +67,9 @@ public enum CustomerGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CustomerGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
index 05eab46..3e7c7d8 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DiscountGatewayApiMethod.java
@@ -35,12 +35,9 @@ public enum DiscountGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DiscountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
index 2220597..523ccaa 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DisputeGatewayApiMethod.java
@@ -81,12 +81,9 @@ public enum DisputeGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DisputeGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
index b20758c..19e5099 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/DocumentUploadGatewayApiMethod.java
@@ -36,12 +36,9 @@ public enum DocumentUploadGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DocumentUploadGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
index e61ba40..7322593 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/MerchantAccountGatewayApiMethod.java
@@ -61,12 +61,9 @@ public enum MerchantAccountGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static MerchantAccountGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
index 439c3f1..8bb26bf 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodGatewayApiMethod.java
@@ -74,12 +74,9 @@ public enum PaymentMethodGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static PaymentMethodGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
index a697989..8b39828 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PaymentMethodNonceGatewayApiMethod.java
@@ -46,12 +46,9 @@ public enum PaymentMethodNonceGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static PaymentMethodNonceGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
index d45ac5f..6f51f08 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/PlanGatewayApiMethod.java
@@ -35,12 +35,9 @@ public enum PlanGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static PlanGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
index 5eff300..feeee85 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/ReportGatewayApiMethod.java
@@ -36,12 +36,9 @@ public enum ReportGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ReportGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
index 5230365..3323fe8 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SettlementBatchSummaryGatewayApiMethod.java
@@ -42,12 +42,9 @@ public enum SettlementBatchSummaryGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SettlementBatchSummaryGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
index 437d079..f2e4266 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/SubscriptionGatewayApiMethod.java
@@ -87,12 +87,9 @@ public enum SubscriptionGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SubscriptionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
index 8973d22..186985a 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/TransactionGatewayApiMethod.java
@@ -129,12 +129,9 @@ public enum TransactionGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static TransactionGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
index b45a5b3..0ad7b30 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/WebhookNotificationGatewayApiMethod.java
@@ -42,12 +42,9 @@ public enum WebhookNotificationGatewayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static WebhookNotificationGatewayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
index 4ed8caf4..d6caef2 100644
--- a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
+++ b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
@@ -29,7 +29,7 @@
     "configuration": { "kind": "property", "displayName": "Configuration", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.braintree.BraintreeConfiguration", "deprecated": false, "secret": false, "description": "Component configuration" }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.braintree.internal.BraintreeApiName", "enum": [ "addOn", "address", "clientToken", "creditCardVerification", "customer", "discount", "dispute", "documentUpload", "merchantAccount", "paymentMethod", "paymentMethodNonce", "plan", "report", "settlementBatchSummary", "subscription", "transaction", "webhookNotification" ], "dep [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.braintree.internal.BraintreeApiName", "enum": [ "ADDON", "ADDRESS", "CLIENTTOKEN", "CREDITCARDVERIFICATION", "CUSTOMER", "DISCOUNT", "DISPUTE", "DOCUMENTUPLOAD", "MERCHANTACCOUNT", "PAYMENTMETHOD", "PAYMENTMETHODNONCE", "PLAN", "REPORT", "SETTLEMENTBATCHSUMMARY", "SUBSCRIPTION", "TRANSACTION", "WEBHOOKNOTIFICATION" ], "dep [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.braintree.BraintreeConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "environment": { "kind": "parameter", "displayName": "Environment", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.braintree.BraintreeConfiguration", "configurationField": "configuration", "description": "The environment Either SANDBOX or PRODUCTION" },
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" },
diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc
index 39bfa9a..0820b52 100644
--- a/components/camel-braintree/src/main/docs/braintree-component.adoc
+++ b/components/camel-braintree/src/main/docs/braintree-component.adoc
@@ -77,7 +77,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 17 enums and the value can be one of: addOn, address, clientToken, creditCardVerification, customer, discount, dispute, documentUpload, merchantAccount, paymentMethod, paymentMethodNonce, plan, report, settlementBatchSummary, subscription, transaction, webhookNotification |  | BraintreeApiName
+| *apiName* | *Required* What kind of operation to perform. There are 17 enums and the value can be one of: ADDON, ADDRESS, CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE, DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION, WEBHOOKNOTIFICATION |  | BraintreeApiName
 | *methodName* | What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
index f7cf8ec..911a31c 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirApiName.java
@@ -51,14 +51,9 @@ public enum FhirApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static FhirApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
index f8e977b..b1fef55 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java
@@ -37,12 +37,9 @@ public enum FhirCapabilitiesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirCapabilitiesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
index ac40d9c..17da743 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCreateApiMethod.java
@@ -47,12 +47,9 @@ public enum FhirCreateApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirCreateApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
index 5c38bd3..f6f1a9f 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirDeleteApiMethod.java
@@ -56,12 +56,9 @@ public enum FhirDeleteApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirDeleteApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
index a769e5c..4a0e619 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java
@@ -60,12 +60,9 @@ public enum FhirHistoryApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
index 42c206e..b467189 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java
@@ -50,12 +50,9 @@ public enum FhirLoadPageApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirLoadPageApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
index 66958b6..d22f183 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java
@@ -65,12 +65,9 @@ public enum FhirMetaApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirMetaApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
index 32ce128..ce8df4d 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java
@@ -83,12 +83,9 @@ public enum FhirOperationApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirOperationApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
index 5db2afb..0656b92 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirPatchApiMethod.java
@@ -55,12 +55,9 @@ public enum FhirPatchApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirPatchApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
index 0d06f54..3f03958 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirReadApiMethod.java
@@ -143,12 +143,9 @@ public enum FhirReadApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirReadApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
index 38a5f8c4..21f584b 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirSearchApiMethod.java
@@ -37,12 +37,9 @@ public enum FhirSearchApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirSearchApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
index 811709c..b5110cf 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirTransactionApiMethod.java
@@ -49,12 +49,9 @@ public enum FhirTransactionApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirTransactionApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
index 9971f12..d291ed7 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirUpdateApiMethod.java
@@ -79,12 +79,9 @@ public enum FhirUpdateApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirUpdateApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
index 3aefcf6..1332b6d 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirValidateApiMethod.java
@@ -43,12 +43,9 @@ public enum FhirValidateApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static FhirValidateApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
index 6117cfc..0f5fb82 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
+++ b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
@@ -52,7 +52,7 @@
     "username": { "kind": "property", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "configurationField": "configuration", "description": "Username to use for basic authentication" }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.fhir.internal.FhirApiName", "enum": [ "capabilities", "create", "delete", "history", "load-page", "meta", "operation", "patch", "read", "search", "transaction", "update", "validate" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "co [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.fhir.internal.FhirApiName", "enum": [ "CAPABILITIES", "CREATE", "DELETE", "HISTORY", "LOAD_PAGE", "META", "OPERATION", "PATCH", "READ", "SEARCH", "TRANSACTION", "UPDATE", "VALIDATE" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "co [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "encoding": { "kind": "parameter", "displayName": "Encoding", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "JSON", "XML" ], "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "configurationField": "configuration", "description": "Encoding to use for all request" },
     "fhirVersion": { "kind": "parameter", "displayName": "Fhir Version", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false, "secret": false, "defaultValue": "R4", "configurationClass": "org.apache.camel.component.fhir.FhirConfiguration", "configurationField": "configuration", "description": "The FHIR Version to use" },
diff --git a/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc b/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
index 8b3c42e..d13a092 100644
--- a/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
+++ b/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
@@ -108,7 +108,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 13 enums and the value can be one of: capabilities, create, delete, history, load-page, meta, operation, patch, read, search, transaction, update, validate |  | FhirApiName
+| *apiName* | *Required* What kind of operation to perform. There are 13 enums and the value can be one of: CAPABILITIES, CREATE, DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH, TRANSACTION, UPDATE, VALIDATE |  | FhirApiName
 | *methodName* | *Required* What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
index 5717bc2..ebf387c 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarAclApiMethod.java
@@ -74,12 +74,9 @@ public enum CalendarAclApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarAclApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
index 9922ca8..5bc428e 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarListApiMethod.java
@@ -67,12 +67,9 @@ public enum CalendarCalendarListApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarCalendarListApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
index 544f548..41278e8 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarCalendarsApiMethod.java
@@ -63,12 +63,9 @@ public enum CalendarCalendarsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarCalendarsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
index 5d634a2..5f27dc06 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarChannelsApiMethod.java
@@ -36,12 +36,9 @@ public enum CalendarChannelsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
index 5b6eefd..05a7117 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarColorsApiMethod.java
@@ -35,12 +35,9 @@ public enum CalendarColorsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarColorsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
index d51cbc2..4fc1c63 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarEventsApiMethod.java
@@ -99,12 +99,9 @@ public enum CalendarEventsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarEventsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
index 5c5f215..13374d1 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarFreebusyApiMethod.java
@@ -36,12 +36,9 @@ public enum CalendarFreebusyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarFreebusyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
index e0b7cb7..2e01df9 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/CalendarSettingsApiMethod.java
@@ -45,12 +45,9 @@ public enum CalendarSettingsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CalendarSettingsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
index bae06ca..2abc68e 100644
--- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
+++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/internal/GoogleCalendarApiName.java
@@ -41,14 +41,9 @@ public enum GoogleCalendarApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static GoogleCalendarApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
index 8b27a05..2698775 100644
--- a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
+++ b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
@@ -39,7 +39,7 @@
     "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one  [...]
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.calendar.internal.GoogleCalendarApiName", "enum": [ "acl", "list", "calendars", "channels", "colors", "freebusy", "events", "settings" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField":  [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.calendar.internal.GoogleCalendarApiName", "enum": [ "ACL", "LIST", "CALENDARS", "CHANNELS", "COLORS", "FREEBUSY", "EVENTS", "SETTINGS" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField":  [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "calendarImport", "clear", "delete", "get", "insert", "instances", "list", "move", "patch", "query", "quickAdd", "stop", "update", "watch" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationFie [...]
     "applicationName": { "kind": "parameter", "displayName": "Application Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Google calendar application name. Example would be camel-google-calendar\/1.0" },
     "clientId": { "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "configurationField": "configuration", "description": "Client ID of the calendar application" },
diff --git a/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc b/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
index d97d730..21f2916 100644
--- a/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
+++ b/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
@@ -93,7 +93,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 8 enums and the value can be one of: acl, list, calendars, channels, colors, freebusy, events, settings |  | GoogleCalendarApiName
+| *apiName* | *Required* What kind of operation to perform. There are 8 enums and the value can be one of: ACL, LIST, CALENDARS, CHANNELS, COLORS, FREEBUSY, EVENTS, SETTINGS |  | GoogleCalendarApiName
 | *methodName* | *Required* What sub operation to use for the selected operation. There are 14 enums and the value can be one of: calendarImport, clear, delete, get, insert, instances, list, move, patch, query, quickAdd, stop, update, watch |  | String
 |===
 
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
index fc60bd8..42e278c 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAboutApiMethod.java
@@ -35,12 +35,9 @@ public enum DriveAboutApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveAboutApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
index 70d67f7..db66086 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveAppsApiMethod.java
@@ -40,12 +40,9 @@ public enum DriveAppsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveAppsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
index 008710b..9b4fd90 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChangesApiMethod.java
@@ -49,12 +49,9 @@ public enum DriveChangesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveChangesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
index eb64e69..d5f66ff 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChannelsApiMethod.java
@@ -36,12 +36,9 @@ public enum DriveChannelsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveChannelsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
index a74733c..0714891 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveChildrenApiMethod.java
@@ -54,12 +54,9 @@ public enum DriveChildrenApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveChildrenApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
index 5d165d3..f21216b 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveCommentsApiMethod.java
@@ -68,12 +68,9 @@ public enum DriveCommentsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveCommentsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
index 5041a2a..b10525a 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveFilesApiMethod.java
@@ -116,12 +116,9 @@ public enum DriveFilesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveFilesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
index 8257209..d026b82 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveParentsApiMethod.java
@@ -54,12 +54,9 @@ public enum DriveParentsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveParentsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
index da07250..d376e02 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePermissionsApiMethod.java
@@ -73,12 +73,9 @@ public enum DrivePermissionsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DrivePermissionsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
index 6021afa..b612c9b 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DrivePropertiesApiMethod.java
@@ -68,12 +68,9 @@ public enum DrivePropertiesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DrivePropertiesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
index 42b2d77..738a214 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRealtimeApiMethod.java
@@ -47,12 +47,9 @@ public enum DriveRealtimeApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveRealtimeApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
index 2abf7c2..06d495c 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRepliesApiMethod.java
@@ -74,12 +74,9 @@ public enum DriveRepliesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveRepliesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
index 499011a..d3f668e 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/DriveRevisionsApiMethod.java
@@ -62,12 +62,9 @@ public enum DriveRevisionsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static DriveRevisionsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
index b14bd68..1c5b5fa 100644
--- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
+++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/internal/GoogleDriveApiName.java
@@ -51,14 +51,9 @@ public enum GoogleDriveApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static GoogleDriveApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json b/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
index 5372274..42e62dc 100644
--- a/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
+++ b/components/camel-google-drive/src/generated/resources/org/apache/camel/component/google/drive/google-drive.json
@@ -36,7 +36,7 @@
     "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.google.drive.GoogleDriveConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expire [...]
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.drive.internal.GoogleDriveApiName", "enum": [ "drive-about", "drive-apps", "drive-changes", "drive-channels", "drive-children", "drive-comments", "drive-files", "drive-parents", "drive-permissions", "drive-properties", "drive-realtime", "drive-replies", "drive-revisions" ], "deprecated": false, "deprecationNote": "" [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.drive.internal.GoogleDriveApiName", "enum": [ "DRIVE_ABOUT", "DRIVE_APPS", "DRIVE_CHANGES", "DRIVE_CHANNELS", "DRIVE_CHILDREN", "DRIVE_COMMENTS", "DRIVE_FILES", "DRIVE_PARENTS", "DRIVE_PERMISSIONS", "DRIVE_PROPERTIES", "DRIVE_REALTIME", "DRIVE_REPLIES", "DRIVE_REVISIONS" ], "deprecated": false, "deprecationNote": "" [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "copy", "delete", "get", "getIdForEmail", "insert", "list", "patch", "stop", "touch", "trash", "untrash", "update", "watch" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.drive.GoogleDriveConfiguration", "configurationField": "configuration", [...]
     "applicationName": { "kind": "parameter", "displayName": "Application Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.drive.GoogleDriveConfiguration", "configurationField": "configuration", "description": "Google drive application name. Example would be camel-google-drive\/1.0" },
     "clientFactory": { "kind": "parameter", "displayName": "Client Factory", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.google.drive.GoogleDriveClientFactory", "deprecated": false, "secret": false, "description": "To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleDriveClientFactory" },
diff --git a/components/camel-google-drive/src/main/docs/google-drive-component.adoc b/components/camel-google-drive/src/main/docs/google-drive-component.adoc
index cf7331b..7b71711 100644
--- a/components/camel-google-drive/src/main/docs/google-drive-component.adoc
+++ b/components/camel-google-drive/src/main/docs/google-drive-component.adoc
@@ -117,7 +117,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 13 enums and the value can be one of: drive-about, drive-apps, drive-changes, drive-channels, drive-children, drive-comments, drive-files, drive-parents, drive-permissions, drive-properties, drive-realtime, drive-replies, drive-revisions |  | GoogleDriveApiName
+| *apiName* | *Required* What kind of operation to perform. There are 13 enums and the value can be one of: DRIVE_ABOUT, DRIVE_APPS, DRIVE_CHANGES, DRIVE_CHANNELS, DRIVE_CHILDREN, DRIVE_COMMENTS, DRIVE_FILES, DRIVE_PARENTS, DRIVE_PERMISSIONS, DRIVE_PROPERTIES, DRIVE_REALTIME, DRIVE_REPLIES, DRIVE_REVISIONS |  | GoogleDriveApiName
 | *methodName* | *Required* What sub operation to use for the selected operation. There are 13 enums and the value can be one of: copy, delete, get, getIdForEmail, insert, list, patch, stop, touch, trash, untrash, update, watch |  | String
 |===
 
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
index 05002b8..30e24bd 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersApiMethod.java
@@ -47,12 +47,9 @@ public enum GmailUsersApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
index 6747a0b..95f0e85 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersDraftsApiMethod.java
@@ -89,12 +89,9 @@ public enum GmailUsersDraftsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersDraftsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
index e41e224..2b377f8 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersHistoryApiMethod.java
@@ -36,12 +36,9 @@ public enum GmailUsersHistoryApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersHistoryApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
index 7485549..c1db7f5 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersLabelsApiMethod.java
@@ -68,12 +68,9 @@ public enum GmailUsersLabelsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersLabelsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
index 6edcaef..92be509 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesApiMethod.java
@@ -122,12 +122,9 @@ public enum GmailUsersMessagesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersMessagesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
index 7c6c1e0..25b9803 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersMessagesAttachmentsApiMethod.java
@@ -38,12 +38,9 @@ public enum GmailUsersMessagesAttachmentsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersMessagesAttachmentsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
index ee9ab0b..3150992 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GmailUsersThreadsApiMethod.java
@@ -67,12 +67,9 @@ public enum GmailUsersThreadsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static GmailUsersThreadsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
index 1709d7e..fc52cb5 100644
--- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
+++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/internal/GoogleMailApiName.java
@@ -39,14 +39,9 @@ public enum GoogleMailApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static GoogleMailApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
index 895b5d5..1e07acb 100644
--- a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
+++ b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
@@ -35,7 +35,7 @@
     "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires  [...]
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.mail.internal.GoogleMailApiName", "enum": [ "threads", "messages", "attachments", "labels", "history", "drafts", "users" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "desc [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.mail.internal.GoogleMailApiName", "enum": [ "THREADS", "MESSAGES", "ATTACHMENTS", "LABELS", "HISTORY", "DRAFTS", "USERS" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "desc [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "attachments", "create", "delete", "get", "getProfile", "gmailImport", "insert", "list", "modify", "patch", "send", "stop", "trash", "untrash", "update", "watch" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "c [...]
     "applicationName": { "kind": "parameter", "displayName": "Application Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "description": "Google mail application name. Example would be camel-google-mail\/1.0" },
     "clientId": { "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.mail.GoogleMailConfiguration", "configurationField": "configuration", "description": "Client ID of the mail application" },
diff --git a/components/camel-google-mail/src/main/docs/google-mail-component.adoc b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
index 2aa9562..bf531187 100644
--- a/components/camel-google-mail/src/main/docs/google-mail-component.adoc
+++ b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
@@ -107,7 +107,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 7 enums and the value can be one of: threads, messages, attachments, labels, history, drafts, users |  | GoogleMailApiName
+| *apiName* | *Required* What kind of operation to perform. There are 7 enums and the value can be one of: THREADS, MESSAGES, ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS |  | GoogleMailApiName
 | *methodName* | *Required* What sub operation to use for the selected operation. There are 16 enums and the value can be one of: attachments, create, delete, get, getProfile, gmailImport, insert, list, modify, patch, send, stop, trash, untrash, update, watch |  | String
 |===
 
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
index 3812bb1..0b4520b 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/GoogleSheetsApiName.java
@@ -29,14 +29,9 @@ public enum GoogleSheetsApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static GoogleSheetsApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
index f59c158..840c4fd 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsApiMethod.java
@@ -65,12 +65,9 @@ public enum SheetsSpreadsheetsApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SheetsSpreadsheetsApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
index 4f46d1d..a667e48 100644
--- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
+++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/internal/SheetsSpreadsheetsValuesApiMethod.java
@@ -93,12 +93,9 @@ public enum SheetsSpreadsheetsValuesApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SheetsSpreadsheetsValuesApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/google-sheets.json b/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/google-sheets.json
index f5d32eb..571586e 100644
--- a/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/google-sheets.json
+++ b/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/google-sheets.json
@@ -36,7 +36,7 @@
     "refreshToken": { "kind": "property", "displayName": "Refresh Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "OAuth 2 refresh token. Using this, the Google Sheets component can obtain a new accessToken whenever the current one expire [...]
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.sheets.internal.GoogleSheetsApiName", "enum": [ "spreadsheets", "data" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "What kind of operation to perform" },
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.google.sheets.internal.GoogleSheetsApiName", "enum": [ "SPREADSHEETS", "DATA" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "What kind of operation to perform" },
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "create", "get", "update", "append", "batchUpdate", "clear" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected op [...]
     "applicationName": { "kind": "parameter", "displayName": "Application Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "Google Sheets application name. Example would be camel-google-sheets\/1.0" },
     "clientId": { "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.google.sheets.GoogleSheetsConfiguration", "configurationField": "configuration", "description": "Client ID of the sheets application" },
diff --git a/components/camel-google-sheets/src/main/docs/google-sheets-component.adoc b/components/camel-google-sheets/src/main/docs/google-sheets-component.adoc
index 80102fb..29d3f58 100644
--- a/components/camel-google-sheets/src/main/docs/google-sheets-component.adoc
+++ b/components/camel-google-sheets/src/main/docs/google-sheets-component.adoc
@@ -103,7 +103,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 2 enums and the value can be one of: spreadsheets, data |  | GoogleSheetsApiName
+| *apiName* | *Required* What kind of operation to perform. There are 2 enums and the value can be one of: SPREADSHEETS, DATA |  | GoogleSheetsApiName
 | *methodName* | *Required* What sub operation to use for the selected operation. There are 6 enums and the value can be one of: create, get, update, append, batchUpdate, clear |  | String
 |===
 
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
index 04f87a4..88ca723 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2ApiName.java
@@ -27,14 +27,9 @@ public enum Olingo2ApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static Olingo2ApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
index f683fcb..3b72a71 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/internal/Olingo2AppApiMethod.java
@@ -100,12 +100,9 @@ public enum Olingo2AppApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static Olingo2AppApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/resources/org/apache/camel/component/olingo2/olingo2.json b/components/camel-olingo2/camel-olingo2-component/src/generated/resources/org/apache/camel/component/olingo2/olingo2.json
index bffd8ff..a43d686 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/generated/resources/org/apache/camel/component/olingo2/olingo2.json
+++ b/components/camel-olingo2/camel-olingo2-component/src/generated/resources/org/apache/camel/component/olingo2/olingo2.json
@@ -43,7 +43,7 @@
     "useGlobalSslContextParameters": { "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Enable usage of global SSL context parameters." }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.olingo2.internal.Olingo2ApiName", "enum": [ "" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.olingo2.internal.Olingo2ApiName", "enum": [ "DEFAULT" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "connectTimeout": { "kind": "parameter", "displayName": "Connect Timeout", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "30000", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds)" },
     "contentType": { "kind": "parameter", "displayName": "Content Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "application\/json;charset=utf-8", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Content-Type header value can be used to specify JSON or XML message format, defaults to appl [...]
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/docs/olingo2-component.adoc b/components/camel-olingo2/camel-olingo2-component/src/main/docs/olingo2-component.adoc
index 80b52b7..188a97d 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/main/docs/olingo2-component.adoc
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/docs/olingo2-component.adoc
@@ -100,7 +100,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 1 enums and the value can be one of:  |  | Olingo2ApiName
+| *apiName* | *Required* What kind of operation to perform. There are 1 enums and the value can be one of: DEFAULT |  | Olingo2ApiName
 | *methodName* | *Required* What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
index a958743..6fe390d 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4ApiName.java
@@ -27,14 +27,9 @@ public enum Olingo4ApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static Olingo4ApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
index baf43e0..0230496 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/internal/Olingo4AppApiMethod.java
@@ -109,12 +109,9 @@ public enum Olingo4AppApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static Olingo4AppApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/resources/org/apache/camel/component/olingo4/olingo4.json b/components/camel-olingo4/camel-olingo4-component/src/generated/resources/org/apache/camel/component/olingo4/olingo4.json
index 9346ebf..585bd7a 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/generated/resources/org/apache/camel/component/olingo4/olingo4.json
+++ b/components/camel-olingo4/camel-olingo4-component/src/generated/resources/org/apache/camel/component/olingo4/olingo4.json
@@ -41,7 +41,7 @@
     "useGlobalSslContextParameters": { "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Enable usage of global SSL context parameters." }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.olingo4.internal.Olingo4ApiName", "enum": [ "" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.olingo4.internal.Olingo4ApiName", "enum": [ "DEFAULT" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "What kind of operation to perform" },
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "connectTimeout": { "kind": "parameter", "displayName": "Connect Timeout", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "30000", "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds)" },
     "contentType": { "kind": "parameter", "displayName": "Content Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "application\/json;charset=utf-8", "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "Content-Type header value can be used to specify JSON or XML message format, defaults to appl [...]
diff --git a/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc b/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
index c5958e0..c2d0e36 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
+++ b/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc
@@ -99,7 +99,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 1 enums and the value can be one of:  |  | Olingo4ApiName
+| *apiName* | *Required* What kind of operation to perform. There are 1 enums and the value can be one of: DEFAULT |  | Olingo4ApiName
 | *methodName* | *Required* What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
index f5ea08b..d64094e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AccountApiMethod.java
@@ -57,12 +57,9 @@ public enum AccountApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AccountApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
index b4657f5..a505f8a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressApiMethod.java
@@ -94,12 +94,9 @@ public enum AddressApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AddressApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
index abf2d68..9dc9ea9 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AddressDependentPhoneNumberApiMethod.java
@@ -42,12 +42,9 @@ public enum AddressDependentPhoneNumberApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AddressDependentPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
index 86469bb..0ac1a10 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ApplicationApiMethod.java
@@ -82,12 +82,9 @@ public enum ApplicationApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ApplicationApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
index 7d52baf..b1256fb 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryApiMethod.java
@@ -51,12 +51,9 @@ public enum AvailablePhoneNumberCountryApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AvailablePhoneNumberCountryApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
index 18edc0b..3354cc5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryLocalApiMethod.java
@@ -42,12 +42,9 @@ public enum AvailablePhoneNumberCountryLocalApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AvailablePhoneNumberCountryLocalApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
index 36cc5ce..79e9b79 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryMobileApiMethod.java
@@ -42,12 +42,9 @@ public enum AvailablePhoneNumberCountryMobileApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AvailablePhoneNumberCountryMobileApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
index 31f478f..9e60a35 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/AvailablePhoneNumberCountryTollFreeApiMethod.java
@@ -42,12 +42,9 @@ public enum AvailablePhoneNumberCountryTollFreeApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static AvailablePhoneNumberCountryTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
index 956c4c4..6f5ad80 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallApiMethod.java
@@ -118,12 +118,9 @@ public enum CallApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CallApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
index 57206e0..562ff53 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackApiMethod.java
@@ -68,12 +68,9 @@ public enum CallFeedbackApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CallFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
index ca0594c..07a3d6b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallFeedbackSummaryApiMethod.java
@@ -66,12 +66,9 @@ public enum CallFeedbackSummaryApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CallFeedbackSummaryApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
index fc8cace..ffba871 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallNotificationApiMethod.java
@@ -55,12 +55,9 @@ public enum CallNotificationApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CallNotificationApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
index 866a7fc..8e08835 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/CallRecordingApiMethod.java
@@ -94,12 +94,9 @@ public enum CallRecordingApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static CallRecordingApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
index 6dd05ba..a19888a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceApiMethod.java
@@ -62,12 +62,9 @@ public enum ConferenceApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ConferenceApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
index 8143df5..4fd0786 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConferenceParticipantApiMethod.java
@@ -96,12 +96,9 @@ public enum ConferenceParticipantApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ConferenceParticipantApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
index 6bddd3e..87df131 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ConnectAppApiMethod.java
@@ -73,12 +73,9 @@ public enum ConnectAppApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ConnectAppApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
index 965f062..05dfe7a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberApiMethod.java
@@ -95,12 +95,9 @@ public enum IncomingPhoneNumberApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static IncomingPhoneNumberApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
index 735543c..b734ac0 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberLocalApiMethod.java
@@ -51,12 +51,9 @@ public enum IncomingPhoneNumberLocalApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static IncomingPhoneNumberLocalApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
index b6615c1..2a8f22e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberMobileApiMethod.java
@@ -51,12 +51,9 @@ public enum IncomingPhoneNumberMobileApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static IncomingPhoneNumberMobileApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
index 7edec17..ae59382 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/IncomingPhoneNumberTollFreeApiMethod.java
@@ -51,12 +51,9 @@ public enum IncomingPhoneNumberTollFreeApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static IncomingPhoneNumberTollFreeApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
index 12ad0d1..4609ee8 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/KeyApiMethod.java
@@ -73,12 +73,9 @@ public enum KeyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static KeyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
index 4e26b4f..e4b0c52 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageApiMethod.java
@@ -135,12 +135,9 @@ public enum MessageApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static MessageApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
index a2c76ee..b2d5ed1a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageFeedbackApiMethod.java
@@ -42,12 +42,9 @@ public enum MessageFeedbackApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static MessageFeedbackApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
index d97c962d..91b6ade 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/MessageMediaApiMethod.java
@@ -68,12 +68,9 @@ public enum MessageMediaApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static MessageMediaApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
index 3d4648d..e3ea90a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewKeyApiMethod.java
@@ -40,12 +40,9 @@ public enum NewKeyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static NewKeyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
index a94e545..00c95ba 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NewSigningKeyApiMethod.java
@@ -40,12 +40,9 @@ public enum NewSigningKeyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static NewSigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
index ec0e3e1..378474e 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/NotificationApiMethod.java
@@ -51,12 +51,9 @@ public enum NotificationApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static NotificationApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
index 3bd7004..7c60f40 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/OutgoingCallerIdApiMethod.java
@@ -73,12 +73,9 @@ public enum OutgoingCallerIdApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static OutgoingCallerIdApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
index c08fd42..abed1f2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueApiMethod.java
@@ -84,12 +84,9 @@ public enum QueueApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static QueueApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
index 7eef7a1..faac679 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/QueueMemberApiMethod.java
@@ -70,12 +70,9 @@ public enum QueueMemberApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static QueueMemberApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
index 00246da..105c548 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultApiMethod.java
@@ -68,12 +68,9 @@ public enum RecordingAddOnResultApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static RecordingAddOnResultApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
index 0713a5a..fcbc749 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingAddOnResultPayloadApiMethod.java
@@ -74,12 +74,9 @@ public enum RecordingAddOnResultPayloadApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static RecordingAddOnResultPayloadApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
index 429afe1..56a314b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingApiMethod.java
@@ -62,12 +62,9 @@ public enum RecordingApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static RecordingApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
index b08a4ca..a0326a1 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/RecordingTranscriptionApiMethod.java
@@ -68,12 +68,9 @@ public enum RecordingTranscriptionApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static RecordingTranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
index d5c9efc..3c9b4a6 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ShortCodeApiMethod.java
@@ -62,12 +62,9 @@ public enum ShortCodeApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ShortCodeApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
index d17777d..ad1edd7 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SigningKeyApiMethod.java
@@ -73,12 +73,9 @@ public enum SigningKeyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SigningKeyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
index 91f44e8..b728c8b 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialApiMethod.java
@@ -96,12 +96,9 @@ public enum SipCredentialApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipCredentialApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
index 6ff4b15..6dc1367 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipCredentialListApiMethod.java
@@ -86,12 +86,9 @@ public enum SipCredentialListApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipCredentialListApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
index eb97cf8..cffc051 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainApiMethod.java
@@ -84,12 +84,9 @@ public enum SipDomainApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipDomainApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
index 6d5770c..dc3e148 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainCredentialListMappingApiMethod.java
@@ -81,12 +81,9 @@ public enum SipDomainCredentialListMappingApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipDomainCredentialListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
index 24aecbf..5dc2249 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipDomainIpAccessControlListMappingApiMethod.java
@@ -81,12 +81,9 @@ public enum SipDomainIpAccessControlListMappingApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipDomainIpAccessControlListMappingApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
index d8177e525..2683e99 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListApiMethod.java
@@ -86,12 +86,9 @@ public enum SipIpAccessControlListApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipIpAccessControlListApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
index f0fea2c..4a7dec2 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/SipIpAccessControlListIpAddressApiMethod.java
@@ -96,12 +96,9 @@ public enum SipIpAccessControlListIpAddressApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static SipIpAccessControlListIpAddressApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
index 274fbb6..d6bfe44 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TokenApiMethod.java
@@ -40,12 +40,9 @@ public enum TokenApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static TokenApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
index 682d8b0..b812100 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TranscriptionApiMethod.java
@@ -62,12 +62,9 @@ public enum TranscriptionApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static TranscriptionApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
index 0e00187..256ae18 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/TwilioApiName.java
@@ -137,14 +137,9 @@ public enum TwilioApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static TwilioApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
index 8934fec..3e9ae6a 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordAllTimeApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordAllTimeApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordAllTimeApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
index 4f5d0ba..dfcf798 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
index 933459c..c1f8515 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordDailyApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordDailyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordDailyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
index 8e73dc1..2c5ef33 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordLastMonthApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordLastMonthApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordLastMonthApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
index d360564..37bc30d 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordMonthlyApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordMonthlyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordMonthlyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
index b641526..984d566 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordThisMonthApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordThisMonthApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordThisMonthApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
index c621172..65980a1 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordTodayApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordTodayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordTodayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
index 2fdb1e1..de02600 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYearlyApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordYearlyApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordYearlyApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
index 36ac740..cb2ee98 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageRecordYesterdayApiMethod.java
@@ -40,12 +40,9 @@ public enum UsageRecordYesterdayApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageRecordYesterdayApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
index 1d11a53..6af7de5 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
@@ -88,12 +88,9 @@ public enum UsageTriggerApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static UsageTriggerApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
index c5c61c9..971ed38 100644
--- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
+++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/ValidationRequestApiMethod.java
@@ -42,12 +42,9 @@ public enum ValidationRequestApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ValidationRequestApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-twilio/src/generated/resources/org/apache/camel/component/twilio/twilio.json b/components/camel-twilio/src/generated/resources/org/apache/camel/component/twilio/twilio.json
index 9d13594..39e3234 100644
--- a/components/camel-twilio/src/generated/resources/org/apache/camel/component/twilio/twilio.json
+++ b/components/camel-twilio/src/generated/resources/org/apache/camel/component/twilio/twilio.json
@@ -33,7 +33,7 @@
     "username": { "kind": "property", "displayName": "Username", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "description": "The account to use." }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.twilio.internal.TwilioApiName", "enum": [ "account", "address", "application", "available-phone-number-country", "call", "conference", "connect-app", "incoming-phone-number", "key", "message", "new-key", "new-signing-key", "notification", "outgoing-caller-id", "queue", "recording", "short-code", "signing-key", "token", "tr [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.twilio.internal.TwilioApiName", "enum": [ "ACCOUNT", "ADDRESS", "APPLICATION", "AVAILABLE_PHONE_NUMBER_COUNTRY", "CALL", "CONFERENCE", "CONNECT_APP", "INCOMING_PHONE_NUMBER", "KEY", "MESSAGE", "NEW_KEY", "NEW_SIGNING_KEY", "NOTIFICATION", "OUTGOING_CALLER_ID", "QUEUE", "RECORDING", "SHORT_CODE", "SIGNING_KEY", "TOKEN", "TR [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "create", "delete", "fetch", "read", "update" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.twilio.TwilioConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled b [...]
diff --git a/components/camel-twilio/src/main/docs/twilio-component.adoc b/components/camel-twilio/src/main/docs/twilio-component.adoc
index 9b0ac96..6635c4f 100644
--- a/components/camel-twilio/src/main/docs/twilio-component.adoc
+++ b/components/camel-twilio/src/main/docs/twilio-component.adoc
@@ -63,7 +63,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 56 enums and the value can be one of: account, address, application, available-phone-number-country, call, conference, connect-app, incoming-phone-number, key, message, new-key, new-signing-key, notification, outgoing-caller-id, queue, recording, short-code, signing-key, token, transcription, validation-request, address-dependent-phone-number, available-phone-number-country-local, available-phone-number-country-mobile, [...]
+| *apiName* | *Required* What kind of operation to perform. There are 56 enums and the value can be one of: ACCOUNT, ADDRESS, APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE, CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY, NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING, SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST, ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL, AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE, [...]
 | *methodName* | *Required* What sub operation to use for the selected operation. There are 5 enums and the value can be one of: create, delete, fetch, read, update |  | String
 |===
 
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
index 37dbe8e..af52a1a 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java
@@ -1810,12 +1810,9 @@ public enum ZendeskApiMethod implements ApiMethod {
     @Override
     public String getName() { return apiMethod.getName(); }
 
-    @Override
-    public String toString() { return apiMethod.getName(); }
-
     public static ZendeskApiMethod fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].getName().equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
index 12db9f9..6b61870 100644
--- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
+++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiName.java
@@ -27,14 +27,9 @@ public enum ZendeskApiName implements ApiName {
         return name;
     }
 
-    @Override
-    public String toString() {
-        return name;
-    }
-
     public static ZendeskApiName fromValue(String value) throws IllegalArgumentException {
         for (int i = 0; i < CACHED_ENUM_VALUES.length; i++) {
-            if (CACHED_ENUM_VALUES[i].name.equalsIgnoreCase(value)) {
+            if (CACHED_ENUM_VALUES[i].toString().equalsIgnoreCase(value)) {
                 return CACHED_ENUM_VALUES[i];
             }
         }
diff --git a/components/camel-zendesk/src/generated/resources/org/apache/camel/component/zendesk/zendesk.json b/components/camel-zendesk/src/generated/resources/org/apache/camel/component/zendesk/zendesk.json
index bd71381..ea06d23 100644
--- a/components/camel-zendesk/src/generated/resources/org/apache/camel/component/zendesk/zendesk.json
+++ b/components/camel-zendesk/src/generated/resources/org/apache/camel/component/zendesk/zendesk.json
@@ -35,7 +35,7 @@
     "username": { "kind": "property", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "description": "The user name." }
   },
   "properties": {
-    "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "addTagToOrganisations", "addTagToTicket", "addTagToTopics", "associateAttachmentsToArticle", "changeUserPassword", "createArticle", "createArticleTranslation", "createAutomation", "createCategory", "createCategoryTranslation", "createComment", "createDynamicContentItem", [...]
+    "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "ADDTAGTOORGANISATIONS", "ADDTAGTOTICKET", "ADDTAGTOTOPICS", "ASSOCIATEATTACHMENTSTOARTICLE", "CHANGEUSERPASSWORD", "CREATEARTICLE", "CREATEARTICLE_1", "CREATEARTICLETRANSLATION", "CREATEAUTOMATION", "CREATECATEGORY", "CREATECATEGORYTRANSLATION", "CREATECOMMENT", "CREATED [...]
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" },
     "serverUrl": { "kind": "parameter", "displayName": "Server Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.zendesk.ZendeskConfiguration", "configurationField": "configuration", "description": "The server URL to connect." },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled b [...]
diff --git a/components/camel-zendesk/src/main/docs/zendesk-component.adoc b/components/camel-zendesk/src/main/docs/zendesk-component.adoc
index ffb4d58..5a07ff9 100644
--- a/components/camel-zendesk/src/main/docs/zendesk-component.adoc
+++ b/components/camel-zendesk/src/main/docs/zendesk-component.adoc
@@ -65,7 +65,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *methodName* | *Required* What operation to use. There are 253 enums and the value can be one of: addTagToOrganisations, addTagToTicket, addTagToTopics, associateAttachmentsToArticle, changeUserPassword, createArticle, createArticleTranslation, createAutomation, createCategory, createCategoryTranslation, createComment, createDynamicContentItem, createDynamicContentItemVariant, createForum, createGroup, createGroupMembership, createMacro, createOrUpdateUser, createOrUpdateUsers, createO [...]
+| *methodName* | *Required* What operation to use. There are 342 enums and the value can be one of: ADDTAGTOORGANISATIONS, ADDTAGTOTICKET, ADDTAGTOTOPICS, ASSOCIATEATTACHMENTSTOARTICLE, CHANGEUSERPASSWORD, CREATEARTICLE, CREATEARTICLE_1, CREATEARTICLETRANSLATION, CREATEAUTOMATION, CREATECATEGORY, CREATECATEGORYTRANSLATION, CREATECOMMENT, CREATEDYNAMICCONTENTITEM, CREATEDYNAMICCONTENTITEMVARIANT, CREATEFORUM, CREATEGROUP, CREATEGROUPMEMBERSHIP, CREATEGROUPMEMBERSHIP_1, CREATEMACRO, CREATE [...]
 |===
 
 
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index e23d868..67442ca 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -311,7 +311,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 2 enums and the value can be one of: client, server
+     * There are 2 enums and the value can be one of: CLIENT, SERVER
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -334,7 +334,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 2 enums and the value can be one of: client, server
+     * There are 2 enums and the value can be one of: CLIENT, SERVER
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -2899,8 +2899,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 10 enums and the value can be one of: collaborations, comments,
-     * event-logs, files, folders, groups, events, search, tasks, users
+     * There are 10 enums and the value can be one of: COLLABORATIONS, COMMENTS,
+     * EVENT_LOGS, FILES, FOLDERS, GROUPS, EVENTS, SEARCH, TASKS, USERS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -2924,8 +2924,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 10 enums and the value can be one of: collaborations, comments,
-     * event-logs, files, folders, groups, events, search, tasks, users
+     * There are 10 enums and the value can be one of: COLLABORATIONS, COMMENTS,
+     * EVENT_LOGS, FILES, FOLDERS, GROUPS, EVENTS, SEARCH, TASKS, USERS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -2951,11 +2951,11 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 17 enums and the value can be one of: addOn, address,
-     * clientToken, creditCardVerification, customer, discount, dispute,
-     * documentUpload, merchantAccount, paymentMethod, paymentMethodNonce, plan,
-     * report, settlementBatchSummary, subscription, transaction,
-     * webhookNotification
+     * There are 17 enums and the value can be one of: ADDON, ADDRESS,
+     * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+     * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN,
+     * REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
+     * WEBHOOKNOTIFICATION
      * 
      * Path parameter: methodName
      * What sub operation to use for the selected operation
@@ -2978,11 +2978,11 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 17 enums and the value can be one of: addOn, address,
-     * clientToken, creditCardVerification, customer, discount, dispute,
-     * documentUpload, merchantAccount, paymentMethod, paymentMethodNonce, plan,
-     * report, settlementBatchSummary, subscription, transaction,
-     * webhookNotification
+     * There are 17 enums and the value can be one of: ADDON, ADDRESS,
+     * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+     * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN,
+     * REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
+     * WEBHOOKNOTIFICATION
      * 
      * Path parameter: methodName
      * What sub operation to use for the selected operation
@@ -5192,9 +5192,9 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 13 enums and the value can be one of: capabilities, create,
-     * delete, history, load-page, meta, operation, patch, read, search,
-     * transaction, update, validate
+     * There are 13 enums and the value can be one of: CAPABILITIES, CREATE,
+     * DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH,
+     * TRANSACTION, UPDATE, VALIDATE
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -5218,9 +5218,9 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 13 enums and the value can be one of: capabilities, create,
-     * delete, history, load-page, meta, operation, patch, read, search,
-     * transaction, update, validate
+     * There are 13 enums and the value can be one of: CAPABILITIES, CREATE,
+     * DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH,
+     * TRANSACTION, UPDATE, VALIDATE
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -5924,8 +5924,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 8 enums and the value can be one of: acl, list, calendars,
-     * channels, colors, freebusy, events, settings
+     * There are 8 enums and the value can be one of: ACL, LIST, CALENDARS,
+     * CHANNELS, COLORS, FREEBUSY, EVENTS, SETTINGS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -5951,8 +5951,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 8 enums and the value can be one of: acl, list, calendars,
-     * channels, colors, freebusy, events, settings
+     * There are 8 enums and the value can be one of: ACL, LIST, CALENDARS,
+     * CHANNELS, COLORS, FREEBUSY, EVENTS, SETTINGS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6022,10 +6022,10 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 13 enums and the value can be one of: drive-about, drive-apps,
-     * drive-changes, drive-channels, drive-children, drive-comments,
-     * drive-files, drive-parents, drive-permissions, drive-properties,
-     * drive-realtime, drive-replies, drive-revisions
+     * There are 13 enums and the value can be one of: DRIVE_ABOUT, DRIVE_APPS,
+     * DRIVE_CHANGES, DRIVE_CHANNELS, DRIVE_CHILDREN, DRIVE_COMMENTS,
+     * DRIVE_FILES, DRIVE_PARENTS, DRIVE_PERMISSIONS, DRIVE_PROPERTIES,
+     * DRIVE_REALTIME, DRIVE_REPLIES, DRIVE_REVISIONS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6051,10 +6051,10 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 13 enums and the value can be one of: drive-about, drive-apps,
-     * drive-changes, drive-channels, drive-children, drive-comments,
-     * drive-files, drive-parents, drive-permissions, drive-properties,
-     * drive-realtime, drive-replies, drive-revisions
+     * There are 13 enums and the value can be one of: DRIVE_ABOUT, DRIVE_APPS,
+     * DRIVE_CHANGES, DRIVE_CHANNELS, DRIVE_CHILDREN, DRIVE_COMMENTS,
+     * DRIVE_FILES, DRIVE_PARENTS, DRIVE_PERMISSIONS, DRIVE_PROPERTIES,
+     * DRIVE_REALTIME, DRIVE_REPLIES, DRIVE_REVISIONS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6083,8 +6083,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 7 enums and the value can be one of: threads, messages,
-     * attachments, labels, history, drafts, users
+     * There are 7 enums and the value can be one of: THREADS, MESSAGES,
+     * ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6110,8 +6110,8 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 7 enums and the value can be one of: threads, messages,
-     * attachments, labels, history, drafts, users
+     * There are 7 enums and the value can be one of: THREADS, MESSAGES,
+     * ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6228,7 +6228,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 2 enums and the value can be one of: spreadsheets, data
+     * There are 2 enums and the value can be one of: SPREADSHEETS, DATA
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -6253,7 +6253,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 2 enums and the value can be one of: spreadsheets, data
+     * There are 2 enums and the value can be one of: SPREADSHEETS, DATA
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -10962,7 +10962,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 1 enums and the value can be one of:
+     * There are 1 enums and the value can be one of: DEFAULT
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -10985,7 +10985,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 1 enums and the value can be one of:
+     * There are 1 enums and the value can be one of: DEFAULT
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -11011,7 +11011,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 1 enums and the value can be one of:
+     * There are 1 enums and the value can be one of: DEFAULT
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -11034,7 +11034,7 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 1 enums and the value can be one of:
+     * There are 1 enums and the value can be one of: DEFAULT
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -14345,26 +14345,26 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 56 enums and the value can be one of: account, address,
-     * application, available-phone-number-country, call, conference,
-     * connect-app, incoming-phone-number, key, message, new-key,
-     * new-signing-key, notification, outgoing-caller-id, queue, recording,
-     * short-code, signing-key, token, transcription, validation-request,
-     * address-dependent-phone-number, available-phone-number-country-local,
-     * available-phone-number-country-mobile,
-     * available-phone-number-country-toll-free, call-feedback,
-     * call-feedback-summary, call-notification, call-recording,
-     * conference-participant, incoming-phone-number-local,
-     * incoming-phone-number-mobile, incoming-phone-number-toll-free,
-     * message-feedback, message-media, queue-member, recording-add-on-result,
-     * recording-transcription, recording-add-on-result-payload,
-     * sip-credential-list, sip-domain, sip-ip-access-control-list,
-     * sip-credential-list-credential, sip-domain-credential-list-mapping,
-     * sip-domain-ip-access-control-list-mapping,
-     * sip-ip-access-control-list-ip-address, usage-record, usage-trigger,
-     * usage-record-all-time, usage-record-daily, usage-record-last-month,
-     * usage-record-monthly, usage-record-this-month, usage-record-today,
-     * usage-record-yearly, usage-record-yesterday
+     * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS,
+     * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE,
+     * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY,
+     * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING,
+     * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST,
+     * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL,
+     * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE,
+     * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK,
+     * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING,
+     * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL,
+     * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE,
+     * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, RECORDING_ADD_ON_RESULT,
+     * RECORDING_TRANSCRIPTION, RECORDING_ADD_ON_RESULT_PAYLOAD,
+     * SIP_CREDENTIAL_LIST, SIP_DOMAIN, SIP_IP_ACCESS_CONTROL_LIST,
+     * SIP_CREDENTIAL_LIST_CREDENTIAL, SIP_DOMAIN_CREDENTIAL_LIST_MAPPING,
+     * SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING,
+     * SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS, USAGE_RECORD, USAGE_TRIGGER,
+     * USAGE_RECORD_ALL_TIME, USAGE_RECORD_DAILY, USAGE_RECORD_LAST_MONTH,
+     * USAGE_RECORD_MONTHLY, USAGE_RECORD_THIS_MONTH, USAGE_RECORD_TODAY,
+     * USAGE_RECORD_YEARLY, USAGE_RECORD_YESTERDAY
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -14389,26 +14389,26 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 56 enums and the value can be one of: account, address,
-     * application, available-phone-number-country, call, conference,
-     * connect-app, incoming-phone-number, key, message, new-key,
-     * new-signing-key, notification, outgoing-caller-id, queue, recording,
-     * short-code, signing-key, token, transcription, validation-request,
-     * address-dependent-phone-number, available-phone-number-country-local,
-     * available-phone-number-country-mobile,
-     * available-phone-number-country-toll-free, call-feedback,
-     * call-feedback-summary, call-notification, call-recording,
-     * conference-participant, incoming-phone-number-local,
-     * incoming-phone-number-mobile, incoming-phone-number-toll-free,
-     * message-feedback, message-media, queue-member, recording-add-on-result,
-     * recording-transcription, recording-add-on-result-payload,
-     * sip-credential-list, sip-domain, sip-ip-access-control-list,
-     * sip-credential-list-credential, sip-domain-credential-list-mapping,
-     * sip-domain-ip-access-control-list-mapping,
-     * sip-ip-access-control-list-ip-address, usage-record, usage-trigger,
-     * usage-record-all-time, usage-record-daily, usage-record-last-month,
-     * usage-record-monthly, usage-record-this-month, usage-record-today,
-     * usage-record-yearly, usage-record-yesterday
+     * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS,
+     * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE,
+     * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY,
+     * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING,
+     * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST,
+     * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL,
+     * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE,
+     * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK,
+     * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING,
+     * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL,
+     * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE,
+     * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, RECORDING_ADD_ON_RESULT,
+     * RECORDING_TRANSCRIPTION, RECORDING_ADD_ON_RESULT_PAYLOAD,
+     * SIP_CREDENTIAL_LIST, SIP_DOMAIN, SIP_IP_ACCESS_CONTROL_LIST,
+     * SIP_CREDENTIAL_LIST_CREDENTIAL, SIP_DOMAIN_CREDENTIAL_LIST_MAPPING,
+     * SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING,
+     * SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS, USAGE_RECORD, USAGE_TRIGGER,
+     * USAGE_RECORD_ALL_TIME, USAGE_RECORD_DAILY, USAGE_RECORD_LAST_MONTH,
+     * USAGE_RECORD_MONTHLY, USAGE_RECORD_THIS_MONTH, USAGE_RECORD_TODAY,
+     * USAGE_RECORD_YEARLY, USAGE_RECORD_YESTERDAY
      * 
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
@@ -15693,85 +15693,115 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: methodName (required)
      * What operation to use
-     * There are 253 enums and the value can be one of: addTagToOrganisations,
-     * addTagToTicket, addTagToTopics, associateAttachmentsToArticle,
-     * changeUserPassword, createArticle, createArticleTranslation,
-     * createAutomation, createCategory, createCategoryTranslation,
-     * createComment, createDynamicContentItem, createDynamicContentItemVariant,
-     * createForum, createGroup, createGroupMembership, createMacro,
-     * createOrUpdateUser, createOrUpdateUsers, createOrUpdateUsersAsync,
-     * createOrganization, createOrganizationMembership,
-     * createOrganizationMemberships, createOrganizationMembershipsAsync,
-     * createOrganizations, createOrganizationsAsync, createPermissionGroup,
-     * createRequest, createSatisfactionRating, createSection,
-     * createSectionTranslation, createTarget, createTicket, createTicketAsync,
-     * createTicketField, createTicketForm, createTicketFromTweet,
-     * createTickets, createTicketsAsync, createTopic, createTrigger,
-     * createUpload, createUploadArticle, createUser, createUserIdentity,
-     * createUserSegment, createUsers, createUsersAsync, deleteArticle,
-     * deleteArticleAttachment, deleteAttachment, deleteAutomation,
-     * deleteCategory, deleteDynamicContentItem,
-     * deleteDynamicContentItemVariant, deleteForum, deleteGroup,
-     * deleteGroupMembership, deleteOrganization, deleteOrganizationMembership,
-     * deleteOrganizationMemberships, deletePermissionGroup, deleteSection,
-     * deleteSuspendedTicket, deleteTarget, deleteTicket, deleteTicketField,
-     * deleteTickets, deleteTopic, deleteTranslation, deleteTrigger,
-     * deleteUpload, deleteUser, deleteUserIdentity, deleteUserSegment,
-     * getArticle, getArticleFromSearch, getArticleSubscriptions,
-     * getArticleTranslations, getArticles, getArticlesFromAllLabels,
-     * getArticlesFromAnyLabels, getArticlesFromPage, getArticlesIncrementally,
-     * getAssignableGroupMemberships, getAssignableGroups, getAttachment,
-     * getAttachmentsFromArticle, getAuthenticatedUser,
-     * getAutoCompleteOrganizations, getAutomation, getAutomations, getBrands,
-     * getCCRequests, getCategories, getCategory, getCategoryTranslations,
-     * getComplianceDeletionStatuses, getCurrentUser, getCustomAgentRoles,
-     * getDeletedTickets, getDynamicContentItem, getDynamicContentItemVariant,
-     * getDynamicContentItemVariants, getDynamicContentItems, getForum,
-     * getForums, getGroup, getGroupMembership, getGroupMembershipByUser,
-     * getGroupMemberships, getGroupOrganization, getGroupUsers, getGroups,
-     * getHelpCenterLocales, getHolidaysForSchedule,
-     * getIncrementalTicketsResult, getJobStatus, getJobStatusAsync,
-     * getJobStatuses, getJobStatusesAsync, getMacro, getMacros,
-     * getOpenRequests, getOrganization, getOrganizationFields,
-     * getOrganizationMembership, getOrganizationMembershipByUser,
-     * getOrganizationMembershipForUser, getOrganizationMemberships,
-     * getOrganizationMembershipsForOrg, getOrganizationMembershipsForUser,
-     * getOrganizationTickets, getOrganizationUsers, getOrganizations,
-     * getOrganizationsIncrementally, getPermissionGroup, getPermissionGroups,
-     * getRecentTickets, getRequest, getRequestComment, getRequestComments,
-     * getRequests, getSatisfactionRating, getSatisfactionRatings, getSchedule,
-     * getSchedules, getSearchResults, getSection, getSectionSubscriptions,
-     * getSectionTranslations, getSections, getSolvedRequests,
-     * getSuspendedTickets, getTarget, getTargets, getTicket, getTicketAudit,
-     * getTicketAudits, getTicketCollaborators, getTicketComments,
-     * getTicketField, getTicketFields, getTicketForm, getTicketForms,
-     * getTicketIncidents, getTicketMetric, getTicketMetricByTicket,
-     * getTicketMetrics, getTickets, getTicketsByExternalId,
-     * getTicketsFromSearch, getTicketsIncrementally, getTopic, getTopics,
-     * getTopicsByUser, getTrigger, getTriggers, getTwitterMonitors, getUser,
-     * getUserCCDTickets, getUserFields, getUserIdentities, getUserIdentity,
-     * getUserRelatedInfo, getUserRequestedTickets, getUserRequests,
-     * getUserSegment, getUserSegments, getUserSegmentsApplicable,
-     * getUserSubscriptions, getUsers, getUsersByRole, getUsersIncrementally,
-     * importTicket, importTopic, lookupOrganizationsByExternalId,
-     * lookupUserByEmail, lookupUserByExternalId, macrosShowChangesToTicket,
-     * macrosShowTicketAfterChanges, makePrivateTicketAudit, markTicketAsSpam,
-     * mergeUsers, notifyApp, permanentlyDeleteTicket, permanentlyDeleteTickets,
-     * permanentlyDeleteUser, queueCreateTicketAsync,
-     * removeTagFromOrganisations, removeTagFromTicket, removeTagFromTopics,
-     * requestVerifyUserIdentity, resetUserPassword,
-     * setGroupMembershipAsDefault, setOrganizationMembershipAsDefault,
-     * setTagOnOrganisations, setTagOnTicket, setTagOnTopics,
-     * setUserPrimaryIdentity, suspendUser, trustTicketAudit, unsuspendUser,
-     * updateArticle, updateArticleTranslation, updateAutomation,
-     * updateCategory, updateCategoryTranslation, updateDynamicContentItem,
-     * updateDynamicContentItemVariant, updateForum, updateGroup,
-     * updateInstallation, updateMacro, updateOrganization, updateOrganizations,
-     * updateOrganizationsAsync, updatePermissionGroup, updateRequest,
-     * updateSection, updateSectionTranslation, updateTicket, updateTicketField,
-     * updateTickets, updateTicketsAsync, updateTopic, updateTrigger,
-     * updateUser, updateUserIdentity, updateUserSegment, updateUsers,
-     * updateUsersAsync, verifyUserIdentity
+     * There are 342 enums and the value can be one of: ADDTAGTOORGANISATIONS,
+     * ADDTAGTOTICKET, ADDTAGTOTOPICS, ASSOCIATEATTACHMENTSTOARTICLE,
+     * CHANGEUSERPASSWORD, CREATEARTICLE, CREATEARTICLE_1,
+     * CREATEARTICLETRANSLATION, CREATEAUTOMATION, CREATECATEGORY,
+     * CREATECATEGORYTRANSLATION, CREATECOMMENT, CREATEDYNAMICCONTENTITEM,
+     * CREATEDYNAMICCONTENTITEMVARIANT, CREATEFORUM, CREATEGROUP,
+     * CREATEGROUPMEMBERSHIP, CREATEGROUPMEMBERSHIP_1, CREATEMACRO,
+     * CREATEORUPDATEUSER, CREATEORUPDATEUSERS, CREATEORUPDATEUSERS_1,
+     * CREATEORUPDATEUSERSASYNC, CREATEORGANIZATION,
+     * CREATEORGANIZATIONMEMBERSHIP, CREATEORGANIZATIONMEMBERSHIP_1,
+     * CREATEORGANIZATIONMEMBERSHIPS, CREATEORGANIZATIONMEMBERSHIPS_1,
+     * CREATEORGANIZATIONMEMBERSHIPSASYNC, CREATEORGANIZATIONS,
+     * CREATEORGANIZATIONS_1, CREATEORGANIZATIONSASYNC, CREATEPERMISSIONGROUP,
+     * CREATEREQUEST, CREATESATISFACTIONRATING, CREATESATISFACTIONRATING_1,
+     * CREATESECTION, CREATESECTIONTRANSLATION, CREATETARGET, CREATETICKET,
+     * CREATETICKETASYNC, CREATETICKETFIELD, CREATETICKETFORM,
+     * CREATETICKETFROMTWEET, CREATETICKETS, CREATETICKETS_1,
+     * CREATETICKETSASYNC, CREATETOPIC, CREATETRIGGER, CREATEUPLOAD,
+     * CREATEUPLOAD_1, CREATEUPLOAD_2, CREATEUPLOADARTICLE,
+     * CREATEUPLOADARTICLE_1, CREATEUSER, CREATEUSERIDENTITY,
+     * CREATEUSERIDENTITY_1, CREATEUSERSEGMENT, CREATEUSERS, CREATEUSERS_1,
+     * CREATEUSERSASYNC, DELETEARTICLE, DELETEARTICLEATTACHMENT,
+     * DELETEARTICLEATTACHMENT_1, DELETEATTACHMENT, DELETEATTACHMENT_1,
+     * DELETEAUTOMATION, DELETECATEGORY, DELETEDYNAMICCONTENTITEM,
+     * DELETEDYNAMICCONTENTITEMVARIANT, DELETEFORUM, DELETEGROUP, DELETEGROUP_1,
+     * DELETEGROUPMEMBERSHIP, DELETEGROUPMEMBERSHIP_1, DELETEGROUPMEMBERSHIP_2,
+     * DELETEGROUPMEMBERSHIP_3, DELETEORGANIZATION, DELETEORGANIZATION_1,
+     * DELETEORGANIZATIONMEMBERSHIP, DELETEORGANIZATIONMEMBERSHIP_1,
+     * DELETEORGANIZATIONMEMBERSHIP_2, DELETEORGANIZATIONMEMBERSHIPS,
+     * DELETEPERMISSIONGROUP, DELETEPERMISSIONGROUP_1, DELETESECTION,
+     * DELETESUSPENDEDTICKET, DELETESUSPENDEDTICKET_1, DELETETARGET,
+     * DELETETICKET, DELETETICKET_1, DELETETICKETFIELD, DELETETICKETFIELD_1,
+     * DELETETICKETS, DELETETOPIC, DELETETRANSLATION, DELETETRANSLATION_1,
+     * DELETETRIGGER, DELETEUPLOAD, DELETEUPLOAD_1, DELETEUSER, DELETEUSER_1,
+     * DELETEUSERIDENTITY, DELETEUSERIDENTITY_1, DELETEUSERIDENTITY_2,
+     * DELETEUSERSEGMENT, DELETEUSERSEGMENT_1, GETARTICLE, GETARTICLEFROMSEARCH,
+     * GETARTICLEFROMSEARCH_1, GETARTICLESUBSCRIPTIONS,
+     * GETARTICLESUBSCRIPTIONS_1, GETARTICLETRANSLATIONS, GETARTICLES,
+     * GETARTICLES_1, GETARTICLES_2, GETARTICLES_3, GETARTICLESFROMALLLABELS,
+     * GETARTICLESFROMANYLABELS, GETARTICLESFROMPAGE, GETARTICLESINCREMENTALLY,
+     * GETASSIGNABLEGROUPMEMBERSHIPS, GETASSIGNABLEGROUPMEMBERSHIPS_1,
+     * GETASSIGNABLEGROUPS, GETATTACHMENT, GETATTACHMENT_1,
+     * GETATTACHMENTSFROMARTICLE, GETAUTHENTICATEDUSER,
+     * GETAUTOCOMPLETEORGANIZATIONS, GETAUTOMATION, GETAUTOMATIONS, GETBRANDS,
+     * GETCCREQUESTS, GETCATEGORIES, GETCATEGORY, GETCATEGORYTRANSLATIONS,
+     * GETCOMPLIANCEDELETIONSTATUSES, GETCURRENTUSER, GETCUSTOMAGENTROLES,
+     * GETDELETEDTICKETS, GETDELETEDTICKETS_1, GETDYNAMICCONTENTITEM,
+     * GETDYNAMICCONTENTITEMVARIANT, GETDYNAMICCONTENTITEMVARIANTS,
+     * GETDYNAMICCONTENTITEMS, GETFORUM, GETFORUMS, GETFORUMS_1, GETGROUP,
+     * GETGROUPMEMBERSHIP, GETGROUPMEMBERSHIP_1, GETGROUPMEMBERSHIPBYUSER,
+     * GETGROUPMEMBERSHIPS, GETGROUPMEMBERSHIPS_1, GETGROUPORGANIZATION,
+     * GETGROUPUSERS, GETGROUPS, GETHELPCENTERLOCALES, GETHOLIDAYSFORSCHEDULE,
+     * GETHOLIDAYSFORSCHEDULE_1, GETINCREMENTALTICKETSRESULT, GETJOBSTATUS,
+     * GETJOBSTATUSASYNC, GETJOBSTATUSES, GETJOBSTATUSESASYNC, GETMACRO,
+     * GETMACROS, GETOPENREQUESTS, GETORGANIZATION, GETORGANIZATIONFIELDS,
+     * GETORGANIZATIONMEMBERSHIP, GETORGANIZATIONMEMBERSHIPBYUSER,
+     * GETORGANIZATIONMEMBERSHIPFORUSER, GETORGANIZATIONMEMBERSHIPS,
+     * GETORGANIZATIONMEMBERSHIPSFORORG, GETORGANIZATIONMEMBERSHIPSFORUSER,
+     * GETORGANIZATIONTICKETS, GETORGANIZATIONUSERS, GETORGANIZATIONS,
+     * GETORGANIZATIONSINCREMENTALLY, GETPERMISSIONGROUP, GETPERMISSIONGROUPS,
+     * GETRECENTTICKETS, GETREQUEST, GETREQUESTCOMMENT, GETREQUESTCOMMENT_1,
+     * GETREQUESTCOMMENT_2, GETREQUESTCOMMENTS, GETREQUESTCOMMENTS_1,
+     * GETREQUESTS, GETSATISFACTIONRATING, GETSATISFACTIONRATINGS, GETSCHEDULE,
+     * GETSCHEDULE_1, GETSCHEDULES, GETSEARCHRESULTS, GETSEARCHRESULTS_1,
+     * GETSEARCHRESULTS_2, GETSEARCHRESULTS_3, GETSEARCHRESULTS_4, GETSECTION,
+     * GETSECTIONSUBSCRIPTIONS, GETSECTIONSUBSCRIPTIONS_1,
+     * GETSECTIONTRANSLATIONS, GETSECTIONS, GETSECTIONS_1, GETSECTIONS_2,
+     * GETSOLVEDREQUESTS, GETSUSPENDEDTICKETS, GETTARGET, GETTARGETS, GETTICKET,
+     * GETTICKETAUDIT, GETTICKETAUDIT_1, GETTICKETAUDIT_2, GETTICKETAUDITS,
+     * GETTICKETAUDITS_1, GETTICKETCOLLABORATORS, GETTICKETCOMMENTS,
+     * GETTICKETCOMMENTS_1, GETTICKETFIELD, GETTICKETFIELDS, GETTICKETFORM,
+     * GETTICKETFORMS, GETTICKETINCIDENTS, GETTICKETMETRIC,
+     * GETTICKETMETRICBYTICKET, GETTICKETMETRICS, GETTICKETS, GETTICKETS_1,
+     * GETTICKETSBYEXTERNALID, GETTICKETSBYEXTERNALID_1, GETTICKETSFROMSEARCH,
+     * GETTICKETSINCREMENTALLY, GETTICKETSINCREMENTALLY_1, GETTOPIC, GETTOPICS,
+     * GETTOPICS_1, GETTOPICS_2, GETTOPICS_3, GETTOPICSBYUSER, GETTRIGGER,
+     * GETTRIGGERS, GETTWITTERMONITORS, GETUSER, GETUSERCCDTICKETS,
+     * GETUSERFIELDS, GETUSERIDENTITIES, GETUSERIDENTITIES_1, GETUSERIDENTITY,
+     * GETUSERIDENTITY_1, GETUSERIDENTITY_2, GETUSERRELATEDINFO,
+     * GETUSERREQUESTEDTICKETS, GETUSERREQUESTS, GETUSERREQUESTS_1,
+     * GETUSERSEGMENT, GETUSERSEGMENTS, GETUSERSEGMENTS_1,
+     * GETUSERSEGMENTSAPPLICABLE, GETUSERSUBSCRIPTIONS, GETUSERSUBSCRIPTIONS_1,
+     * GETUSERS, GETUSERSBYROLE, GETUSERSINCREMENTALLY, IMPORTTICKET,
+     * IMPORTTOPIC, LOOKUPORGANIZATIONSBYEXTERNALID, LOOKUPUSERBYEMAIL,
+     * LOOKUPUSERBYEXTERNALID, MACROSSHOWCHANGESTOTICKET,
+     * MACROSSHOWTICKETAFTERCHANGES, MAKEPRIVATETICKETAUDIT,
+     * MAKEPRIVATETICKETAUDIT_1, MAKEPRIVATETICKETAUDIT_2, MARKTICKETASSPAM,
+     * MARKTICKETASSPAM_1, MERGEUSERS, NOTIFYAPP, PERMANENTLYDELETETICKET,
+     * PERMANENTLYDELETETICKET_1, PERMANENTLYDELETETICKETS,
+     * PERMANENTLYDELETEUSER, PERMANENTLYDELETEUSER_1, QUEUECREATETICKETASYNC,
+     * REMOVETAGFROMORGANISATIONS, REMOVETAGFROMTICKET, REMOVETAGFROMTOPICS,
+     * REQUESTVERIFYUSERIDENTITY, REQUESTVERIFYUSERIDENTITY_1,
+     * REQUESTVERIFYUSERIDENTITY_2, RESETUSERPASSWORD, RESETUSERPASSWORD_1,
+     * SETGROUPMEMBERSHIPASDEFAULT, SETORGANIZATIONMEMBERSHIPASDEFAULT,
+     * SETTAGONORGANISATIONS, SETTAGONTICKET, SETTAGONTOPICS,
+     * SETUSERPRIMARYIDENTITY, SETUSERPRIMARYIDENTITY_1,
+     * SETUSERPRIMARYIDENTITY_2, SUSPENDUSER, TRUSTTICKETAUDIT,
+     * TRUSTTICKETAUDIT_1, TRUSTTICKETAUDIT_2, UNSUSPENDUSER, UPDATEARTICLE,
+     * UPDATEARTICLETRANSLATION, UPDATEAUTOMATION, UPDATECATEGORY,
+     * UPDATECATEGORYTRANSLATION, UPDATEDYNAMICCONTENTITEM,
+     * UPDATEDYNAMICCONTENTITEMVARIANT, UPDATEFORUM, UPDATEGROUP,
+     * UPDATEINSTALLATION, UPDATEMACRO, UPDATEORGANIZATION, UPDATEORGANIZATIONS,
+     * UPDATEORGANIZATIONS_1, UPDATEORGANIZATIONSASYNC, UPDATEPERMISSIONGROUP,
+     * UPDATEREQUEST, UPDATESECTION, UPDATESECTIONTRANSLATION, UPDATETICKET,
+     * UPDATETICKETFIELD, UPDATETICKETS, UPDATETICKETS_1, UPDATETICKETSASYNC,
+     * UPDATETOPIC, UPDATETRIGGER, UPDATEUSER, UPDATEUSERIDENTITY,
+     * UPDATEUSERIDENTITY_1, UPDATEUSERSEGMENT, UPDATEUSERS, UPDATEUSERS_1,
+     * UPDATEUSERSASYNC, VERIFYUSERIDENTITY, VERIFYUSERIDENTITY_1,
+     * VERIFYUSERIDENTITY_2
      * 
      * @param path methodName
      */
@@ -15791,85 +15821,115 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: methodName (required)
      * What operation to use
-     * There are 253 enums and the value can be one of: addTagToOrganisations,
-     * addTagToTicket, addTagToTopics, associateAttachmentsToArticle,
-     * changeUserPassword, createArticle, createArticleTranslation,
-     * createAutomation, createCategory, createCategoryTranslation,
-     * createComment, createDynamicContentItem, createDynamicContentItemVariant,
-     * createForum, createGroup, createGroupMembership, createMacro,
-     * createOrUpdateUser, createOrUpdateUsers, createOrUpdateUsersAsync,
-     * createOrganization, createOrganizationMembership,
-     * createOrganizationMemberships, createOrganizationMembershipsAsync,
-     * createOrganizations, createOrganizationsAsync, createPermissionGroup,
-     * createRequest, createSatisfactionRating, createSection,
-     * createSectionTranslation, createTarget, createTicket, createTicketAsync,
-     * createTicketField, createTicketForm, createTicketFromTweet,
-     * createTickets, createTicketsAsync, createTopic, createTrigger,
-     * createUpload, createUploadArticle, createUser, createUserIdentity,
-     * createUserSegment, createUsers, createUsersAsync, deleteArticle,
-     * deleteArticleAttachment, deleteAttachment, deleteAutomation,
-     * deleteCategory, deleteDynamicContentItem,
-     * deleteDynamicContentItemVariant, deleteForum, deleteGroup,
-     * deleteGroupMembership, deleteOrganization, deleteOrganizationMembership,
-     * deleteOrganizationMemberships, deletePermissionGroup, deleteSection,
-     * deleteSuspendedTicket, deleteTarget, deleteTicket, deleteTicketField,
-     * deleteTickets, deleteTopic, deleteTranslation, deleteTrigger,
-     * deleteUpload, deleteUser, deleteUserIdentity, deleteUserSegment,
-     * getArticle, getArticleFromSearch, getArticleSubscriptions,
-     * getArticleTranslations, getArticles, getArticlesFromAllLabels,
-     * getArticlesFromAnyLabels, getArticlesFromPage, getArticlesIncrementally,
-     * getAssignableGroupMemberships, getAssignableGroups, getAttachment,
-     * getAttachmentsFromArticle, getAuthenticatedUser,
-     * getAutoCompleteOrganizations, getAutomation, getAutomations, getBrands,
-     * getCCRequests, getCategories, getCategory, getCategoryTranslations,
-     * getComplianceDeletionStatuses, getCurrentUser, getCustomAgentRoles,
-     * getDeletedTickets, getDynamicContentItem, getDynamicContentItemVariant,
-     * getDynamicContentItemVariants, getDynamicContentItems, getForum,
-     * getForums, getGroup, getGroupMembership, getGroupMembershipByUser,
-     * getGroupMemberships, getGroupOrganization, getGroupUsers, getGroups,
-     * getHelpCenterLocales, getHolidaysForSchedule,
-     * getIncrementalTicketsResult, getJobStatus, getJobStatusAsync,
-     * getJobStatuses, getJobStatusesAsync, getMacro, getMacros,
-     * getOpenRequests, getOrganization, getOrganizationFields,
-     * getOrganizationMembership, getOrganizationMembershipByUser,
-     * getOrganizationMembershipForUser, getOrganizationMemberships,
-     * getOrganizationMembershipsForOrg, getOrganizationMembershipsForUser,
-     * getOrganizationTickets, getOrganizationUsers, getOrganizations,
-     * getOrganizationsIncrementally, getPermissionGroup, getPermissionGroups,
-     * getRecentTickets, getRequest, getRequestComment, getRequestComments,
-     * getRequests, getSatisfactionRating, getSatisfactionRatings, getSchedule,
-     * getSchedules, getSearchResults, getSection, getSectionSubscriptions,
-     * getSectionTranslations, getSections, getSolvedRequests,
-     * getSuspendedTickets, getTarget, getTargets, getTicket, getTicketAudit,
-     * getTicketAudits, getTicketCollaborators, getTicketComments,
-     * getTicketField, getTicketFields, getTicketForm, getTicketForms,
-     * getTicketIncidents, getTicketMetric, getTicketMetricByTicket,
-     * getTicketMetrics, getTickets, getTicketsByExternalId,
-     * getTicketsFromSearch, getTicketsIncrementally, getTopic, getTopics,
-     * getTopicsByUser, getTrigger, getTriggers, getTwitterMonitors, getUser,
-     * getUserCCDTickets, getUserFields, getUserIdentities, getUserIdentity,
-     * getUserRelatedInfo, getUserRequestedTickets, getUserRequests,
-     * getUserSegment, getUserSegments, getUserSegmentsApplicable,
-     * getUserSubscriptions, getUsers, getUsersByRole, getUsersIncrementally,
-     * importTicket, importTopic, lookupOrganizationsByExternalId,
-     * lookupUserByEmail, lookupUserByExternalId, macrosShowChangesToTicket,
-     * macrosShowTicketAfterChanges, makePrivateTicketAudit, markTicketAsSpam,
-     * mergeUsers, notifyApp, permanentlyDeleteTicket, permanentlyDeleteTickets,
-     * permanentlyDeleteUser, queueCreateTicketAsync,
-     * removeTagFromOrganisations, removeTagFromTicket, removeTagFromTopics,
-     * requestVerifyUserIdentity, resetUserPassword,
-     * setGroupMembershipAsDefault, setOrganizationMembershipAsDefault,
-     * setTagOnOrganisations, setTagOnTicket, setTagOnTopics,
-     * setUserPrimaryIdentity, suspendUser, trustTicketAudit, unsuspendUser,
-     * updateArticle, updateArticleTranslation, updateAutomation,
-     * updateCategory, updateCategoryTranslation, updateDynamicContentItem,
-     * updateDynamicContentItemVariant, updateForum, updateGroup,
-     * updateInstallation, updateMacro, updateOrganization, updateOrganizations,
-     * updateOrganizationsAsync, updatePermissionGroup, updateRequest,
-     * updateSection, updateSectionTranslation, updateTicket, updateTicketField,
-     * updateTickets, updateTicketsAsync, updateTopic, updateTrigger,
-     * updateUser, updateUserIdentity, updateUserSegment, updateUsers,
-     * updateUsersAsync, verifyUserIdentity
+     * There are 342 enums and the value can be one of: ADDTAGTOORGANISATIONS,
+     * ADDTAGTOTICKET, ADDTAGTOTOPICS, ASSOCIATEATTACHMENTSTOARTICLE,
+     * CHANGEUSERPASSWORD, CREATEARTICLE, CREATEARTICLE_1,
+     * CREATEARTICLETRANSLATION, CREATEAUTOMATION, CREATECATEGORY,
+     * CREATECATEGORYTRANSLATION, CREATECOMMENT, CREATEDYNAMICCONTENTITEM,
+     * CREATEDYNAMICCONTENTITEMVARIANT, CREATEFORUM, CREATEGROUP,
+     * CREATEGROUPMEMBERSHIP, CREATEGROUPMEMBERSHIP_1, CREATEMACRO,
+     * CREATEORUPDATEUSER, CREATEORUPDATEUSERS, CREATEORUPDATEUSERS_1,
+     * CREATEORUPDATEUSERSASYNC, CREATEORGANIZATION,
+     * CREATEORGANIZATIONMEMBERSHIP, CREATEORGANIZATIONMEMBERSHIP_1,
+     * CREATEORGANIZATIONMEMBERSHIPS, CREATEORGANIZATIONMEMBERSHIPS_1,
+     * CREATEORGANIZATIONMEMBERSHIPSASYNC, CREATEORGANIZATIONS,
+     * CREATEORGANIZATIONS_1, CREATEORGANIZATIONSASYNC, CREATEPERMISSIONGROUP,
+     * CREATEREQUEST, CREATESATISFACTIONRATING, CREATESATISFACTIONRATING_1,
+     * CREATESECTION, CREATESECTIONTRANSLATION, CREATETARGET, CREATETICKET,
+     * CREATETICKETASYNC, CREATETICKETFIELD, CREATETICKETFORM,
+     * CREATETICKETFROMTWEET, CREATETICKETS, CREATETICKETS_1,
+     * CREATETICKETSASYNC, CREATETOPIC, CREATETRIGGER, CREATEUPLOAD,
+     * CREATEUPLOAD_1, CREATEUPLOAD_2, CREATEUPLOADARTICLE,
+     * CREATEUPLOADARTICLE_1, CREATEUSER, CREATEUSERIDENTITY,
+     * CREATEUSERIDENTITY_1, CREATEUSERSEGMENT, CREATEUSERS, CREATEUSERS_1,
+     * CREATEUSERSASYNC, DELETEARTICLE, DELETEARTICLEATTACHMENT,
+     * DELETEARTICLEATTACHMENT_1, DELETEATTACHMENT, DELETEATTACHMENT_1,
+     * DELETEAUTOMATION, DELETECATEGORY, DELETEDYNAMICCONTENTITEM,
+     * DELETEDYNAMICCONTENTITEMVARIANT, DELETEFORUM, DELETEGROUP, DELETEGROUP_1,
+     * DELETEGROUPMEMBERSHIP, DELETEGROUPMEMBERSHIP_1, DELETEGROUPMEMBERSHIP_2,
+     * DELETEGROUPMEMBERSHIP_3, DELETEORGANIZATION, DELETEORGANIZATION_1,
+     * DELETEORGANIZATIONMEMBERSHIP, DELETEORGANIZATIONMEMBERSHIP_1,
+     * DELETEORGANIZATIONMEMBERSHIP_2, DELETEORGANIZATIONMEMBERSHIPS,
+     * DELETEPERMISSIONGROUP, DELETEPERMISSIONGROUP_1, DELETESECTION,
+     * DELETESUSPENDEDTICKET, DELETESUSPENDEDTICKET_1, DELETETARGET,
+     * DELETETICKET, DELETETICKET_1, DELETETICKETFIELD, DELETETICKETFIELD_1,
+     * DELETETICKETS, DELETETOPIC, DELETETRANSLATION, DELETETRANSLATION_1,
+     * DELETETRIGGER, DELETEUPLOAD, DELETEUPLOAD_1, DELETEUSER, DELETEUSER_1,
+     * DELETEUSERIDENTITY, DELETEUSERIDENTITY_1, DELETEUSERIDENTITY_2,
+     * DELETEUSERSEGMENT, DELETEUSERSEGMENT_1, GETARTICLE, GETARTICLEFROMSEARCH,
+     * GETARTICLEFROMSEARCH_1, GETARTICLESUBSCRIPTIONS,
+     * GETARTICLESUBSCRIPTIONS_1, GETARTICLETRANSLATIONS, GETARTICLES,
+     * GETARTICLES_1, GETARTICLES_2, GETARTICLES_3, GETARTICLESFROMALLLABELS,
+     * GETARTICLESFROMANYLABELS, GETARTICLESFROMPAGE, GETARTICLESINCREMENTALLY,
+     * GETASSIGNABLEGROUPMEMBERSHIPS, GETASSIGNABLEGROUPMEMBERSHIPS_1,
+     * GETASSIGNABLEGROUPS, GETATTACHMENT, GETATTACHMENT_1,
+     * GETATTACHMENTSFROMARTICLE, GETAUTHENTICATEDUSER,
+     * GETAUTOCOMPLETEORGANIZATIONS, GETAUTOMATION, GETAUTOMATIONS, GETBRANDS,
+     * GETCCREQUESTS, GETCATEGORIES, GETCATEGORY, GETCATEGORYTRANSLATIONS,
+     * GETCOMPLIANCEDELETIONSTATUSES, GETCURRENTUSER, GETCUSTOMAGENTROLES,
+     * GETDELETEDTICKETS, GETDELETEDTICKETS_1, GETDYNAMICCONTENTITEM,
+     * GETDYNAMICCONTENTITEMVARIANT, GETDYNAMICCONTENTITEMVARIANTS,
+     * GETDYNAMICCONTENTITEMS, GETFORUM, GETFORUMS, GETFORUMS_1, GETGROUP,
+     * GETGROUPMEMBERSHIP, GETGROUPMEMBERSHIP_1, GETGROUPMEMBERSHIPBYUSER,
+     * GETGROUPMEMBERSHIPS, GETGROUPMEMBERSHIPS_1, GETGROUPORGANIZATION,
+     * GETGROUPUSERS, GETGROUPS, GETHELPCENTERLOCALES, GETHOLIDAYSFORSCHEDULE,
+     * GETHOLIDAYSFORSCHEDULE_1, GETINCREMENTALTICKETSRESULT, GETJOBSTATUS,
+     * GETJOBSTATUSASYNC, GETJOBSTATUSES, GETJOBSTATUSESASYNC, GETMACRO,
+     * GETMACROS, GETOPENREQUESTS, GETORGANIZATION, GETORGANIZATIONFIELDS,
+     * GETORGANIZATIONMEMBERSHIP, GETORGANIZATIONMEMBERSHIPBYUSER,
+     * GETORGANIZATIONMEMBERSHIPFORUSER, GETORGANIZATIONMEMBERSHIPS,
+     * GETORGANIZATIONMEMBERSHIPSFORORG, GETORGANIZATIONMEMBERSHIPSFORUSER,
+     * GETORGANIZATIONTICKETS, GETORGANIZATIONUSERS, GETORGANIZATIONS,
+     * GETORGANIZATIONSINCREMENTALLY, GETPERMISSIONGROUP, GETPERMISSIONGROUPS,
+     * GETRECENTTICKETS, GETREQUEST, GETREQUESTCOMMENT, GETREQUESTCOMMENT_1,
+     * GETREQUESTCOMMENT_2, GETREQUESTCOMMENTS, GETREQUESTCOMMENTS_1,
+     * GETREQUESTS, GETSATISFACTIONRATING, GETSATISFACTIONRATINGS, GETSCHEDULE,
+     * GETSCHEDULE_1, GETSCHEDULES, GETSEARCHRESULTS, GETSEARCHRESULTS_1,
+     * GETSEARCHRESULTS_2, GETSEARCHRESULTS_3, GETSEARCHRESULTS_4, GETSECTION,
+     * GETSECTIONSUBSCRIPTIONS, GETSECTIONSUBSCRIPTIONS_1,
+     * GETSECTIONTRANSLATIONS, GETSECTIONS, GETSECTIONS_1, GETSECTIONS_2,
+     * GETSOLVEDREQUESTS, GETSUSPENDEDTICKETS, GETTARGET, GETTARGETS, GETTICKET,
+     * GETTICKETAUDIT, GETTICKETAUDIT_1, GETTICKETAUDIT_2, GETTICKETAUDITS,
+     * GETTICKETAUDITS_1, GETTICKETCOLLABORATORS, GETTICKETCOMMENTS,
+     * GETTICKETCOMMENTS_1, GETTICKETFIELD, GETTICKETFIELDS, GETTICKETFORM,
+     * GETTICKETFORMS, GETTICKETINCIDENTS, GETTICKETMETRIC,
+     * GETTICKETMETRICBYTICKET, GETTICKETMETRICS, GETTICKETS, GETTICKETS_1,
+     * GETTICKETSBYEXTERNALID, GETTICKETSBYEXTERNALID_1, GETTICKETSFROMSEARCH,
+     * GETTICKETSINCREMENTALLY, GETTICKETSINCREMENTALLY_1, GETTOPIC, GETTOPICS,
+     * GETTOPICS_1, GETTOPICS_2, GETTOPICS_3, GETTOPICSBYUSER, GETTRIGGER,
+     * GETTRIGGERS, GETTWITTERMONITORS, GETUSER, GETUSERCCDTICKETS,
+     * GETUSERFIELDS, GETUSERIDENTITIES, GETUSERIDENTITIES_1, GETUSERIDENTITY,
+     * GETUSERIDENTITY_1, GETUSERIDENTITY_2, GETUSERRELATEDINFO,
+     * GETUSERREQUESTEDTICKETS, GETUSERREQUESTS, GETUSERREQUESTS_1,
+     * GETUSERSEGMENT, GETUSERSEGMENTS, GETUSERSEGMENTS_1,
+     * GETUSERSEGMENTSAPPLICABLE, GETUSERSUBSCRIPTIONS, GETUSERSUBSCRIPTIONS_1,
+     * GETUSERS, GETUSERSBYROLE, GETUSERSINCREMENTALLY, IMPORTTICKET,
+     * IMPORTTOPIC, LOOKUPORGANIZATIONSBYEXTERNALID, LOOKUPUSERBYEMAIL,
+     * LOOKUPUSERBYEXTERNALID, MACROSSHOWCHANGESTOTICKET,
+     * MACROSSHOWTICKETAFTERCHANGES, MAKEPRIVATETICKETAUDIT,
+     * MAKEPRIVATETICKETAUDIT_1, MAKEPRIVATETICKETAUDIT_2, MARKTICKETASSPAM,
+     * MARKTICKETASSPAM_1, MERGEUSERS, NOTIFYAPP, PERMANENTLYDELETETICKET,
+     * PERMANENTLYDELETETICKET_1, PERMANENTLYDELETETICKETS,
+     * PERMANENTLYDELETEUSER, PERMANENTLYDELETEUSER_1, QUEUECREATETICKETASYNC,
+     * REMOVETAGFROMORGANISATIONS, REMOVETAGFROMTICKET, REMOVETAGFROMTOPICS,
+     * REQUESTVERIFYUSERIDENTITY, REQUESTVERIFYUSERIDENTITY_1,
+     * REQUESTVERIFYUSERIDENTITY_2, RESETUSERPASSWORD, RESETUSERPASSWORD_1,
+     * SETGROUPMEMBERSHIPASDEFAULT, SETORGANIZATIONMEMBERSHIPASDEFAULT,
+     * SETTAGONORGANISATIONS, SETTAGONTICKET, SETTAGONTOPICS,
+     * SETUSERPRIMARYIDENTITY, SETUSERPRIMARYIDENTITY_1,
+     * SETUSERPRIMARYIDENTITY_2, SUSPENDUSER, TRUSTTICKETAUDIT,
+     * TRUSTTICKETAUDIT_1, TRUSTTICKETAUDIT_2, UNSUSPENDUSER, UPDATEARTICLE,
+     * UPDATEARTICLETRANSLATION, UPDATEAUTOMATION, UPDATECATEGORY,
+     * UPDATECATEGORYTRANSLATION, UPDATEDYNAMICCONTENTITEM,
+     * UPDATEDYNAMICCONTENTITEMVARIANT, UPDATEFORUM, UPDATEGROUP,
+     * UPDATEINSTALLATION, UPDATEMACRO, UPDATEORGANIZATION, UPDATEORGANIZATIONS,
+     * UPDATEORGANIZATIONS_1, UPDATEORGANIZATIONSASYNC, UPDATEPERMISSIONGROUP,
+     * UPDATEREQUEST, UPDATESECTION, UPDATESECTIONTRANSLATION, UPDATETICKET,
+     * UPDATETICKETFIELD, UPDATETICKETS, UPDATETICKETS_1, UPDATETICKETSASYNC,
+     * UPDATETOPIC, UPDATETRIGGER, UPDATEUSER, UPDATEUSERIDENTITY,
+     * UPDATEUSERIDENTITY_1, UPDATEUSERSEGMENT, UPDATEUSERS, UPDATEUSERS_1,
+     * UPDATEUSERSASYNC, VERIFYUSERIDENTITY, VERIFYUSERIDENTITY_1,
+     * VERIFYUSERIDENTITY_2
      * 
      * @param componentName to use a custom component name for the endpoint
      * instead of the default name
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
index a55a703..43d064e 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
@@ -2456,7 +2456,7 @@ public interface AS2EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 2 enums and the value can be one of: client, server
+         * There are 2 enums and the value can be one of: CLIENT, SERVER
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -2478,7 +2478,7 @@ public interface AS2EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 2 enums and the value can be one of: client, server
+         * There are 2 enums and the value can be one of: CLIENT, SERVER
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BoxEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BoxEndpointBuilderFactory.java
index e562c57..f5fa11d 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BoxEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BoxEndpointBuilderFactory.java
@@ -1648,9 +1648,9 @@ public interface BoxEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 10 enums and the value can be one of: collaborations,
-         * comments, event-logs, files, folders, groups, events, search, tasks,
-         * users
+         * There are 10 enums and the value can be one of: COLLABORATIONS,
+         * COMMENTS, EVENT_LOGS, FILES, FOLDERS, GROUPS, EVENTS, SEARCH, TASKS,
+         * USERS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1673,9 +1673,9 @@ public interface BoxEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 10 enums and the value can be one of: collaborations,
-         * comments, event-logs, files, folders, groups, events, search, tasks,
-         * users
+         * There are 10 enums and the value can be one of: COLLABORATIONS,
+         * COMMENTS, EVENT_LOGS, FILES, FOLDERS, GROUPS, EVENTS, SEARCH, TASKS,
+         * USERS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
index ec07687..85e8a07 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
@@ -1416,11 +1416,11 @@ public interface BraintreeEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 17 enums and the value can be one of: addOn, address,
-         * clientToken, creditCardVerification, customer, discount, dispute,
-         * documentUpload, merchantAccount, paymentMethod, paymentMethodNonce,
-         * plan, report, settlementBatchSummary, subscription, transaction,
-         * webhookNotification
+         * There are 17 enums and the value can be one of: ADDON, ADDRESS,
+         * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+         * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE,
+         * PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
+         * WEBHOOKNOTIFICATION
          * 
          * Path parameter: methodName
          * What sub operation to use for the selected operation
@@ -1442,11 +1442,11 @@ public interface BraintreeEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 17 enums and the value can be one of: addOn, address,
-         * clientToken, creditCardVerification, customer, discount, dispute,
-         * documentUpload, merchantAccount, paymentMethod, paymentMethodNonce,
-         * plan, report, settlementBatchSummary, subscription, transaction,
-         * webhookNotification
+         * There are 17 enums and the value can be one of: ADDON, ADDRESS,
+         * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+         * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE,
+         * PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
+         * WEBHOOKNOTIFICATION
          * 
          * Path parameter: methodName
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FhirEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FhirEndpointBuilderFactory.java
index 6e4dba7..d839d0e 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FhirEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FhirEndpointBuilderFactory.java
@@ -2353,9 +2353,9 @@ public interface FhirEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 13 enums and the value can be one of: capabilities, create,
-         * delete, history, load-page, meta, operation, patch, read, search,
-         * transaction, update, validate
+         * There are 13 enums and the value can be one of: CAPABILITIES, CREATE,
+         * DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH,
+         * TRANSACTION, UPDATE, VALIDATE
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -2378,9 +2378,9 @@ public interface FhirEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 13 enums and the value can be one of: capabilities, create,
-         * delete, history, load-page, meta, operation, patch, read, search,
-         * transaction, update, validate
+         * There are 13 enums and the value can be one of: CAPABILITIES, CREATE,
+         * DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH,
+         * TRANSACTION, UPDATE, VALIDATE
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
index 64833e1..f21c007 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
@@ -1249,8 +1249,8 @@ public interface GoogleCalendarEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 8 enums and the value can be one of: acl, list, calendars,
-         * channels, colors, freebusy, events, settings
+         * There are 8 enums and the value can be one of: ACL, LIST, CALENDARS,
+         * CHANNELS, COLORS, FREEBUSY, EVENTS, SETTINGS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1275,8 +1275,8 @@ public interface GoogleCalendarEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 8 enums and the value can be one of: acl, list, calendars,
-         * channels, colors, freebusy, events, settings
+         * There are 8 enums and the value can be one of: ACL, LIST, CALENDARS,
+         * CHANNELS, COLORS, FREEBUSY, EVENTS, SETTINGS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleDriveEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleDriveEndpointBuilderFactory.java
index 6accac9..9edfc5f 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleDriveEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleDriveEndpointBuilderFactory.java
@@ -1259,10 +1259,10 @@ public interface GoogleDriveEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 13 enums and the value can be one of: drive-about,
-         * drive-apps, drive-changes, drive-channels, drive-children,
-         * drive-comments, drive-files, drive-parents, drive-permissions,
-         * drive-properties, drive-realtime, drive-replies, drive-revisions
+         * There are 13 enums and the value can be one of: DRIVE_ABOUT,
+         * DRIVE_APPS, DRIVE_CHANGES, DRIVE_CHANNELS, DRIVE_CHILDREN,
+         * DRIVE_COMMENTS, DRIVE_FILES, DRIVE_PARENTS, DRIVE_PERMISSIONS,
+         * DRIVE_PROPERTIES, DRIVE_REALTIME, DRIVE_REPLIES, DRIVE_REVISIONS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1287,10 +1287,10 @@ public interface GoogleDriveEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 13 enums and the value can be one of: drive-about,
-         * drive-apps, drive-changes, drive-channels, drive-children,
-         * drive-comments, drive-files, drive-parents, drive-permissions,
-         * drive-properties, drive-realtime, drive-replies, drive-revisions
+         * There are 13 enums and the value can be one of: DRIVE_ABOUT,
+         * DRIVE_APPS, DRIVE_CHANGES, DRIVE_CHANNELS, DRIVE_CHILDREN,
+         * DRIVE_COMMENTS, DRIVE_FILES, DRIVE_PARENTS, DRIVE_PERMISSIONS,
+         * DRIVE_PROPERTIES, DRIVE_REALTIME, DRIVE_REPLIES, DRIVE_REVISIONS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
index daf5499..269336b 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
@@ -1082,8 +1082,8 @@ public interface GoogleMailEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 7 enums and the value can be one of: threads, messages,
-         * attachments, labels, history, drafts, users
+         * There are 7 enums and the value can be one of: THREADS, MESSAGES,
+         * ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1108,8 +1108,8 @@ public interface GoogleMailEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 7 enums and the value can be one of: threads, messages,
-         * attachments, labels, history, drafts, users
+         * There are 7 enums and the value can be one of: THREADS, MESSAGES,
+         * ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleSheetsEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleSheetsEndpointBuilderFactory.java
index ae2a37e..08e288f 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleSheetsEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleSheetsEndpointBuilderFactory.java
@@ -1092,7 +1092,7 @@ public interface GoogleSheetsEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 2 enums and the value can be one of: spreadsheets, data
+         * There are 2 enums and the value can be one of: SPREADSHEETS, DATA
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1116,7 +1116,7 @@ public interface GoogleSheetsEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 2 enums and the value can be one of: spreadsheets, data
+         * There are 2 enums and the value can be one of: SPREADSHEETS, DATA
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java
index f0101e3..21ed3b6 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java
@@ -1874,7 +1874,7 @@ public interface Olingo2EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 1 enums and the value can be one of:
+         * There are 1 enums and the value can be one of: DEFAULT
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1896,7 +1896,7 @@ public interface Olingo2EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 1 enums and the value can be one of:
+         * There are 1 enums and the value can be one of: DEFAULT
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo4EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo4EndpointBuilderFactory.java
index 04b5f62..0b08879 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo4EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo4EndpointBuilderFactory.java
@@ -1676,7 +1676,7 @@ public interface Olingo4EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 1 enums and the value can be one of:
+         * There are 1 enums and the value can be one of: DEFAULT
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -1698,7 +1698,7 @@ public interface Olingo4EndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 1 enums and the value can be one of:
+         * There are 1 enums and the value can be one of: DEFAULT
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java
index cedfe53..e7362ce 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java
@@ -899,27 +899,27 @@ public interface TwilioEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 56 enums and the value can be one of: account, address,
-         * application, available-phone-number-country, call, conference,
-         * connect-app, incoming-phone-number, key, message, new-key,
-         * new-signing-key, notification, outgoing-caller-id, queue, recording,
-         * short-code, signing-key, token, transcription, validation-request,
-         * address-dependent-phone-number, available-phone-number-country-local,
-         * available-phone-number-country-mobile,
-         * available-phone-number-country-toll-free, call-feedback,
-         * call-feedback-summary, call-notification, call-recording,
-         * conference-participant, incoming-phone-number-local,
-         * incoming-phone-number-mobile, incoming-phone-number-toll-free,
-         * message-feedback, message-media, queue-member,
-         * recording-add-on-result, recording-transcription,
-         * recording-add-on-result-payload, sip-credential-list, sip-domain,
-         * sip-ip-access-control-list, sip-credential-list-credential,
-         * sip-domain-credential-list-mapping,
-         * sip-domain-ip-access-control-list-mapping,
-         * sip-ip-access-control-list-ip-address, usage-record, usage-trigger,
-         * usage-record-all-time, usage-record-daily, usage-record-last-month,
-         * usage-record-monthly, usage-record-this-month, usage-record-today,
-         * usage-record-yearly, usage-record-yesterday
+         * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS,
+         * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE,
+         * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY,
+         * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING,
+         * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST,
+         * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL,
+         * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE,
+         * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK,
+         * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING,
+         * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL,
+         * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE,
+         * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER,
+         * RECORDING_ADD_ON_RESULT, RECORDING_TRANSCRIPTION,
+         * RECORDING_ADD_ON_RESULT_PAYLOAD, SIP_CREDENTIAL_LIST, SIP_DOMAIN,
+         * SIP_IP_ACCESS_CONTROL_LIST, SIP_CREDENTIAL_LIST_CREDENTIAL,
+         * SIP_DOMAIN_CREDENTIAL_LIST_MAPPING,
+         * SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING,
+         * SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS, USAGE_RECORD, USAGE_TRIGGER,
+         * USAGE_RECORD_ALL_TIME, USAGE_RECORD_DAILY, USAGE_RECORD_LAST_MONTH,
+         * USAGE_RECORD_MONTHLY, USAGE_RECORD_THIS_MONTH, USAGE_RECORD_TODAY,
+         * USAGE_RECORD_YEARLY, USAGE_RECORD_YESTERDAY
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
@@ -943,27 +943,27 @@ public interface TwilioEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 56 enums and the value can be one of: account, address,
-         * application, available-phone-number-country, call, conference,
-         * connect-app, incoming-phone-number, key, message, new-key,
-         * new-signing-key, notification, outgoing-caller-id, queue, recording,
-         * short-code, signing-key, token, transcription, validation-request,
-         * address-dependent-phone-number, available-phone-number-country-local,
-         * available-phone-number-country-mobile,
-         * available-phone-number-country-toll-free, call-feedback,
-         * call-feedback-summary, call-notification, call-recording,
-         * conference-participant, incoming-phone-number-local,
-         * incoming-phone-number-mobile, incoming-phone-number-toll-free,
-         * message-feedback, message-media, queue-member,
-         * recording-add-on-result, recording-transcription,
-         * recording-add-on-result-payload, sip-credential-list, sip-domain,
-         * sip-ip-access-control-list, sip-credential-list-credential,
-         * sip-domain-credential-list-mapping,
-         * sip-domain-ip-access-control-list-mapping,
-         * sip-ip-access-control-list-ip-address, usage-record, usage-trigger,
-         * usage-record-all-time, usage-record-daily, usage-record-last-month,
-         * usage-record-monthly, usage-record-this-month, usage-record-today,
-         * usage-record-yearly, usage-record-yesterday
+         * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS,
+         * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE,
+         * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY,
+         * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING,
+         * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST,
+         * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL,
+         * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE,
+         * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK,
+         * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING,
+         * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL,
+         * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE,
+         * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER,
+         * RECORDING_ADD_ON_RESULT, RECORDING_TRANSCRIPTION,
+         * RECORDING_ADD_ON_RESULT_PAYLOAD, SIP_CREDENTIAL_LIST, SIP_DOMAIN,
+         * SIP_IP_ACCESS_CONTROL_LIST, SIP_CREDENTIAL_LIST_CREDENTIAL,
+         * SIP_DOMAIN_CREDENTIAL_LIST_MAPPING,
+         * SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING,
+         * SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS, USAGE_RECORD, USAGE_TRIGGER,
+         * USAGE_RECORD_ALL_TIME, USAGE_RECORD_DAILY, USAGE_RECORD_LAST_MONTH,
+         * USAGE_RECORD_MONTHLY, USAGE_RECORD_THIS_MONTH, USAGE_RECORD_TODAY,
+         * USAGE_RECORD_YEARLY, USAGE_RECORD_YESTERDAY
          * 
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java
index 04a09e7..bb7788f 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java
@@ -1065,91 +1065,123 @@ public interface ZendeskEndpointBuilderFactory {
          * 
          * Path parameter: methodName (required)
          * What operation to use
-         * There are 253 enums and the value can be one of:
-         * addTagToOrganisations, addTagToTicket, addTagToTopics,
-         * associateAttachmentsToArticle, changeUserPassword, createArticle,
-         * createArticleTranslation, createAutomation, createCategory,
-         * createCategoryTranslation, createComment, createDynamicContentItem,
-         * createDynamicContentItemVariant, createForum, createGroup,
-         * createGroupMembership, createMacro, createOrUpdateUser,
-         * createOrUpdateUsers, createOrUpdateUsersAsync, createOrganization,
-         * createOrganizationMembership, createOrganizationMemberships,
-         * createOrganizationMembershipsAsync, createOrganizations,
-         * createOrganizationsAsync, createPermissionGroup, createRequest,
-         * createSatisfactionRating, createSection, createSectionTranslation,
-         * createTarget, createTicket, createTicketAsync, createTicketField,
-         * createTicketForm, createTicketFromTweet, createTickets,
-         * createTicketsAsync, createTopic, createTrigger, createUpload,
-         * createUploadArticle, createUser, createUserIdentity,
-         * createUserSegment, createUsers, createUsersAsync, deleteArticle,
-         * deleteArticleAttachment, deleteAttachment, deleteAutomation,
-         * deleteCategory, deleteDynamicContentItem,
-         * deleteDynamicContentItemVariant, deleteForum, deleteGroup,
-         * deleteGroupMembership, deleteOrganization,
-         * deleteOrganizationMembership, deleteOrganizationMemberships,
-         * deletePermissionGroup, deleteSection, deleteSuspendedTicket,
-         * deleteTarget, deleteTicket, deleteTicketField, deleteTickets,
-         * deleteTopic, deleteTranslation, deleteTrigger, deleteUpload,
-         * deleteUser, deleteUserIdentity, deleteUserSegment, getArticle,
-         * getArticleFromSearch, getArticleSubscriptions,
-         * getArticleTranslations, getArticles, getArticlesFromAllLabels,
-         * getArticlesFromAnyLabels, getArticlesFromPage,
-         * getArticlesIncrementally, getAssignableGroupMemberships,
-         * getAssignableGroups, getAttachment, getAttachmentsFromArticle,
-         * getAuthenticatedUser, getAutoCompleteOrganizations, getAutomation,
-         * getAutomations, getBrands, getCCRequests, getCategories, getCategory,
-         * getCategoryTranslations, getComplianceDeletionStatuses,
-         * getCurrentUser, getCustomAgentRoles, getDeletedTickets,
-         * getDynamicContentItem, getDynamicContentItemVariant,
-         * getDynamicContentItemVariants, getDynamicContentItems, getForum,
-         * getForums, getGroup, getGroupMembership, getGroupMembershipByUser,
-         * getGroupMemberships, getGroupOrganization, getGroupUsers, getGroups,
-         * getHelpCenterLocales, getHolidaysForSchedule,
-         * getIncrementalTicketsResult, getJobStatus, getJobStatusAsync,
-         * getJobStatuses, getJobStatusesAsync, getMacro, getMacros,
-         * getOpenRequests, getOrganization, getOrganizationFields,
-         * getOrganizationMembership, getOrganizationMembershipByUser,
-         * getOrganizationMembershipForUser, getOrganizationMemberships,
-         * getOrganizationMembershipsForOrg, getOrganizationMembershipsForUser,
-         * getOrganizationTickets, getOrganizationUsers, getOrganizations,
-         * getOrganizationsIncrementally, getPermissionGroup,
-         * getPermissionGroups, getRecentTickets, getRequest, getRequestComment,
-         * getRequestComments, getRequests, getSatisfactionRating,
-         * getSatisfactionRatings, getSchedule, getSchedules, getSearchResults,
-         * getSection, getSectionSubscriptions, getSectionTranslations,
-         * getSections, getSolvedRequests, getSuspendedTickets, getTarget,
-         * getTargets, getTicket, getTicketAudit, getTicketAudits,
-         * getTicketCollaborators, getTicketComments, getTicketField,
-         * getTicketFields, getTicketForm, getTicketForms, getTicketIncidents,
-         * getTicketMetric, getTicketMetricByTicket, getTicketMetrics,
-         * getTickets, getTicketsByExternalId, getTicketsFromSearch,
-         * getTicketsIncrementally, getTopic, getTopics, getTopicsByUser,
-         * getTrigger, getTriggers, getTwitterMonitors, getUser,
-         * getUserCCDTickets, getUserFields, getUserIdentities, getUserIdentity,
-         * getUserRelatedInfo, getUserRequestedTickets, getUserRequests,
-         * getUserSegment, getUserSegments, getUserSegmentsApplicable,
-         * getUserSubscriptions, getUsers, getUsersByRole,
-         * getUsersIncrementally, importTicket, importTopic,
-         * lookupOrganizationsByExternalId, lookupUserByEmail,
-         * lookupUserByExternalId, macrosShowChangesToTicket,
-         * macrosShowTicketAfterChanges, makePrivateTicketAudit,
-         * markTicketAsSpam, mergeUsers, notifyApp, permanentlyDeleteTicket,
-         * permanentlyDeleteTickets, permanentlyDeleteUser,
-         * queueCreateTicketAsync, removeTagFromOrganisations,
-         * removeTagFromTicket, removeTagFromTopics, requestVerifyUserIdentity,
-         * resetUserPassword, setGroupMembershipAsDefault,
-         * setOrganizationMembershipAsDefault, setTagOnOrganisations,
-         * setTagOnTicket, setTagOnTopics, setUserPrimaryIdentity, suspendUser,
-         * trustTicketAudit, unsuspendUser, updateArticle,
-         * updateArticleTranslation, updateAutomation, updateCategory,
-         * updateCategoryTranslation, updateDynamicContentItem,
-         * updateDynamicContentItemVariant, updateForum, updateGroup,
-         * updateInstallation, updateMacro, updateOrganization,
-         * updateOrganizations, updateOrganizationsAsync, updatePermissionGroup,
-         * updateRequest, updateSection, updateSectionTranslation, updateTicket,
-         * updateTicketField, updateTickets, updateTicketsAsync, updateTopic,
-         * updateTrigger, updateUser, updateUserIdentity, updateUserSegment,
-         * updateUsers, updateUsersAsync, verifyUserIdentity
+         * There are 342 enums and the value can be one of:
+         * ADDTAGTOORGANISATIONS, ADDTAGTOTICKET, ADDTAGTOTOPICS,
+         * ASSOCIATEATTACHMENTSTOARTICLE, CHANGEUSERPASSWORD, CREATEARTICLE,
+         * CREATEARTICLE_1, CREATEARTICLETRANSLATION, CREATEAUTOMATION,
+         * CREATECATEGORY, CREATECATEGORYTRANSLATION, CREATECOMMENT,
+         * CREATEDYNAMICCONTENTITEM, CREATEDYNAMICCONTENTITEMVARIANT,
+         * CREATEFORUM, CREATEGROUP, CREATEGROUPMEMBERSHIP,
+         * CREATEGROUPMEMBERSHIP_1, CREATEMACRO, CREATEORUPDATEUSER,
+         * CREATEORUPDATEUSERS, CREATEORUPDATEUSERS_1, CREATEORUPDATEUSERSASYNC,
+         * CREATEORGANIZATION, CREATEORGANIZATIONMEMBERSHIP,
+         * CREATEORGANIZATIONMEMBERSHIP_1, CREATEORGANIZATIONMEMBERSHIPS,
+         * CREATEORGANIZATIONMEMBERSHIPS_1, CREATEORGANIZATIONMEMBERSHIPSASYNC,
+         * CREATEORGANIZATIONS, CREATEORGANIZATIONS_1, CREATEORGANIZATIONSASYNC,
+         * CREATEPERMISSIONGROUP, CREATEREQUEST, CREATESATISFACTIONRATING,
+         * CREATESATISFACTIONRATING_1, CREATESECTION, CREATESECTIONTRANSLATION,
+         * CREATETARGET, CREATETICKET, CREATETICKETASYNC, CREATETICKETFIELD,
+         * CREATETICKETFORM, CREATETICKETFROMTWEET, CREATETICKETS,
+         * CREATETICKETS_1, CREATETICKETSASYNC, CREATETOPIC, CREATETRIGGER,
+         * CREATEUPLOAD, CREATEUPLOAD_1, CREATEUPLOAD_2, CREATEUPLOADARTICLE,
+         * CREATEUPLOADARTICLE_1, CREATEUSER, CREATEUSERIDENTITY,
+         * CREATEUSERIDENTITY_1, CREATEUSERSEGMENT, CREATEUSERS, CREATEUSERS_1,
+         * CREATEUSERSASYNC, DELETEARTICLE, DELETEARTICLEATTACHMENT,
+         * DELETEARTICLEATTACHMENT_1, DELETEATTACHMENT, DELETEATTACHMENT_1,
+         * DELETEAUTOMATION, DELETECATEGORY, DELETEDYNAMICCONTENTITEM,
+         * DELETEDYNAMICCONTENTITEMVARIANT, DELETEFORUM, DELETEGROUP,
+         * DELETEGROUP_1, DELETEGROUPMEMBERSHIP, DELETEGROUPMEMBERSHIP_1,
+         * DELETEGROUPMEMBERSHIP_2, DELETEGROUPMEMBERSHIP_3, DELETEORGANIZATION,
+         * DELETEORGANIZATION_1, DELETEORGANIZATIONMEMBERSHIP,
+         * DELETEORGANIZATIONMEMBERSHIP_1, DELETEORGANIZATIONMEMBERSHIP_2,
+         * DELETEORGANIZATIONMEMBERSHIPS, DELETEPERMISSIONGROUP,
+         * DELETEPERMISSIONGROUP_1, DELETESECTION, DELETESUSPENDEDTICKET,
+         * DELETESUSPENDEDTICKET_1, DELETETARGET, DELETETICKET, DELETETICKET_1,
+         * DELETETICKETFIELD, DELETETICKETFIELD_1, DELETETICKETS, DELETETOPIC,
+         * DELETETRANSLATION, DELETETRANSLATION_1, DELETETRIGGER, DELETEUPLOAD,
+         * DELETEUPLOAD_1, DELETEUSER, DELETEUSER_1, DELETEUSERIDENTITY,
+         * DELETEUSERIDENTITY_1, DELETEUSERIDENTITY_2, DELETEUSERSEGMENT,
+         * DELETEUSERSEGMENT_1, GETARTICLE, GETARTICLEFROMSEARCH,
+         * GETARTICLEFROMSEARCH_1, GETARTICLESUBSCRIPTIONS,
+         * GETARTICLESUBSCRIPTIONS_1, GETARTICLETRANSLATIONS, GETARTICLES,
+         * GETARTICLES_1, GETARTICLES_2, GETARTICLES_3,
+         * GETARTICLESFROMALLLABELS, GETARTICLESFROMANYLABELS,
+         * GETARTICLESFROMPAGE, GETARTICLESINCREMENTALLY,
+         * GETASSIGNABLEGROUPMEMBERSHIPS, GETASSIGNABLEGROUPMEMBERSHIPS_1,
+         * GETASSIGNABLEGROUPS, GETATTACHMENT, GETATTACHMENT_1,
+         * GETATTACHMENTSFROMARTICLE, GETAUTHENTICATEDUSER,
+         * GETAUTOCOMPLETEORGANIZATIONS, GETAUTOMATION, GETAUTOMATIONS,
+         * GETBRANDS, GETCCREQUESTS, GETCATEGORIES, GETCATEGORY,
+         * GETCATEGORYTRANSLATIONS, GETCOMPLIANCEDELETIONSTATUSES,
+         * GETCURRENTUSER, GETCUSTOMAGENTROLES, GETDELETEDTICKETS,
+         * GETDELETEDTICKETS_1, GETDYNAMICCONTENTITEM,
+         * GETDYNAMICCONTENTITEMVARIANT, GETDYNAMICCONTENTITEMVARIANTS,
+         * GETDYNAMICCONTENTITEMS, GETFORUM, GETFORUMS, GETFORUMS_1, GETGROUP,
+         * GETGROUPMEMBERSHIP, GETGROUPMEMBERSHIP_1, GETGROUPMEMBERSHIPBYUSER,
+         * GETGROUPMEMBERSHIPS, GETGROUPMEMBERSHIPS_1, GETGROUPORGANIZATION,
+         * GETGROUPUSERS, GETGROUPS, GETHELPCENTERLOCALES,
+         * GETHOLIDAYSFORSCHEDULE, GETHOLIDAYSFORSCHEDULE_1,
+         * GETINCREMENTALTICKETSRESULT, GETJOBSTATUS, GETJOBSTATUSASYNC,
+         * GETJOBSTATUSES, GETJOBSTATUSESASYNC, GETMACRO, GETMACROS,
+         * GETOPENREQUESTS, GETORGANIZATION, GETORGANIZATIONFIELDS,
+         * GETORGANIZATIONMEMBERSHIP, GETORGANIZATIONMEMBERSHIPBYUSER,
+         * GETORGANIZATIONMEMBERSHIPFORUSER, GETORGANIZATIONMEMBERSHIPS,
+         * GETORGANIZATIONMEMBERSHIPSFORORG, GETORGANIZATIONMEMBERSHIPSFORUSER,
+         * GETORGANIZATIONTICKETS, GETORGANIZATIONUSERS, GETORGANIZATIONS,
+         * GETORGANIZATIONSINCREMENTALLY, GETPERMISSIONGROUP,
+         * GETPERMISSIONGROUPS, GETRECENTTICKETS, GETREQUEST, GETREQUESTCOMMENT,
+         * GETREQUESTCOMMENT_1, GETREQUESTCOMMENT_2, GETREQUESTCOMMENTS,
+         * GETREQUESTCOMMENTS_1, GETREQUESTS, GETSATISFACTIONRATING,
+         * GETSATISFACTIONRATINGS, GETSCHEDULE, GETSCHEDULE_1, GETSCHEDULES,
+         * GETSEARCHRESULTS, GETSEARCHRESULTS_1, GETSEARCHRESULTS_2,
+         * GETSEARCHRESULTS_3, GETSEARCHRESULTS_4, GETSECTION,
+         * GETSECTIONSUBSCRIPTIONS, GETSECTIONSUBSCRIPTIONS_1,
+         * GETSECTIONTRANSLATIONS, GETSECTIONS, GETSECTIONS_1, GETSECTIONS_2,
+         * GETSOLVEDREQUESTS, GETSUSPENDEDTICKETS, GETTARGET, GETTARGETS,
+         * GETTICKET, GETTICKETAUDIT, GETTICKETAUDIT_1, GETTICKETAUDIT_2,
+         * GETTICKETAUDITS, GETTICKETAUDITS_1, GETTICKETCOLLABORATORS,
+         * GETTICKETCOMMENTS, GETTICKETCOMMENTS_1, GETTICKETFIELD,
+         * GETTICKETFIELDS, GETTICKETFORM, GETTICKETFORMS, GETTICKETINCIDENTS,
+         * GETTICKETMETRIC, GETTICKETMETRICBYTICKET, GETTICKETMETRICS,
+         * GETTICKETS, GETTICKETS_1, GETTICKETSBYEXTERNALID,
+         * GETTICKETSBYEXTERNALID_1, GETTICKETSFROMSEARCH,
+         * GETTICKETSINCREMENTALLY, GETTICKETSINCREMENTALLY_1, GETTOPIC,
+         * GETTOPICS, GETTOPICS_1, GETTOPICS_2, GETTOPICS_3, GETTOPICSBYUSER,
+         * GETTRIGGER, GETTRIGGERS, GETTWITTERMONITORS, GETUSER,
+         * GETUSERCCDTICKETS, GETUSERFIELDS, GETUSERIDENTITIES,
+         * GETUSERIDENTITIES_1, GETUSERIDENTITY, GETUSERIDENTITY_1,
+         * GETUSERIDENTITY_2, GETUSERRELATEDINFO, GETUSERREQUESTEDTICKETS,
+         * GETUSERREQUESTS, GETUSERREQUESTS_1, GETUSERSEGMENT, GETUSERSEGMENTS,
+         * GETUSERSEGMENTS_1, GETUSERSEGMENTSAPPLICABLE, GETUSERSUBSCRIPTIONS,
+         * GETUSERSUBSCRIPTIONS_1, GETUSERS, GETUSERSBYROLE,
+         * GETUSERSINCREMENTALLY, IMPORTTICKET, IMPORTTOPIC,
+         * LOOKUPORGANIZATIONSBYEXTERNALID, LOOKUPUSERBYEMAIL,
+         * LOOKUPUSERBYEXTERNALID, MACROSSHOWCHANGESTOTICKET,
+         * MACROSSHOWTICKETAFTERCHANGES, MAKEPRIVATETICKETAUDIT,
+         * MAKEPRIVATETICKETAUDIT_1, MAKEPRIVATETICKETAUDIT_2, MARKTICKETASSPAM,
+         * MARKTICKETASSPAM_1, MERGEUSERS, NOTIFYAPP, PERMANENTLYDELETETICKET,
+         * PERMANENTLYDELETETICKET_1, PERMANENTLYDELETETICKETS,
+         * PERMANENTLYDELETEUSER, PERMANENTLYDELETEUSER_1,
+         * QUEUECREATETICKETASYNC, REMOVETAGFROMORGANISATIONS,
+         * REMOVETAGFROMTICKET, REMOVETAGFROMTOPICS, REQUESTVERIFYUSERIDENTITY,
+         * REQUESTVERIFYUSERIDENTITY_1, REQUESTVERIFYUSERIDENTITY_2,
+         * RESETUSERPASSWORD, RESETUSERPASSWORD_1, SETGROUPMEMBERSHIPASDEFAULT,
+         * SETORGANIZATIONMEMBERSHIPASDEFAULT, SETTAGONORGANISATIONS,
+         * SETTAGONTICKET, SETTAGONTOPICS, SETUSERPRIMARYIDENTITY,
+         * SETUSERPRIMARYIDENTITY_1, SETUSERPRIMARYIDENTITY_2, SUSPENDUSER,
+         * TRUSTTICKETAUDIT, TRUSTTICKETAUDIT_1, TRUSTTICKETAUDIT_2,
+         * UNSUSPENDUSER, UPDATEARTICLE, UPDATEARTICLETRANSLATION,
+         * UPDATEAUTOMATION, UPDATECATEGORY, UPDATECATEGORYTRANSLATION,
+         * UPDATEDYNAMICCONTENTITEM, UPDATEDYNAMICCONTENTITEMVARIANT,
+         * UPDATEFORUM, UPDATEGROUP, UPDATEINSTALLATION, UPDATEMACRO,
+         * UPDATEORGANIZATION, UPDATEORGANIZATIONS, UPDATEORGANIZATIONS_1,
+         * UPDATEORGANIZATIONSASYNC, UPDATEPERMISSIONGROUP, UPDATEREQUEST,
+         * UPDATESECTION, UPDATESECTIONTRANSLATION, UPDATETICKET,
+         * UPDATETICKETFIELD, UPDATETICKETS, UPDATETICKETS_1,
+         * UPDATETICKETSASYNC, UPDATETOPIC, UPDATETRIGGER, UPDATEUSER,
+         * UPDATEUSERIDENTITY, UPDATEUSERIDENTITY_1, UPDATEUSERSEGMENT,
+         * UPDATEUSERS, UPDATEUSERS_1, UPDATEUSERSASYNC, VERIFYUSERIDENTITY,
+         * VERIFYUSERIDENTITY_1, VERIFYUSERIDENTITY_2
          * 
          * @param path methodName
          */
@@ -1168,91 +1200,123 @@ public interface ZendeskEndpointBuilderFactory {
          * 
          * Path parameter: methodName (required)
          * What operation to use
-         * There are 253 enums and the value can be one of:
-         * addTagToOrganisations, addTagToTicket, addTagToTopics,
-         * associateAttachmentsToArticle, changeUserPassword, createArticle,
-         * createArticleTranslation, createAutomation, createCategory,
-         * createCategoryTranslation, createComment, createDynamicContentItem,
-         * createDynamicContentItemVariant, createForum, createGroup,
-         * createGroupMembership, createMacro, createOrUpdateUser,
-         * createOrUpdateUsers, createOrUpdateUsersAsync, createOrganization,
-         * createOrganizationMembership, createOrganizationMemberships,
-         * createOrganizationMembershipsAsync, createOrganizations,
-         * createOrganizationsAsync, createPermissionGroup, createRequest,
-         * createSatisfactionRating, createSection, createSectionTranslation,
-         * createTarget, createTicket, createTicketAsync, createTicketField,
-         * createTicketForm, createTicketFromTweet, createTickets,
-         * createTicketsAsync, createTopic, createTrigger, createUpload,
-         * createUploadArticle, createUser, createUserIdentity,
-         * createUserSegment, createUsers, createUsersAsync, deleteArticle,
-         * deleteArticleAttachment, deleteAttachment, deleteAutomation,
-         * deleteCategory, deleteDynamicContentItem,
-         * deleteDynamicContentItemVariant, deleteForum, deleteGroup,
-         * deleteGroupMembership, deleteOrganization,
-         * deleteOrganizationMembership, deleteOrganizationMemberships,
-         * deletePermissionGroup, deleteSection, deleteSuspendedTicket,
-         * deleteTarget, deleteTicket, deleteTicketField, deleteTickets,
-         * deleteTopic, deleteTranslation, deleteTrigger, deleteUpload,
-         * deleteUser, deleteUserIdentity, deleteUserSegment, getArticle,
-         * getArticleFromSearch, getArticleSubscriptions,
-         * getArticleTranslations, getArticles, getArticlesFromAllLabels,
-         * getArticlesFromAnyLabels, getArticlesFromPage,
-         * getArticlesIncrementally, getAssignableGroupMemberships,
-         * getAssignableGroups, getAttachment, getAttachmentsFromArticle,
-         * getAuthenticatedUser, getAutoCompleteOrganizations, getAutomation,
-         * getAutomations, getBrands, getCCRequests, getCategories, getCategory,
-         * getCategoryTranslations, getComplianceDeletionStatuses,
-         * getCurrentUser, getCustomAgentRoles, getDeletedTickets,
-         * getDynamicContentItem, getDynamicContentItemVariant,
-         * getDynamicContentItemVariants, getDynamicContentItems, getForum,
-         * getForums, getGroup, getGroupMembership, getGroupMembershipByUser,
-         * getGroupMemberships, getGroupOrganization, getGroupUsers, getGroups,
-         * getHelpCenterLocales, getHolidaysForSchedule,
-         * getIncrementalTicketsResult, getJobStatus, getJobStatusAsync,
-         * getJobStatuses, getJobStatusesAsync, getMacro, getMacros,
-         * getOpenRequests, getOrganization, getOrganizationFields,
-         * getOrganizationMembership, getOrganizationMembershipByUser,
-         * getOrganizationMembershipForUser, getOrganizationMemberships,
-         * getOrganizationMembershipsForOrg, getOrganizationMembershipsForUser,
-         * getOrganizationTickets, getOrganizationUsers, getOrganizations,
-         * getOrganizationsIncrementally, getPermissionGroup,
-         * getPermissionGroups, getRecentTickets, getRequest, getRequestComment,
-         * getRequestComments, getRequests, getSatisfactionRating,
-         * getSatisfactionRatings, getSchedule, getSchedules, getSearchResults,
-         * getSection, getSectionSubscriptions, getSectionTranslations,
-         * getSections, getSolvedRequests, getSuspendedTickets, getTarget,
-         * getTargets, getTicket, getTicketAudit, getTicketAudits,
-         * getTicketCollaborators, getTicketComments, getTicketField,
-         * getTicketFields, getTicketForm, getTicketForms, getTicketIncidents,
-         * getTicketMetric, getTicketMetricByTicket, getTicketMetrics,
-         * getTickets, getTicketsByExternalId, getTicketsFromSearch,
-         * getTicketsIncrementally, getTopic, getTopics, getTopicsByUser,
-         * getTrigger, getTriggers, getTwitterMonitors, getUser,
-         * getUserCCDTickets, getUserFields, getUserIdentities, getUserIdentity,
-         * getUserRelatedInfo, getUserRequestedTickets, getUserRequests,
-         * getUserSegment, getUserSegments, getUserSegmentsApplicable,
-         * getUserSubscriptions, getUsers, getUsersByRole,
-         * getUsersIncrementally, importTicket, importTopic,
-         * lookupOrganizationsByExternalId, lookupUserByEmail,
-         * lookupUserByExternalId, macrosShowChangesToTicket,
-         * macrosShowTicketAfterChanges, makePrivateTicketAudit,
-         * markTicketAsSpam, mergeUsers, notifyApp, permanentlyDeleteTicket,
-         * permanentlyDeleteTickets, permanentlyDeleteUser,
-         * queueCreateTicketAsync, removeTagFromOrganisations,
-         * removeTagFromTicket, removeTagFromTopics, requestVerifyUserIdentity,
-         * resetUserPassword, setGroupMembershipAsDefault,
-         * setOrganizationMembershipAsDefault, setTagOnOrganisations,
-         * setTagOnTicket, setTagOnTopics, setUserPrimaryIdentity, suspendUser,
-         * trustTicketAudit, unsuspendUser, updateArticle,
-         * updateArticleTranslation, updateAutomation, updateCategory,
-         * updateCategoryTranslation, updateDynamicContentItem,
-         * updateDynamicContentItemVariant, updateForum, updateGroup,
-         * updateInstallation, updateMacro, updateOrganization,
-         * updateOrganizations, updateOrganizationsAsync, updatePermissionGroup,
-         * updateRequest, updateSection, updateSectionTranslation, updateTicket,
-         * updateTicketField, updateTickets, updateTicketsAsync, updateTopic,
-         * updateTrigger, updateUser, updateUserIdentity, updateUserSegment,
-         * updateUsers, updateUsersAsync, verifyUserIdentity
+         * There are 342 enums and the value can be one of:
+         * ADDTAGTOORGANISATIONS, ADDTAGTOTICKET, ADDTAGTOTOPICS,
+         * ASSOCIATEATTACHMENTSTOARTICLE, CHANGEUSERPASSWORD, CREATEARTICLE,
+         * CREATEARTICLE_1, CREATEARTICLETRANSLATION, CREATEAUTOMATION,
+         * CREATECATEGORY, CREATECATEGORYTRANSLATION, CREATECOMMENT,
+         * CREATEDYNAMICCONTENTITEM, CREATEDYNAMICCONTENTITEMVARIANT,
+         * CREATEFORUM, CREATEGROUP, CREATEGROUPMEMBERSHIP,
+         * CREATEGROUPMEMBERSHIP_1, CREATEMACRO, CREATEORUPDATEUSER,
+         * CREATEORUPDATEUSERS, CREATEORUPDATEUSERS_1, CREATEORUPDATEUSERSASYNC,
+         * CREATEORGANIZATION, CREATEORGANIZATIONMEMBERSHIP,
+         * CREATEORGANIZATIONMEMBERSHIP_1, CREATEORGANIZATIONMEMBERSHIPS,
+         * CREATEORGANIZATIONMEMBERSHIPS_1, CREATEORGANIZATIONMEMBERSHIPSASYNC,
+         * CREATEORGANIZATIONS, CREATEORGANIZATIONS_1, CREATEORGANIZATIONSASYNC,
+         * CREATEPERMISSIONGROUP, CREATEREQUEST, CREATESATISFACTIONRATING,
+         * CREATESATISFACTIONRATING_1, CREATESECTION, CREATESECTIONTRANSLATION,
+         * CREATETARGET, CREATETICKET, CREATETICKETASYNC, CREATETICKETFIELD,
+         * CREATETICKETFORM, CREATETICKETFROMTWEET, CREATETICKETS,
+         * CREATETICKETS_1, CREATETICKETSASYNC, CREATETOPIC, CREATETRIGGER,
+         * CREATEUPLOAD, CREATEUPLOAD_1, CREATEUPLOAD_2, CREATEUPLOADARTICLE,
+         * CREATEUPLOADARTICLE_1, CREATEUSER, CREATEUSERIDENTITY,
+         * CREATEUSERIDENTITY_1, CREATEUSERSEGMENT, CREATEUSERS, CREATEUSERS_1,
+         * CREATEUSERSASYNC, DELETEARTICLE, DELETEARTICLEATTACHMENT,
+         * DELETEARTICLEATTACHMENT_1, DELETEATTACHMENT, DELETEATTACHMENT_1,
+         * DELETEAUTOMATION, DELETECATEGORY, DELETEDYNAMICCONTENTITEM,
+         * DELETEDYNAMICCONTENTITEMVARIANT, DELETEFORUM, DELETEGROUP,
+         * DELETEGROUP_1, DELETEGROUPMEMBERSHIP, DELETEGROUPMEMBERSHIP_1,
+         * DELETEGROUPMEMBERSHIP_2, DELETEGROUPMEMBERSHIP_3, DELETEORGANIZATION,
+         * DELETEORGANIZATION_1, DELETEORGANIZATIONMEMBERSHIP,
+         * DELETEORGANIZATIONMEMBERSHIP_1, DELETEORGANIZATIONMEMBERSHIP_2,
+         * DELETEORGANIZATIONMEMBERSHIPS, DELETEPERMISSIONGROUP,
+         * DELETEPERMISSIONGROUP_1, DELETESECTION, DELETESUSPENDEDTICKET,
+         * DELETESUSPENDEDTICKET_1, DELETETARGET, DELETETICKET, DELETETICKET_1,
+         * DELETETICKETFIELD, DELETETICKETFIELD_1, DELETETICKETS, DELETETOPIC,
+         * DELETETRANSLATION, DELETETRANSLATION_1, DELETETRIGGER, DELETEUPLOAD,
+         * DELETEUPLOAD_1, DELETEUSER, DELETEUSER_1, DELETEUSERIDENTITY,
+         * DELETEUSERIDENTITY_1, DELETEUSERIDENTITY_2, DELETEUSERSEGMENT,
+         * DELETEUSERSEGMENT_1, GETARTICLE, GETARTICLEFROMSEARCH,
+         * GETARTICLEFROMSEARCH_1, GETARTICLESUBSCRIPTIONS,
+         * GETARTICLESUBSCRIPTIONS_1, GETARTICLETRANSLATIONS, GETARTICLES,
+         * GETARTICLES_1, GETARTICLES_2, GETARTICLES_3,
+         * GETARTICLESFROMALLLABELS, GETARTICLESFROMANYLABELS,
+         * GETARTICLESFROMPAGE, GETARTICLESINCREMENTALLY,
+         * GETASSIGNABLEGROUPMEMBERSHIPS, GETASSIGNABLEGROUPMEMBERSHIPS_1,
+         * GETASSIGNABLEGROUPS, GETATTACHMENT, GETATTACHMENT_1,
+         * GETATTACHMENTSFROMARTICLE, GETAUTHENTICATEDUSER,
+         * GETAUTOCOMPLETEORGANIZATIONS, GETAUTOMATION, GETAUTOMATIONS,
+         * GETBRANDS, GETCCREQUESTS, GETCATEGORIES, GETCATEGORY,
+         * GETCATEGORYTRANSLATIONS, GETCOMPLIANCEDELETIONSTATUSES,
+         * GETCURRENTUSER, GETCUSTOMAGENTROLES, GETDELETEDTICKETS,
+         * GETDELETEDTICKETS_1, GETDYNAMICCONTENTITEM,
+         * GETDYNAMICCONTENTITEMVARIANT, GETDYNAMICCONTENTITEMVARIANTS,
+         * GETDYNAMICCONTENTITEMS, GETFORUM, GETFORUMS, GETFORUMS_1, GETGROUP,
+         * GETGROUPMEMBERSHIP, GETGROUPMEMBERSHIP_1, GETGROUPMEMBERSHIPBYUSER,
+         * GETGROUPMEMBERSHIPS, GETGROUPMEMBERSHIPS_1, GETGROUPORGANIZATION,
+         * GETGROUPUSERS, GETGROUPS, GETHELPCENTERLOCALES,
+         * GETHOLIDAYSFORSCHEDULE, GETHOLIDAYSFORSCHEDULE_1,
+         * GETINCREMENTALTICKETSRESULT, GETJOBSTATUS, GETJOBSTATUSASYNC,
+         * GETJOBSTATUSES, GETJOBSTATUSESASYNC, GETMACRO, GETMACROS,
+         * GETOPENREQUESTS, GETORGANIZATION, GETORGANIZATIONFIELDS,
+         * GETORGANIZATIONMEMBERSHIP, GETORGANIZATIONMEMBERSHIPBYUSER,
+         * GETORGANIZATIONMEMBERSHIPFORUSER, GETORGANIZATIONMEMBERSHIPS,
+         * GETORGANIZATIONMEMBERSHIPSFORORG, GETORGANIZATIONMEMBERSHIPSFORUSER,
+         * GETORGANIZATIONTICKETS, GETORGANIZATIONUSERS, GETORGANIZATIONS,
+         * GETORGANIZATIONSINCREMENTALLY, GETPERMISSIONGROUP,
+         * GETPERMISSIONGROUPS, GETRECENTTICKETS, GETREQUEST, GETREQUESTCOMMENT,
+         * GETREQUESTCOMMENT_1, GETREQUESTCOMMENT_2, GETREQUESTCOMMENTS,
+         * GETREQUESTCOMMENTS_1, GETREQUESTS, GETSATISFACTIONRATING,
+         * GETSATISFACTIONRATINGS, GETSCHEDULE, GETSCHEDULE_1, GETSCHEDULES,
+         * GETSEARCHRESULTS, GETSEARCHRESULTS_1, GETSEARCHRESULTS_2,
+         * GETSEARCHRESULTS_3, GETSEARCHRESULTS_4, GETSECTION,
+         * GETSECTIONSUBSCRIPTIONS, GETSECTIONSUBSCRIPTIONS_1,
+         * GETSECTIONTRANSLATIONS, GETSECTIONS, GETSECTIONS_1, GETSECTIONS_2,
+         * GETSOLVEDREQUESTS, GETSUSPENDEDTICKETS, GETTARGET, GETTARGETS,
+         * GETTICKET, GETTICKETAUDIT, GETTICKETAUDIT_1, GETTICKETAUDIT_2,
+         * GETTICKETAUDITS, GETTICKETAUDITS_1, GETTICKETCOLLABORATORS,
+         * GETTICKETCOMMENTS, GETTICKETCOMMENTS_1, GETTICKETFIELD,
+         * GETTICKETFIELDS, GETTICKETFORM, GETTICKETFORMS, GETTICKETINCIDENTS,
+         * GETTICKETMETRIC, GETTICKETMETRICBYTICKET, GETTICKETMETRICS,
+         * GETTICKETS, GETTICKETS_1, GETTICKETSBYEXTERNALID,
+         * GETTICKETSBYEXTERNALID_1, GETTICKETSFROMSEARCH,
+         * GETTICKETSINCREMENTALLY, GETTICKETSINCREMENTALLY_1, GETTOPIC,
+         * GETTOPICS, GETTOPICS_1, GETTOPICS_2, GETTOPICS_3, GETTOPICSBYUSER,
+         * GETTRIGGER, GETTRIGGERS, GETTWITTERMONITORS, GETUSER,
+         * GETUSERCCDTICKETS, GETUSERFIELDS, GETUSERIDENTITIES,
+         * GETUSERIDENTITIES_1, GETUSERIDENTITY, GETUSERIDENTITY_1,
+         * GETUSERIDENTITY_2, GETUSERRELATEDINFO, GETUSERREQUESTEDTICKETS,
+         * GETUSERREQUESTS, GETUSERREQUESTS_1, GETUSERSEGMENT, GETUSERSEGMENTS,
+         * GETUSERSEGMENTS_1, GETUSERSEGMENTSAPPLICABLE, GETUSERSUBSCRIPTIONS,
+         * GETUSERSUBSCRIPTIONS_1, GETUSERS, GETUSERSBYROLE,
+         * GETUSERSINCREMENTALLY, IMPORTTICKET, IMPORTTOPIC,
+         * LOOKUPORGANIZATIONSBYEXTERNALID, LOOKUPUSERBYEMAIL,
+         * LOOKUPUSERBYEXTERNALID, MACROSSHOWCHANGESTOTICKET,
+         * MACROSSHOWTICKETAFTERCHANGES, MAKEPRIVATETICKETAUDIT,
+         * MAKEPRIVATETICKETAUDIT_1, MAKEPRIVATETICKETAUDIT_2, MARKTICKETASSPAM,
+         * MARKTICKETASSPAM_1, MERGEUSERS, NOTIFYAPP, PERMANENTLYDELETETICKET,
+         * PERMANENTLYDELETETICKET_1, PERMANENTLYDELETETICKETS,
+         * PERMANENTLYDELETEUSER, PERMANENTLYDELETEUSER_1,
+         * QUEUECREATETICKETASYNC, REMOVETAGFROMORGANISATIONS,
+         * REMOVETAGFROMTICKET, REMOVETAGFROMTOPICS, REQUESTVERIFYUSERIDENTITY,
+         * REQUESTVERIFYUSERIDENTITY_1, REQUESTVERIFYUSERIDENTITY_2,
+         * RESETUSERPASSWORD, RESETUSERPASSWORD_1, SETGROUPMEMBERSHIPASDEFAULT,
+         * SETORGANIZATIONMEMBERSHIPASDEFAULT, SETTAGONORGANISATIONS,
+         * SETTAGONTICKET, SETTAGONTOPICS, SETUSERPRIMARYIDENTITY,
+         * SETUSERPRIMARYIDENTITY_1, SETUSERPRIMARYIDENTITY_2, SUSPENDUSER,
+         * TRUSTTICKETAUDIT, TRUSTTICKETAUDIT_1, TRUSTTICKETAUDIT_2,
+         * UNSUSPENDUSER, UPDATEARTICLE, UPDATEARTICLETRANSLATION,
+         * UPDATEAUTOMATION, UPDATECATEGORY, UPDATECATEGORYTRANSLATION,
+         * UPDATEDYNAMICCONTENTITEM, UPDATEDYNAMICCONTENTITEMVARIANT,
+         * UPDATEFORUM, UPDATEGROUP, UPDATEINSTALLATION, UPDATEMACRO,
+         * UPDATEORGANIZATION, UPDATEORGANIZATIONS, UPDATEORGANIZATIONS_1,
+         * UPDATEORGANIZATIONSASYNC, UPDATEPERMISSIONGROUP, UPDATEREQUEST,
+         * UPDATESECTION, UPDATESECTIONTRANSLATION, UPDATETICKET,
+         * UPDATETICKETFIELD, UPDATETICKETS, UPDATETICKETS_1,
+         * UPDATETICKETSASYNC, UPDATETOPIC, UPDATETRIGGER, UPDATEUSER,
+         * UPDATEUSERIDENTITY, UPDATEUSERIDENTITY_1, UPDATEUSERSEGMENT,
+         * UPDATEUSERS, UPDATEUSERS_1, UPDATEUSERSASYNC, VERIFYUSERIDENTITY,
+         * VERIFYUSERIDENTITY_1, VERIFYUSERIDENTITY_2
          * 
          * @param componentName to use a custom component name for the endpoint
          * instead of the default name


[camel] 01/10: CAMEL-15498: Add java source parser for discovering API methods for API based components.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 91940489d4eb091f05a1266201cfdc1019711183
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 09:35:47 2020 +0200

    CAMEL-15498:  Add java source parser for discovering API methods for API based components.
---
 .../maven/camel-api-component-maven-plugin/pom.xml |   8 +-
 .../maven/JavaSourceApiMethodGeneratorMojo.java    | 183 +++++++++++++++++++++
 .../org/apache/camel/maven/JavaSourceParser.java   | 163 ++++++++++++++++++
 .../org/apache/camel/component/test/TestProxy.java |  25 +++
 .../apache/camel/maven/JavaSourceParserTest.java   |  46 ++++++
 .../src/test/resources/AddressGateway.java         |  90 ++++++++++
 6 files changed, 514 insertions(+), 1 deletion(-)

diff --git a/tooling/maven/camel-api-component-maven-plugin/pom.xml b/tooling/maven/camel-api-component-maven-plugin/pom.xml
index 6b2367e..1407fae 100644
--- a/tooling/maven/camel-api-component-maven-plugin/pom.xml
+++ b/tooling/maven/camel-api-component-maven-plugin/pom.xml
@@ -92,7 +92,6 @@
             <groupId>org.sonatype.plexus</groupId>
             <artifactId>plexus-build-api</artifactId>
         </dependency>
-
         <dependency>
             <groupId>org.apache.maven.plugin-tools</groupId>
             <artifactId>maven-plugin-annotations</artifactId>
@@ -130,6 +129,13 @@
             <version>${velocity-version}</version>
         </dependency>
 
+        <!-- for java source parsing -->
+        <dependency>
+            <groupId>org.jboss.forge.roaster</groupId>
+            <artifactId>roaster-jdt</artifactId>
+            <version>${roaster-version}</version>
+        </dependency>
+
         <!-- logging -->
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
new file mode 100644
index 0000000..4a2c9d3
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceApiMethodGeneratorMojo.java
@@ -0,0 +1,183 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven;
+
+import java.io.InputStream;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.apache.camel.support.component.ApiMethodParser;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.plugins.annotations.ResolutionScope;
+
+/**
+ * Parses ApiMethod signatures from source.
+ */
+@Mojo(name = "fromSource", requiresDependencyResolution = ResolutionScope.TEST, requiresProject = true,
+      defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true)
+public class JavaSourceApiMethodGeneratorMojo extends AbstractApiMethodGeneratorMojo {
+
+    static {
+        // set Java AWT to headless before using Swing HTML parser
+        System.setProperty("java.awt.headless", "true");
+    }
+
+    protected static final String DEFAULT_EXCLUDE_PACKAGES = "javax?\\.lang.*";
+    private static final Pattern RAW_ARGTYPES_PATTERN = Pattern.compile("\\s*([^<\\s,]+)\\s*(<[^>]+>)?\\s*,?");
+
+    @Parameter(property = PREFIX + "excludePackages", defaultValue = DEFAULT_EXCLUDE_PACKAGES)
+    protected String excludePackages;
+
+    @Parameter(property = PREFIX + "excludeClasses")
+    protected String excludeClasses;
+
+    @Parameter(property = PREFIX + "includeMethods")
+    protected String includeMethods;
+
+    @Parameter(property = PREFIX + "excludeMethods")
+    protected String excludeMethods;
+
+    @Parameter(property = PREFIX + "includeStaticMethods")
+    protected Boolean includeStaticMethods;
+
+    @Override
+    public List<SignatureModel> getSignatureList() throws MojoExecutionException {
+        // signatures as map from signature with no arg names to arg names from JavadocParser
+        Map<String, SignatureModel> result = new LinkedHashMap<>();
+
+        final Pattern packagePatterns = Pattern.compile(excludePackages);
+        final Pattern classPatterns = (excludeClasses != null) ? Pattern.compile(excludeClasses) : null;
+        final Pattern includeMethodPatterns = (includeMethods != null) ? Pattern.compile(includeMethods) : null;
+        final Pattern excludeMethodPatterns = (excludeMethods != null) ? Pattern.compile(excludeMethods) : null;
+
+        // for proxy class and super classes not matching excluded packages or classes
+        for (Class<?> aClass = getProxyType();
+             aClass != null && !packagePatterns.matcher(aClass.getPackage().getName()).matches()
+                     && (classPatterns == null || !classPatterns.matcher(aClass.getSimpleName()).matches());
+             aClass = aClass.getSuperclass()) {
+
+            log.debug("Processing " + aClass.getName());
+            final String sourcePath = aClass.getName().replace('.', '/') + ".java";
+
+            // read source java text for class
+
+            try (InputStream inputStream = getProjectClassLoader().getResourceAsStream(sourcePath)) {
+                if (inputStream == null) {
+                    log.debug("Java source not found on classpath for " + aClass.getName());
+                    break;
+                }
+
+                JavaSourceParser parser = new JavaSourceParser();
+                parser.parse(inputStream);
+
+                // look for parse errors
+                final String parseError = parser.getErrorMessage();
+                if (parseError != null) {
+                    throw new MojoExecutionException(parseError);
+                }
+
+                // get public method signature
+                final Map<String, String> methodMap = parser.getMethodText();
+                for (String method : parser.getMethods()) {
+                    if (!result.containsKey(method)
+                            && (includeMethodPatterns == null || includeMethodPatterns.matcher(method).find())
+                            && (excludeMethodPatterns == null || !excludeMethodPatterns.matcher(method).find())) {
+
+                        final int leftBracket = method.indexOf('(');
+                        final String name = method.substring(0, leftBracket);
+                        final String args = method.substring(leftBracket + 1, method.length() - 1);
+                        String[] types;
+                        if (args.isEmpty()) {
+                            types = new String[0];
+                        } else {
+                            // get raw types from args
+                            final List<String> rawTypes = new ArrayList<>();
+                            final Matcher argTypesMatcher = RAW_ARGTYPES_PATTERN.matcher(args);
+                            while (argTypesMatcher.find()) {
+                                rawTypes.add(argTypesMatcher.group(1));
+                            }
+                            types = rawTypes.toArray(new String[rawTypes.size()]);
+                        }
+                        final String resultType = getResultType(aClass, name, types);
+                        if (resultType != null) {
+                            SignatureModel model = new SignatureModel();
+                            String signature = resultType + " " + name + methodMap.get(method);
+                            model.setSignature(signature);
+                            Map<String, String> params = parser.getParameters().get(name);
+                            model.setParameters(params);
+                            result.put(method, model);
+                        }
+                    }
+                }
+            } catch (Exception e) {
+                throw new MojoExecutionException(e.getMessage(), e);
+            }
+        }
+
+        if (result.isEmpty()) {
+            throw new MojoExecutionException(
+                    "No public non-static methods found, "
+                                             + "make sure source JAR is available as project scoped=provided and optional=true dependency");
+        }
+        return new ArrayList<>(result.values());
+    }
+
+    private String getResultType(Class<?> aClass, String name, String[] types) throws MojoExecutionException {
+        Class<?>[] argTypes = new Class<?>[types.length];
+        final ClassLoader classLoader = getProjectClassLoader();
+        for (int i = 0; i < types.length; i++) {
+            try {
+                try {
+                    argTypes[i] = ApiMethodParser.forName(types[i], classLoader);
+                } catch (ClassNotFoundException e) {
+                    throw new MojoExecutionException(e.getMessage(), e);
+                }
+            } catch (IllegalArgumentException e) {
+                throw new MojoExecutionException(e.getCause().getMessage(), e.getCause());
+            }
+        }
+
+        // return null for non-public methods, and for non-static methods if includeStaticMethods is null or false
+        String result = null;
+        try {
+            final Method method = aClass.getMethod(name, argTypes);
+            int modifiers = method.getModifiers();
+            if (!Modifier.isStatic(modifiers) || Boolean.TRUE.equals(includeStaticMethods)) {
+                result = method.getReturnType().getName();
+            }
+        } catch (NoSuchMethodException e) {
+            // could be a non-public method
+            try {
+                aClass.getDeclaredMethod(name, argTypes);
+            } catch (NoSuchMethodException e1) {
+                throw new MojoExecutionException(e1.getMessage(), e1);
+            }
+        }
+
+        return result;
+    }
+
+}
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
new file mode 100644
index 0000000..730d5f5
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavaSourceParser.java
@@ -0,0 +1,163 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven;
+
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.jboss.forge.roaster.Roaster;
+import org.jboss.forge.roaster.model.JavaDocTag;
+import org.jboss.forge.roaster.model.source.JavaClassSource;
+import org.jboss.forge.roaster.model.source.MethodSource;
+import org.jboss.forge.roaster.model.source.ParameterSource;
+
+import static org.apache.camel.tooling.util.JavadocHelper.sanitizeDescription;
+
+/**
+ * Parses source java to get Method Signatures from Method Summary.
+ */
+public class JavaSourceParser {
+
+    private List<String> methods = new ArrayList<>();
+    private Map<String, String> methodText = new HashMap<>();
+    private Map<String, Map<String, String>> parameters = new LinkedHashMap<>();
+    private String errorMessage;
+
+    public synchronized void parse(InputStream in) throws Exception {
+        JavaClassSource clazz = (JavaClassSource) Roaster.parse(in);
+
+        for (MethodSource ms : clazz.getMethods()) {
+            // should not be constructor and must be public
+            if (!ms.isPublic() || ms.isConstructor()) {
+                continue;
+            }
+            String signature = ms.toSignature();
+            // roaster signatures has return values at end
+            // public create(String, AddressRequest) : Result
+
+            int pos = signature.indexOf(':');
+            if (pos != -1) {
+                String result = signature.substring(pos + 1).trim();
+                // lets use FQN types
+                result = clazz.resolveType(result);
+
+                List<JavaDocTag> params = ms.getJavaDoc().getTags("@param");
+
+                Map<String, String> docs = new LinkedHashMap<>();
+                StringBuilder sb = new StringBuilder();
+                sb.append("public ").append(result).append(" ").append(ms.getName()).append("(");
+                List<ParameterSource> list = ms.getParameters();
+                for (int i = 0; i < list.size(); i++) {
+                    ParameterSource ps = list.get(i);
+                    String name = ps.getName();
+                    String type = ps.getType().getQualifiedNameWithGenerics();
+                    if (type.startsWith("java.lang.")) {
+                        type = type.substring(10);
+                    }
+                    sb.append(type).append(" ").append(name);
+                    if (i < list.size() - 1) {
+                        sb.append(", ");
+                    }
+
+                    // need documentation for this parameter
+                    docs.put(name, getJavadocValue(params, name));
+                }
+                sb.append(");");
+
+                signature = sb.toString();
+                parameters.put(ms.getName(), docs);
+            }
+
+            methods.add(signature);
+            methodText.put(ms.getName(), signature);
+        }
+    }
+
+    private static String getJavadocValue(List<JavaDocTag> params, String name) {
+        for (JavaDocTag tag : params) {
+            String key = tag.getValue();
+            if (key.startsWith(name + " ")) {
+                String desc = key.substring(name.length() + 1);
+                desc = sanitizeJavaDocValue(desc);
+                return desc;
+            }
+        }
+        return "";
+    }
+
+    private static String sanitizeJavaDocValue(String desc) {
+        // remove leading - and whitespaces
+        while (desc.startsWith("-")) {
+            desc = desc.substring(1);
+            desc = desc.trim();
+        }
+        desc = sanitizeDescription(desc, false);
+        if (desc != null && !desc.isEmpty()) {
+            // upper case first letter
+            char ch = desc.charAt(0);
+            if (Character.isAlphabetic(ch) && !Character.isUpperCase(ch)) {
+                desc = Character.toUpperCase(ch) + desc.substring(1);
+            }
+            // remove ending dot if there is the text is just alpha or whitespace
+            boolean removeDot = true;
+            char[] arr = desc.toCharArray();
+            for (int i = 0; i < arr.length; i++) {
+                ch = arr[i];
+                boolean accept = Character.isAlphabetic(ch) || Character.isWhitespace(ch) || ch == '\''
+                        || ch == '-' || ch == '_';
+                boolean last = i == arr.length - 1;
+                accept |= last && ch == '.';
+                if (!accept) {
+                    removeDot = false;
+                    break;
+                }
+            }
+            if (removeDot && desc.endsWith(".")) {
+                desc = desc.substring(0, desc.length() - 1);
+            }
+            desc = desc.trim();
+        }
+        return desc;
+    }
+
+    public void reset() {
+        methods.clear();
+        methodText.clear();
+        parameters.clear();
+        errorMessage = null;
+    }
+
+    public String getErrorMessage() {
+        return errorMessage;
+    }
+
+    public List<String> getMethods() {
+        return methods;
+    }
+
+    public Map<String, String> getMethodText() {
+        return methodText;
+    }
+
+    public Map<String, Map<String, String>> getParameters() {
+        return parameters;
+    }
+}
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/component/test/TestProxy.java b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/component/test/TestProxy.java
index 47bedde..4772e83 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/component/test/TestProxy.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/component/test/TestProxy.java
@@ -21,22 +21,47 @@ import java.util.List;
 import java.util.Map;
 
 public class TestProxy {
+
+    /**
+     * Just saying hi
+     */
     public String sayHi() {
         return "Hello!";
     }
 
+    /**
+     * Just saying hi
+     *
+     * @param hello should we say hello or hi
+     */
     public String sayHi(boolean hello) {
         return hello ? "Hello!" : "Hi!";
     }
 
+    /**
+     * Just saying hi
+     *
+     * @param name your name
+     */
     public String sayHi(final String name) {
         return "Hello " + name;
     }
 
+    /**
+     * Greeting method for me
+     *
+     * @param name your name
+     */
     public final String greetMe(final String name) {
         return "Greetings " + name;
     }
 
+    /**
+     * Greeting method for us
+     *
+     * @param name1 your name
+     * @param name2 my name
+     */
     public final String greetUs(final String name1, String name2) {
         return "Greetings " + name1 + ", " + name2;
     }
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
new file mode 100644
index 0000000..369afa0
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/java/org/apache/camel/maven/JavaSourceParserTest.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+/**
+ * Test JavaSourceParser.
+ */
+public class JavaSourceParserTest {
+
+    @Test
+    public void testGetMethods() throws Exception {
+        final JavaSourceParser parser = new JavaSourceParser();
+
+        parser.parse(JavaSourceParserTest.class.getResourceAsStream("/AddressGateway.java"));
+        assertEquals(4, parser.getMethods().size());
+
+        assertEquals(
+                "public com.braintreegateway.Result create(String customerId, com.braintreegateway.AddressRequest request);",
+                parser.getMethods().get(0));
+        assertEquals(2, parser.getParameters().get("create").size());
+        assertEquals("The id of the Customer", parser.getParameters().get("create").get("customerId"));
+        assertEquals("The request object", parser.getParameters().get("create").get("request"));
+
+        parser.reset();
+
+    }
+
+}
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/test/resources/AddressGateway.java b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/AddressGateway.java
new file mode 100644
index 0000000..14c25d7
--- /dev/null
+++ b/tooling/maven/camel-api-component-maven-plugin/src/test/resources/AddressGateway.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.braintreegateway;
+
+import com.braintreegateway.exceptions.NotFoundException;
+import com.braintreegateway.util.Http;
+import com.braintreegateway.util.NodeWrapper;
+
+/**
+ * Provides methods to create, delete, find, and update {@link Address} objects.
+ * This class does not need to be instantiated directly.
+ * Instead, use {@link BraintreeGateway#address()} to get an instance of this class:
+ *
+ * <pre>
+ * BraintreeGateway gateway = new BraintreeGateway(...);
+ * gateway.address().create(...)
+ * </pre>
+ */
+public class AddressGateway {
+
+    private Http http;
+    private Configuration configuration;
+
+    public AddressGateway(Http http, Configuration configuration) {
+        this.http = http;
+        this.configuration = configuration;
+    }
+
+    /**
+     * Creates an {@link Address} for a {@link Customer}.
+     * @param customerId the id of the {@link Customer}.
+     * @param request the request object.
+     * @return a {@link Result} object.
+     */
+    public Result<Address> create(String customerId, AddressRequest request) {
+        NodeWrapper node = http.post(configuration.getMerchantPath() + "/customers/" + customerId + "/addresses", request);
+        return new Result<Address>(node, Address.class);
+    }
+
+    /**
+     * Deletes a Customer's {@link Address}.
+     * @param customerId the id of the {@link Customer}.
+     * @param id the id of the {@link Address} to delete.
+     * @return a {@link Result} object.
+     */
+    public Result<Address> delete(String customerId, String id) {
+        http.delete(configuration.getMerchantPath() + "/customers/" + customerId + "/addresses/" + id);
+        return new Result<Address>();
+    }
+
+    /**
+     * Finds a Customer's {@link Address}.
+     * @param customerId the id of the {@link Customer}.
+     * @param id the id of the {@link Address}.
+     * @return the {@link Address} or raises a {@link com.braintreegateway.exceptions.NotFoundException}.
+     */
+    public Address find(String customerId, String id) {
+        if(customerId == null || customerId.trim().equals("") || id == null || id.trim().equals(""))
+            throw new NotFoundException();
+
+        return new Address(http.get(configuration.getMerchantPath() + "/customers/" + customerId + "/addresses/" + id));
+    }
+
+
+    /**
+     * Updates a Customer's {@link Address}.
+     * @param customerId the id of the {@link Customer}.
+     * @param id the id of the {@link Address}.
+     * @param request the request object containing the {@link AddressRequest} parameters.
+     * @return the {@link Address} or raises a {@link com.braintreegateway.exceptions.NotFoundException}.
+     */
+    public Result<Address> update(String customerId, String id, AddressRequest request) {
+        NodeWrapper node = http.put(configuration.getMerchantPath() + "/customers/" + customerId + "/addresses/" + id, request);
+        return new Result<Address>(node, Address.class);
+    }
+}


[camel] 09/10: CAMEL-15478: Nicer enum constant names

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4674724ebcf856ce082588350ef1a3dbefd5e2c6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 3 13:26:14 2020 +0200

    CAMEL-15478: Nicer enum constant names
---
 .../braintree/internal/BraintreeApiCollection.java | 54 +++++++++++-----------
 .../braintree/internal/BraintreeApiName.java       | 18 ++++----
 .../camel/component/braintree/braintree.json       |  2 +-
 .../src/main/docs/braintree-component.adoc         |  2 +-
 .../braintree/BraintreeComponentTest.java          |  4 +-
 .../builder/endpoint/StaticEndpointBuilders.java   | 20 ++++----
 .../dsl/BraintreeEndpointBuilderFactory.java       | 20 ++++----
 7 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiCollection.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiCollection.java
index 55980d3..cf8e1ed 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiCollection.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiCollection.java
@@ -49,8 +49,8 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.ADDON, new ApiMethodHelper<AddOnGatewayApiMethod>(AddOnGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(AddOnGatewayApiMethod.class, BraintreeApiName.ADDON);
+        apiHelpers.put(BraintreeApiName.ADD_ON, new ApiMethodHelper<AddOnGatewayApiMethod>(AddOnGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(AddOnGatewayApiMethod.class, BraintreeApiName.ADD_ON);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
@@ -59,13 +59,13 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.CLIENTTOKEN, new ApiMethodHelper<ClientTokenGatewayApiMethod>(ClientTokenGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(ClientTokenGatewayApiMethod.class, BraintreeApiName.CLIENTTOKEN);
+        apiHelpers.put(BraintreeApiName.CLIENT_TOKEN, new ApiMethodHelper<ClientTokenGatewayApiMethod>(ClientTokenGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(ClientTokenGatewayApiMethod.class, BraintreeApiName.CLIENT_TOKEN);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.CREDITCARDVERIFICATION, new ApiMethodHelper<CreditCardVerificationGatewayApiMethod>(CreditCardVerificationGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(CreditCardVerificationGatewayApiMethod.class, BraintreeApiName.CREDITCARDVERIFICATION);
+        apiHelpers.put(BraintreeApiName.CREDIT_CARD_VERIFICATION, new ApiMethodHelper<CreditCardVerificationGatewayApiMethod>(CreditCardVerificationGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(CreditCardVerificationGatewayApiMethod.class, BraintreeApiName.CREDIT_CARD_VERIFICATION);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
@@ -84,23 +84,23 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.DOCUMENTUPLOAD, new ApiMethodHelper<DocumentUploadGatewayApiMethod>(DocumentUploadGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(DocumentUploadGatewayApiMethod.class, BraintreeApiName.DOCUMENTUPLOAD);
+        apiHelpers.put(BraintreeApiName.DOCUMENT_UPLOAD, new ApiMethodHelper<DocumentUploadGatewayApiMethod>(DocumentUploadGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(DocumentUploadGatewayApiMethod.class, BraintreeApiName.DOCUMENT_UPLOAD);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.MERCHANTACCOUNT, new ApiMethodHelper<MerchantAccountGatewayApiMethod>(MerchantAccountGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(MerchantAccountGatewayApiMethod.class, BraintreeApiName.MERCHANTACCOUNT);
+        apiHelpers.put(BraintreeApiName.MERCHANT_ACCOUNT, new ApiMethodHelper<MerchantAccountGatewayApiMethod>(MerchantAccountGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(MerchantAccountGatewayApiMethod.class, BraintreeApiName.MERCHANT_ACCOUNT);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.PAYMENTMETHOD, new ApiMethodHelper<PaymentMethodGatewayApiMethod>(PaymentMethodGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(PaymentMethodGatewayApiMethod.class, BraintreeApiName.PAYMENTMETHOD);
+        apiHelpers.put(BraintreeApiName.PAYMENT_METHOD, new ApiMethodHelper<PaymentMethodGatewayApiMethod>(PaymentMethodGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(PaymentMethodGatewayApiMethod.class, BraintreeApiName.PAYMENT_METHOD);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.PAYMENTMETHODNONCE, new ApiMethodHelper<PaymentMethodNonceGatewayApiMethod>(PaymentMethodNonceGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(PaymentMethodNonceGatewayApiMethod.class, BraintreeApiName.PAYMENTMETHODNONCE);
+        apiHelpers.put(BraintreeApiName.PAYMENT_METHOD_NONCE, new ApiMethodHelper<PaymentMethodNonceGatewayApiMethod>(PaymentMethodNonceGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(PaymentMethodNonceGatewayApiMethod.class, BraintreeApiName.PAYMENT_METHOD_NONCE);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
@@ -114,8 +114,8 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.SETTLEMENTBATCHSUMMARY, new ApiMethodHelper<SettlementBatchSummaryGatewayApiMethod>(SettlementBatchSummaryGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(SettlementBatchSummaryGatewayApiMethod.class, BraintreeApiName.SETTLEMENTBATCHSUMMARY);
+        apiHelpers.put(BraintreeApiName.SETTLEMENT_BATCH_SUMMARY, new ApiMethodHelper<SettlementBatchSummaryGatewayApiMethod>(SettlementBatchSummaryGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(SettlementBatchSummaryGatewayApiMethod.class, BraintreeApiName.SETTLEMENT_BATCH_SUMMARY);
 
         aliases.clear();
         nullableArgs = Arrays.asList();
@@ -129,8 +129,8 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
 
         aliases.clear();
         nullableArgs = Arrays.asList();
-        apiHelpers.put(BraintreeApiName.WEBHOOKNOTIFICATION, new ApiMethodHelper<WebhookNotificationGatewayApiMethod>(WebhookNotificationGatewayApiMethod.class, aliases, nullableArgs));
-        apiMethods.put(WebhookNotificationGatewayApiMethod.class, BraintreeApiName.WEBHOOKNOTIFICATION);
+        apiHelpers.put(BraintreeApiName.WEBHOOK_NOTIFICATION, new ApiMethodHelper<WebhookNotificationGatewayApiMethod>(WebhookNotificationGatewayApiMethod.class, aliases, nullableArgs));
+        apiMethods.put(WebhookNotificationGatewayApiMethod.class, BraintreeApiName.WEBHOOK_NOTIFICATION);
 
         setApiHelpers(apiHelpers);
         setApiMethods(apiMethods);
@@ -139,16 +139,16 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
     public BraintreeConfiguration getEndpointConfiguration(BraintreeApiName apiName) {
         BraintreeConfiguration result = null;
         switch (apiName) {
-            case ADDON:
+            case ADD_ON:
                 result = new AddOnGatewayEndpointConfiguration();
                 break;
             case ADDRESS:
                 result = new AddressGatewayEndpointConfiguration();
                 break;
-            case CLIENTTOKEN:
+            case CLIENT_TOKEN:
                 result = new ClientTokenGatewayEndpointConfiguration();
                 break;
-            case CREDITCARDVERIFICATION:
+            case CREDIT_CARD_VERIFICATION:
                 result = new CreditCardVerificationGatewayEndpointConfiguration();
                 break;
             case CUSTOMER:
@@ -160,16 +160,16 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
             case DISPUTE:
                 result = new DisputeGatewayEndpointConfiguration();
                 break;
-            case DOCUMENTUPLOAD:
+            case DOCUMENT_UPLOAD:
                 result = new DocumentUploadGatewayEndpointConfiguration();
                 break;
-            case MERCHANTACCOUNT:
+            case MERCHANT_ACCOUNT:
                 result = new MerchantAccountGatewayEndpointConfiguration();
                 break;
-            case PAYMENTMETHOD:
+            case PAYMENT_METHOD:
                 result = new PaymentMethodGatewayEndpointConfiguration();
                 break;
-            case PAYMENTMETHODNONCE:
+            case PAYMENT_METHOD_NONCE:
                 result = new PaymentMethodNonceGatewayEndpointConfiguration();
                 break;
             case PLAN:
@@ -178,7 +178,7 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
             case REPORT:
                 result = new ReportGatewayEndpointConfiguration();
                 break;
-            case SETTLEMENTBATCHSUMMARY:
+            case SETTLEMENT_BATCH_SUMMARY:
                 result = new SettlementBatchSummaryGatewayEndpointConfiguration();
                 break;
             case SUBSCRIPTION:
@@ -187,7 +187,7 @@ public final class BraintreeApiCollection extends ApiCollection<BraintreeApiName
             case TRANSACTION:
                 result = new TransactionGatewayEndpointConfiguration();
                 break;
-            case WEBHOOKNOTIFICATION:
+            case WEBHOOK_NOTIFICATION:
                 result = new WebhookNotificationGatewayEndpointConfiguration();
                 break;
         }
diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
index 3e1d936..0615eb7 100644
--- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
+++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/internal/BraintreeApiName.java
@@ -11,13 +11,13 @@ import org.apache.camel.support.component.ApiName;
  */
 public enum BraintreeApiName implements ApiName {
 
-    ADDON("addOn"),
+    ADD_ON("addOn"),
 
     ADDRESS("address"),
 
-    CLIENTTOKEN("clientToken"),
+    CLIENT_TOKEN("clientToken"),
 
-    CREDITCARDVERIFICATION("creditCardVerification"),
+    CREDIT_CARD_VERIFICATION("creditCardVerification"),
 
     CUSTOMER("customer"),
 
@@ -25,25 +25,25 @@ public enum BraintreeApiName implements ApiName {
 
     DISPUTE("dispute"),
 
-    DOCUMENTUPLOAD("documentUpload"),
+    DOCUMENT_UPLOAD("documentUpload"),
 
-    MERCHANTACCOUNT("merchantAccount"),
+    MERCHANT_ACCOUNT("merchantAccount"),
 
-    PAYMENTMETHOD("paymentMethod"),
+    PAYMENT_METHOD("paymentMethod"),
 
-    PAYMENTMETHODNONCE("paymentMethodNonce"),
+    PAYMENT_METHOD_NONCE("paymentMethodNonce"),
 
     PLAN("plan"),
 
     REPORT("report"),
 
-    SETTLEMENTBATCHSUMMARY("settlementBatchSummary"),
+    SETTLEMENT_BATCH_SUMMARY("settlementBatchSummary"),
 
     SUBSCRIPTION("subscription"),
 
     TRANSACTION("transaction"),
 
-    WEBHOOKNOTIFICATION("webhookNotification");
+    WEBHOOK_NOTIFICATION("webhookNotification");
 
 
     private static final BraintreeApiName[] CACHED_ENUM_VALUES = values();
diff --git a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
index d6caef2..8d137ea 100644
--- a/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
+++ b/components/camel-braintree/src/generated/resources/org/apache/camel/component/braintree/braintree.json
@@ -29,7 +29,7 @@
     "configuration": { "kind": "property", "displayName": "Configuration", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.braintree.BraintreeConfiguration", "deprecated": false, "secret": false, "description": "Component configuration" }
   },
   "properties": {
-    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.braintree.internal.BraintreeApiName", "enum": [ "ADDON", "ADDRESS", "CLIENTTOKEN", "CREDITCARDVERIFICATION", "CUSTOMER", "DISCOUNT", "DISPUTE", "DOCUMENTUPLOAD", "MERCHANTACCOUNT", "PAYMENTMETHOD", "PAYMENTMETHODNONCE", "PLAN", "REPORT", "SETTLEMENTBATCHSUMMARY", "SUBSCRIPTION", "TRANSACTION", "WEBHOOKNOTIFICATION" ], "dep [...]
+    "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.braintree.internal.BraintreeApiName", "enum": [ "ADD_ON", "ADDRESS", "CLIENT_TOKEN", "CREDIT_CARD_VERIFICATION", "CUSTOMER", "DISCOUNT", "DISPUTE", "DOCUMENT_UPLOAD", "MERCHANT_ACCOUNT", "PAYMENT_METHOD", "PAYMENT_METHOD_NONCE", "PLAN", "REPORT", "SETTLEMENT_BATCH_SUMMARY", "SUBSCRIPTION", "TRANSACTION", "WEBHOOK_NOTIFICAT [...]
     "methodName": { "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.braintree.BraintreeConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the selected operation" },
     "environment": { "kind": "parameter", "displayName": "Environment", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.braintree.BraintreeConfiguration", "configurationField": "configuration", "description": "The environment Either SANDBOX or PRODUCTION" },
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" },
diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc
index 0820b52..4f437fc 100644
--- a/components/camel-braintree/src/main/docs/braintree-component.adoc
+++ b/components/camel-braintree/src/main/docs/braintree-component.adoc
@@ -77,7 +77,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *apiName* | *Required* What kind of operation to perform. There are 17 enums and the value can be one of: ADDON, ADDRESS, CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE, DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION, WEBHOOKNOTIFICATION |  | BraintreeApiName
+| *apiName* | *Required* What kind of operation to perform. There are 17 enums and the value can be one of: ADD_ON, ADDRESS, CLIENT_TOKEN, CREDIT_CARD_VERIFICATION, CUSTOMER, DISCOUNT, DISPUTE, DOCUMENT_UPLOAD, MERCHANT_ACCOUNT, PAYMENT_METHOD, PAYMENT_METHOD_NONCE, PLAN, REPORT, SETTLEMENT_BATCH_SUMMARY, SUBSCRIPTION, TRANSACTION, WEBHOOK_NOTIFICATION |  | BraintreeApiName
 | *methodName* | What sub operation to use for the selected operation |  | String
 |===
 
diff --git a/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/BraintreeComponentTest.java b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/BraintreeComponentTest.java
index 1be24e9..e8daff0 100644
--- a/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/BraintreeComponentTest.java
+++ b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/BraintreeComponentTest.java
@@ -35,7 +35,7 @@ public class BraintreeComponentTest {
         configuration.setHttpLogLevel(Level.WARNING.getName());
 
         BraintreeComponent component = new BraintreeComponent();
-        component.createEndpoint("braintree:clientToken", "generate", BraintreeApiName.CLIENTTOKEN, configuration);
+        component.createEndpoint("braintree:clientToken", "generate", BraintreeApiName.CLIENT_TOKEN, configuration);
 
         BraintreeGateway braintreeGateway = component.getGateway(configuration);
         Logger logger = braintreeGateway.getConfiguration().getLogger();
@@ -51,7 +51,7 @@ public class BraintreeComponentTest {
         BraintreeComponent component = new BraintreeComponent();
         component.setConfiguration(configuration);
         component.getConfiguration().setLogHandlerEnabled(false);
-        component.createEndpoint("", "", BraintreeApiName.CLIENTTOKEN, configuration);
+        component.createEndpoint("", "", BraintreeApiName.CLIENT_TOKEN, configuration);
 
         BraintreeGateway braintreeGateway = component.getGateway(configuration);
         Logger logger = braintreeGateway.getConfiguration().getLogger();
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 67442ca..6dce24e 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -2951,11 +2951,11 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 17 enums and the value can be one of: ADDON, ADDRESS,
-     * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
-     * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN,
-     * REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
-     * WEBHOOKNOTIFICATION
+     * There are 17 enums and the value can be one of: ADD_ON, ADDRESS,
+     * CLIENT_TOKEN, CREDIT_CARD_VERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+     * DOCUMENT_UPLOAD, MERCHANT_ACCOUNT, PAYMENT_METHOD, PAYMENT_METHOD_NONCE,
+     * PLAN, REPORT, SETTLEMENT_BATCH_SUMMARY, SUBSCRIPTION, TRANSACTION,
+     * WEBHOOK_NOTIFICATION
      * 
      * Path parameter: methodName
      * What sub operation to use for the selected operation
@@ -2978,11 +2978,11 @@ public class StaticEndpointBuilders {
      * 
      * Path parameter: apiName (required)
      * What kind of operation to perform
-     * There are 17 enums and the value can be one of: ADDON, ADDRESS,
-     * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
-     * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE, PLAN,
-     * REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
-     * WEBHOOKNOTIFICATION
+     * There are 17 enums and the value can be one of: ADD_ON, ADDRESS,
+     * CLIENT_TOKEN, CREDIT_CARD_VERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+     * DOCUMENT_UPLOAD, MERCHANT_ACCOUNT, PAYMENT_METHOD, PAYMENT_METHOD_NONCE,
+     * PLAN, REPORT, SETTLEMENT_BATCH_SUMMARY, SUBSCRIPTION, TRANSACTION,
+     * WEBHOOK_NOTIFICATION
      * 
      * Path parameter: methodName
      * What sub operation to use for the selected operation
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
index 85e8a07..97cde24 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BraintreeEndpointBuilderFactory.java
@@ -1416,11 +1416,11 @@ public interface BraintreeEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 17 enums and the value can be one of: ADDON, ADDRESS,
-         * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
-         * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE,
-         * PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
-         * WEBHOOKNOTIFICATION
+         * There are 17 enums and the value can be one of: ADD_ON, ADDRESS,
+         * CLIENT_TOKEN, CREDIT_CARD_VERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+         * DOCUMENT_UPLOAD, MERCHANT_ACCOUNT, PAYMENT_METHOD,
+         * PAYMENT_METHOD_NONCE, PLAN, REPORT, SETTLEMENT_BATCH_SUMMARY,
+         * SUBSCRIPTION, TRANSACTION, WEBHOOK_NOTIFICATION
          * 
          * Path parameter: methodName
          * What sub operation to use for the selected operation
@@ -1442,11 +1442,11 @@ public interface BraintreeEndpointBuilderFactory {
          * 
          * Path parameter: apiName (required)
          * What kind of operation to perform
-         * There are 17 enums and the value can be one of: ADDON, ADDRESS,
-         * CLIENTTOKEN, CREDITCARDVERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
-         * DOCUMENTUPLOAD, MERCHANTACCOUNT, PAYMENTMETHOD, PAYMENTMETHODNONCE,
-         * PLAN, REPORT, SETTLEMENTBATCHSUMMARY, SUBSCRIPTION, TRANSACTION,
-         * WEBHOOKNOTIFICATION
+         * There are 17 enums and the value can be one of: ADD_ON, ADDRESS,
+         * CLIENT_TOKEN, CREDIT_CARD_VERIFICATION, CUSTOMER, DISCOUNT, DISPUTE,
+         * DOCUMENT_UPLOAD, MERCHANT_ACCOUNT, PAYMENT_METHOD,
+         * PAYMENT_METHOD_NONCE, PLAN, REPORT, SETTLEMENT_BATCH_SUMMARY,
+         * SUBSCRIPTION, TRANSACTION, WEBHOOK_NOTIFICATION
          * 
          * Path parameter: methodName
          * What sub operation to use for the selected operation