Class WebhookSubscription


  • public final class WebhookSubscription
    extends java.lang.Object
    • Method Detail

      • getObject

        public java.lang.String getObject()
      • getId

        public java.lang.String getId()
        Returns:
        Unique identifier for the webhook subscription.
      • getWebhookEndpointId

        public java.lang.String getWebhookEndpointId()
        Returns:
        The ID of the webhook endpoint this subscription belongs to.
      • getResourceId

        public java.lang.String getResourceId()
        Returns:
        The ID of the resource this subscription is scoped to (e.g., an extractor, classifier, splitter, or workflow).
      • getEnabledEvents

        public java.util.List<WebhookSubscriptionEventType> getEnabledEvents()
        Returns:
        The list of event types this subscription is subscribed to. The valid event types depend on the resourceType.
      • getCreatedAt

        public java.time.OffsetDateTime getCreatedAt()
        Returns:
        The date and time the webhook subscription was created.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object