Class: A2A::TaskArtifactUpdateEvent

Inherits:
ProtocolStruct
  • Object
show all
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

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#artifactArtifact

Returns The new or updated artifact for the task.

Returns:

  • (Artifact)

    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)

#finalBoolean?

Returns Flag indicating if this is the final update for the task.

Returns:

  • (Boolean, nil)

    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

#idString

Returns The ID of the task being updated.

Returns:

  • (String)

    The ID of the task being updated.



7
# File 'lib/a2a/types/task_artifact_update_event.rb', line 7

attribute :id, Types::String

#metadataHash?

Returns Optional metadata associated with this update event.

Returns:

  • (Hash, nil)

    Optional metadata associated with this update event.



16
# File 'lib/a2a/types/task_artifact_update_event.rb', line 16

attribute? :metadata, Types::Hash.optional