Class RegisteredWebhook

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

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

    • createdWebhookId

      protected Long createdWebhookId
      The ID of the webhook. Returned if the webhook is created.
    • errors

      protected List<String> errors
      Error messages specifying why the webhook creation failed.
  • Constructor Details

    • RegisteredWebhook

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

      @Internal public RegisteredWebhook(Long createdWebhookId, List<String> errors)
      Constructs a validated instance of RegisteredWebhook.

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

      Parameters:
      createdWebhookId - The ID of the webhook. Returned if the webhook is created.
      errors - Error messages specifying why the webhook creation failed.
    • RegisteredWebhook

      protected RegisteredWebhook()
  • Method Details

    • builder

    • createdWebhookId

      public Long createdWebhookId()
      The ID of the webhook. Returned if the webhook is created.
    • errors

      public List<String> errors()
      Error messages specifying why the webhook creation failed.
    • createdWebhookId

      public RegisteredWebhook createdWebhookId(Long createdWebhookId)
      The ID of the webhook. Returned if the webhook is created.
      Returns:
      this.
    • errors

      public RegisteredWebhook errors(List<String> errors)
      Error messages specifying why the webhook creation failed.
      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