Webhook class

A webhook.

Constructors

Webhook({required List<WebhookEvents> events, int? expirationDate, List<String>? fieldIdsFilter, required int id, List<String>? issuePropertyKeysFilter, required String jqlFilter})
Webhook.fromJson(Map<String, Object?> json)
factory

Properties

events List<WebhookEvents>
The Jira events that trigger the webhook.
final
expirationDate int?
The date after which the webhook is no longer sent. Use Extend webhook life to extend the date.
final
fieldIdsFilter List<String>
A list of field IDs. When the issue changelog contains any of the fields, the webhook jira:issue_updated is sent. If this parameter is not present, the app is notified about all field updates.
final
hashCode int
The hash code for this object.
no setterinherited
id int
The ID of the webhook.
final
issuePropertyKeysFilter List<String>
A list of issue property keys. A change of those issue properties triggers the issue_property_set or issue_property_deleted webhooks. If this parameter is not present, the app is notified about all issue property updates.
final
jqlFilter String
The JQL filter that specifies which issues the webhook is sent for.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<WebhookEvents>? events, int? expirationDate, List<String>? fieldIdsFilter, int? id, List<String>? issuePropertyKeysFilter, String? jqlFilter}) Webhook
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited