Class WebhookEndpointsCreateRequest


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

      • getUrl

        public java.lang.String getUrl()
        Returns:
        The URL that webhook events will be sent to.
      • getName

        public java.lang.String getName()
        Returns:
        A human-readable name for the webhook endpoint.
      • getEnabledEvents

        public java.util.List<WebhookEndpointEventType> getEnabledEvents()
        Returns:
        The list of global event types to subscribe to. Pass an empty array to create an endpoint with no global events (useful if you only plan to use resource-scoped subscriptions).
      • 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