java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Webhook

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Webhook extends Object
Webhook
  • Felddetails

    • active

      protected Boolean active
      Specifies whether this webhook is active or not. Default value is false.
    • config

      protected WebhookConfig config
    • events

      protected List<Webhook.EventsEnum> events
      The list of interested events this webhook is subscribed for
    • id

      protected String id
      A unique ID for the webhook
  • Konstruktordetails

    • Webhook

      public Webhook(Consumer<Webhook> spec)
      Constructs a validated instance of Webhook.
      Parameter:
      spec - the specification to process
    • Webhook

      @Internal public Webhook(Boolean active, WebhookConfig config, List<Webhook.EventsEnum> events, String id)
      Constructs a validated instance of Webhook.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Webhook(Consumer) instead.

      Parameter:
      active - Specifies whether this webhook is active or not. Default value is false.
      config - var.name
      events - The list of interested events this webhook is subscribed for
      id - A unique ID for the webhook
    • Webhook

      protected Webhook()
  • Methodendetails

    • builder

      public static Webhook.WebhookBuilder builder()
    • active

      public Boolean active()
      Specifies whether this webhook is active or not. Default value is false.
    • config

      public WebhookConfig config()
    • events

      public List<Webhook.EventsEnum> events()
      The list of interested events this webhook is subscribed for
    • id

      public String id()
      A unique ID for the webhook
    • active

      public Webhook active(Boolean active)
      Specifies whether this webhook is active or not. Default value is false.
      Gibt zurück:
      this.
    • config

      public Webhook config(WebhookConfig config)
      Gibt zurück:
      this.
    • events

      public Webhook events(List<Webhook.EventsEnum> events)
      The list of interested events this webhook is subscribed for
      Gibt zurück:
      this.
    • id

      public Webhook id(String id)
      A unique ID for the webhook
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object