Class WebhookEvent


  • public class WebhookEvent
    extends Object
    The response from Webhook events.
    • Constructor Detail

      • WebhookEvent

        protected WebhookEvent​(String resourceType,
                               String action,
                               WebhookEventObject object)
        Instantiates a new WebhookEvent.
        Parameters:
        resourceType - the resource type
        action - the action
        object - the object
    • Method Detail

      • getResourceType

        public String getResourceType()
        Gets resource type.
        Returns:
        the resource type
      • getAction

        public String getAction()
        Gets the action.
        Returns:
        the action
      • getObject

        public WebhookEventObject getObject()
        Gets the event object.
        Returns:
        the WebHookEventObject
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object