Event class

A webhook event.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

Event(String id, String createTime, String resourceType, String eventVersion, String eventType, String summary, String? resourceVersion, dynamic resource, List<LinkDescription> links)
Event.fromJson(Map<String, dynamic> json)
factory

Properties

createTime String
The date and time when the webhook event notification was created, in Internet date and time format
final
eventType String
The event that triggered the webhook event notification.
final
eventVersion String
The event version in the webhook notification.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the webhook event notification.
final
An array of request-related HATEOAS links.
final
resource ↔ dynamic
The resource that triggered the webhook event notification.
getter/setter pair
resourceType String
The name of the resource related to the webhook notification event.
final
resourceVersion String?
The resource version in the webhook notification.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summary String
A summary description for the event notification.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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