MessageResponse class

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

Constructors

MessageResponse({required Input<String> newJobState, required Input<String> newTaskState, required Input<String> type})
Creates a new MessageResponse. newJobState The new job state. newTaskState The new task state. type The message type.
const
MessageResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
newJobState → Input<String>
The new job state.
final
newTaskState → Input<String>
The new task state.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>
The message type.
final

Methods

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

Operators

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