WatchResponse class final

Annotations
  • @JsonSerializable()

Constructors

WatchResponse.new({required String runID, String? eventID, List<Object>? data, List<Event>? events, String? message, String? createdAt})
Returns a new WatchResponse instance.
const
WatchResponse.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt String?
Date of creation in RFC 3339 format.
final
data List<Object>?
This field is always null when used with the Push endpoint. When used for a source discover or source validate run, it will include the sampled data of the source.
final
eventID String?
Universally unique identifier (UUID) of an event.
final
events List<Event>?
in case of error, observability events will be added to the response.
final
hashCode int
The hash code for this object.
no setteroverride
message String?
a message describing the outcome of the operation that has been ran (push, discover or validate) run.
final
runID String
Universally unique identifier (UUID) of a task run.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
override