Class Webhook
java.lang.Object
io.github.primelib.jira4j.restv2.model.Webhook
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Webhook
extends Object
Webhook
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Jira events that trigger the webhook.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Webhook.EventsEnum>The Jira events that trigger the webhook.protected LongThe date after which the webhook is no longer sent.A list of field IDs.protected LongThe ID of the webhook.A list of issue property keys.protected StringThe JQL filter that specifies which issues the webhook is sent for. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Webhook.WebhookBuilderbuilder()protected booleanbooleanevents()The Jira events that trigger the webhook.events(List<Webhook.EventsEnum> events) The Jira events that trigger the webhook.The date after which the webhook is no longer sent.expirationDate(Long expirationDate) The date after which the webhook is no longer sent.A list of field IDs.fieldIdsFilter(List<String> fieldIdsFilter) A list of field IDs.inthashCode()id()The ID of the webhook.The ID of the webhook.A list of issue property keys.issuePropertyKeysFilter(List<String> issuePropertyKeysFilter) A list of issue property keys.The JQL filter that specifies which issues the webhook is sent for.The JQL filter that specifies which issues the webhook is sent for.toString()
-
Field Details
-
events
The Jira events that trigger the webhook. -
expirationDate
The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date. -
fieldIdsFilter
A list of field IDs. When the issue changelog contains any of the fields, the webhookjira:issue_updatedis sent. If this parameter is not present, the app is notified about all field updates. -
id
The ID of the webhook. -
issuePropertyKeysFilter
A list of issue property keys. A change of those issue properties triggers theissue_property_setorissue_property_deletedwebhooks. If this parameter is not present, the app is notified about all issue property updates. -
jqlFilter
The JQL filter that specifies which issues the webhook is sent for.
-
-
Constructor Details
-
Webhook
Constructs a validated instance ofWebhook.- Parameters:
spec- the specification to process
-
Webhook
@Internal public Webhook(List<Webhook.EventsEnum> events, Long expirationDate, List<String> fieldIdsFilter, Long id, List<String> issuePropertyKeysFilter, String jqlFilter) Constructs a validated instance ofWebhook.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Webhook(Consumer)instead.- Parameters:
events- The Jira events that trigger the webhook.expirationDate- The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date.fieldIdsFilter- A list of field IDs. When the issue changelog contains any of the fields, the webhookjira:issue_updatedis sent. If this parameter is not present, the app is notified about all field updates.id- The ID of the webhook.issuePropertyKeysFilter- A list of issue property keys. A change of those issue properties triggers theissue_property_setorissue_property_deletedwebhooks. If this parameter is not present, the app is notified about all issue property updates.jqlFilter- The JQL filter that specifies which issues the webhook is sent for.
-
Webhook
protected Webhook()
-
-
Method Details
-
builder
-
events
The Jira events that trigger the webhook. -
expirationDate
The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date. -
fieldIdsFilter
A list of field IDs. When the issue changelog contains any of the fields, the webhookjira:issue_updatedis sent. If this parameter is not present, the app is notified about all field updates. -
id
The ID of the webhook. -
issuePropertyKeysFilter
A list of issue property keys. A change of those issue properties triggers theissue_property_setorissue_property_deletedwebhooks. If this parameter is not present, the app is notified about all issue property updates. -
jqlFilter
The JQL filter that specifies which issues the webhook is sent for. -
events
The Jira events that trigger the webhook.- Returns:
this.
-
expirationDate
The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date.- Returns:
this.
-
fieldIdsFilter
A list of field IDs. When the issue changelog contains any of the fields, the webhookjira:issue_updatedis sent. If this parameter is not present, the app is notified about all field updates.- Returns:
this.
-
id
The ID of the webhook.- Returns:
this.
-
issuePropertyKeysFilter
A list of issue property keys. A change of those issue properties triggers theissue_property_setorissue_property_deletedwebhooks. If this parameter is not present, the app is notified about all issue property updates.- Returns:
this.
-
jqlFilter
The JQL filter that specifies which issues the webhook is sent for.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-