Class FailedWebhook

java.lang.Object
io.github.primelib.jira4j.restv3.model.FailedWebhook

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class FailedWebhook extends Object
FailedWebhook
  • Field Details

    • body

      protected String body
      The webhook body.
    • failureTime

      protected Long failureTime
      The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).
    • id

      protected String id
      The webhook ID, as sent in the X-Atlassian-Webhook-Identifier header with the webhook.
    • url

      protected String url
      The original webhook destination.
  • Constructor Details

    • FailedWebhook

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

      @Internal public FailedWebhook(String body, Long failureTime, String id, String url)
      Constructs a validated instance of FailedWebhook.

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

      Parameters:
      body - The webhook body.
      failureTime - The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).
      id - The webhook ID, as sent in the X-Atlassian-Webhook-Identifier header with the webhook.
      url - The original webhook destination.
    • FailedWebhook

      protected FailedWebhook()
  • Method Details

    • builder

      public static FailedWebhook.FailedWebhookBuilder builder()
    • body

      public String body()
      The webhook body.
    • failureTime

      public Long failureTime()
      The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).
    • id

      public String id()
      The webhook ID, as sent in the X-Atlassian-Webhook-Identifier header with the webhook.
    • url

      public String url()
      The original webhook destination.
    • body

      public FailedWebhook body(String body)
      The webhook body.
      Returns:
      this.
    • failureTime

      public FailedWebhook failureTime(Long failureTime)
      The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).
      Returns:
      this.
    • id

      public FailedWebhook id(String id)
      The webhook ID, as sent in the X-Atlassian-Webhook-Identifier header with the webhook.
      Returns:
      this.
    • url

      public FailedWebhook url(String url)
      The original webhook destination.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object