Class: A2A::TaskStatusUpdateEvent
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::TaskStatusUpdateEvent
- Defined in:
- lib/a2a/types/task_status_update_event.rb
Overview
Represents a status update event for a task, typically used in streaming scenarios.
Instance Method Summary collapse
-
#final ⇒ Boolean
Flag indicating if this is the final update for the task.
-
#id ⇒ String
The ID of the task being updated.
-
#metadata ⇒ Hash?
Optional metadata associated with this update event.
-
#status ⇒ TaskStatus
The new status of the task.
Methods included from Extensions::CaseTransformation
Instance Method Details
#final ⇒ Boolean
Returns Flag indicating if this is the final update for the task.
13 |
# File 'lib/a2a/types/task_status_update_event.rb', line 13 attribute? :final, Types::Bool.default(false) |
#id ⇒ String
Returns The ID of the task being updated.
7 |
# File 'lib/a2a/types/task_status_update_event.rb', line 7 attribute :id, Types::String |
#metadata ⇒ Hash?
Returns Optional metadata associated with this update event.
16 |
# File 'lib/a2a/types/task_status_update_event.rb', line 16 attribute? :metadata, Types::Hash.optional |
#status ⇒ TaskStatus
Returns The new status of the task.
10 |
# File 'lib/a2a/types/task_status_update_event.rb', line 10 attribute :status, Types::Constructor(TaskStatus) |