/* Licensed 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.flowable.eventregistry.model;

public class ChannelModel {

    protected String key;
    protected String category;
    protected String name;
    protected String description;
    
    // inbound or outbound
    protected String channelType;
    
    // jms, rabbitmq, kafka etc
    protected String type;
    
    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}

@@ -596,16 +596,65 @@
 model;%0A%0A
+import com.fasterxml.jackson.databind.JsonNode;%0A%0A
 public c
@@ -917,24 +917,59 @@
 String type;
+%0A%0A    protected JsonNode extension;
 %0A    %0A    pu
@@ -1844,10 +1844,173 @@
 %0A    %7D%0A%0A
+    public JsonNode getExtension() %7B%0A        return extension;%0A    %7D%0A%0A    public void setExtension(JsonNode extension) %7B%0A        this.extension = extension;%0A    %7D%0A
 %7D%0A

Add extension element to ChannelModel to allow for providing custom elements to a channel model