Class Webhook

    • Constructor Detail

      • Webhook

        public Webhook()
    • Method Detail

      • getWebhookId

        @Nullable
        public String getWebhookId()
        Unique identifier of the webhook
        Returns:
        webhookId
      • setWebhookId

        public void setWebhookId​(String webhookId)
      • getCreatedAt

        @Nullable
        public OffsetDateTime getCreatedAt()
        When an webhook was created, presented in ISO-8601 format.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • addEventsItem

        public Webhook addEventsItem​(String eventsItem)
      • getEvents

        @Nullable
        public List<String> getEvents()
        A list of events that will trigger the webhook.
        Returns:
        events
      • setEvents

        public void setEvents​(List<String> events)
      • getUrl

        @Nullable
        public String getUrl()
        URL of the webhook
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object