Class: A2A::TaskArtifactUpdateEvent
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::TaskArtifactUpdateEvent
- Defined in:
- lib/a2a/types/task_artifact_update_event.rb
Overview
Represents an artifact update event for a task, typically used in streaming scenarios.
Instance Method Summary collapse
-
#artifact ⇒ Artifact
The new or updated artifact for the task.
-
#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.
Methods included from Extensions::CaseTransformation
Instance Method Details
#artifact ⇒ Artifact
Returns The new or updated artifact for the task.
10 |
# File 'lib/a2a/types/task_artifact_update_event.rb', line 10 attribute :artifact, Types::Constructor(Artifact) |
#final ⇒ Boolean?
Returns Flag indicating if this is the final update for the task.
13 |
# File 'lib/a2a/types/task_artifact_update_event.rb', line 13 attribute? :final, Types::Bool.optional |
#id ⇒ String
Returns The ID of the task being updated.
7 |
# File 'lib/a2a/types/task_artifact_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_artifact_update_event.rb', line 16 attribute? :metadata, Types::Hash.optional |