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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The webhook body.protected Long
The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).protected String
The webhook ID, as sent in theX-Atlassian-Webhook-Identifier
header with the webhook.protected String
The original webhook destination. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FailedWebhook
(String body, Long failureTime, String id, String url) Constructs a validated instance ofFailedWebhook
.FailedWebhook
(Consumer<FailedWebhook> spec) Constructs a validated instance ofFailedWebhook
. -
Method Summary
Modifier and TypeMethodDescriptionbody()
The webhook body.The webhook body.builder()
protected boolean
boolean
The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).failureTime
(Long failureTime) The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).int
hashCode()
id()
The webhook ID, as sent in theX-Atlassian-Webhook-Identifier
header with the webhook.The webhook ID, as sent in theX-Atlassian-Webhook-Identifier
header with the webhook.toString()
url()
The original webhook destination.The original webhook destination.
-
Field Details
-
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 theX-Atlassian-Webhook-Identifier
header with the webhook. -
url
The original webhook destination.
-
-
Constructor Details
-
FailedWebhook
Constructs a validated instance ofFailedWebhook
.- Parameters:
spec
- the specification to process
-
FailedWebhook
Constructs a validated instance ofFailedWebhook
.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 theX-Atlassian-Webhook-Identifier
header with the webhook.url
- The original webhook destination.
-
FailedWebhook
protected FailedWebhook()
-
-
Method Details
-
builder
-
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 theX-Atlassian-Webhook-Identifier
header with the webhook. -
url
The original webhook destination. -
body
The webhook body.- Returns:
this
.
-
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
The webhook ID, as sent in theX-Atlassian-Webhook-Identifier
header with the webhook.- Returns:
this
.
-
url
The original webhook destination.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-