Class WebhookProfile


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

      • getUrl

        public java.lang.String getUrl()
        Returns:
        The URL to send the webhook request to.
      • getMethod

        public java.util.Optional<WebhookMethod> getMethod()
        Returns:
        The HTTP method to use for the webhook request. Defaults to POST if not specified.
      • getHeaders

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> getHeaders()
        Returns:
        Custom headers to include in the webhook request.
      • getAuthentication

        public java.util.Optional<WebhookAuthentication> getAuthentication()
        Returns:
        Authentication configuration for the webhook request.
      • getProfile

        public java.util.Optional<WebhookProfileType> getProfile()
        Returns:
        Specifies what profile information is included in the request payload. Defaults to 'limited' if not specified.
      • 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