nickshoe commented on code in PR #15637:
URL: https://github.com/apache/camel/pull/15637#discussion_r1774956519


##########
components/camel-clickup/src/main/java/org/apache/camel/component/clickup/model/Events.java:
##########
@@ -0,0 +1,96 @@
+/*
+ * 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.component.clickup.model;
+
+import java.util.Set;
+
+import com.google.common.collect.Sets;
+
+/**
+ * <a href="https://clickup.com/api/developer-portal/webhooks/";>Webhooks</a>
+ *
+ * <p>
+ * Task webhooks - taskCreated: Triggered when a new task is created. - 
taskUpdated: Triggered when a task is updated.
+ * Adding an attachment to a task does not trigger the taskUpdated webhook. To 
trigger this webhook using an attachment,
+ * you can upload an attachment to a task comment. - taskDeleted: Triggered 
when a task is deleted. -
+ * taskPriorityUpdated: Triggered when the priority of a task is updated - 
taskStatusUpdated: Triggered when the status
+ * of a task is updated. - taskAssigneeUpdated: Triggered when an assignee is 
added or removed from a task. -
+ * taskDueDateUpdated: Triggered when the due date of a task is updated. - 
taskTagUpdated: Triggered when a tag is added
+ * or removed from a task. - taskMoved: Triggered when a task is moved to a 
new List. - taskCommentPosted: Triggered
+ * when a comment is added to a task. - taskCommentUpdated: Triggered when an 
existing comment on a task is updated. -
+ * taskTimeEstimateUpdated: Triggered when the time estimate on a task is 
added or updated. - taskTimeTrackedUpdated:
+ * Triggered when the time tracked on a task is added, updated, or deleted.
+ * <p>
+ * List webhooks - listCreated: Triggered when a new List is created. - 
listUpdated: Triggered when an existing List is
+ * updated. - listDeleted: Triggered when a List is deleted.
+ * <p>
+ * Folder webhooks - folderCreated: Triggered when a new Folder is created. - 
folderUpdated: Triggered when an existing
+ * Folder is updated. - folderDeleted: Triggered when a Folder is deleted.
+ * <p>
+ * Space webhooks - spaceCreated: Triggered when a new Space is created. - 
spaceUpdated: Triggered when an existing
+ * Space is updated. - spaceDeleted: Triggered when a Space is deleted.
+ * <p>
+ * Goal and Target (key result) webhooks - goalCreated: Triggered when a new 
Goal is created. - goalUpdated: Triggered
+ * when an existing Goal is updated. - goalDeleted: Triggered when a Goal is 
deleted. - keyResultCreated: Triggered when
+ * a new Target is created. - keyResultUpdated: Triggered when an existing 
Target is updated. - keyResultDeleted:
+ * Triggered when a Target is deleted.
+ */
+public final class Events {

Review Comment:
   I like the autogeneration approach, that would be possible by leveraging 
ClickUp's OpenAPI spec. In any case, though, the problem with unexpected APIs 
changes would persist. What was your idea?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to