Class Custom

    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • type

        protected java.lang.String type
      • JSON_PROPERTY_WEBHOOKS

        public static final java.lang.String JSON_PROPERTY_WEBHOOKS
        See Also:
        Constant Field Values
    • Constructor Detail

      • Custom

        public Custom()
    • Method Detail

      • getType

        @Nullable
        public java.lang.String getType()
        To configure a custom integration you need to setup a webhook with a set of triggers and target.
        Overrides:
        getType in class Integration
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Overrides:
        setType in class Integration
      • webhooks

        public Custom webhooks​(java.util.List<Webhook> webhooks)
      • addWebhooksItem

        public Custom addWebhooksItem​(Webhook webhooksItem)
      • getWebhooks

        public java.util.List<Webhook> getWebhooks()
        An array of webhooks associated with the custom integration.
        Returns:
        webhooks
      • setWebhooks

        public void setWebhooks​(java.util.List<Webhook> webhooks)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Integration