Class Webhook


  • public final class Webhook
    extends Object
    • Method Detail

      • getId

        public String getId()
        The unique identifier for the webhook
        Returns:
        The unique identifier for the webhook
      • getUrl

        public String getUrl()
        The url to listen to notifications (must be HTTPS)
        Returns:
        The url to listen to notifications (must be HTTPS)
      • getEnabled

        public boolean getEnabled()
        Determines if the webhook should be active. If omitted, will be set to true by default
        Returns:
        Determines if the webhook should be active. If omitted, will be set to true by default
      • getEvents

        public List<String> getEvents()
        The events that should be published to the webhook. If omitted, all events will be subscribed by default. You can read about the supported events
        Returns:
        The events that should be published to the webhook. If omitted, all events will be subscribed by default. You can read about the supported events
      • getToken

        public String getToken()
        The webhook token (read more about this in the “Webhook security” section
        Returns:
        The webhook token (read more about this in the “Webhook security” section
      • getHref

        public String getHref()
        The URI of this resource
        Returns:
        The URI of this resource
      • getEnvironments

        public List<String> getEnvironments()
        The environments to be used
        Returns:
        The environments to be used
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object