Class: A2A::TaskStatusUpdateEvent

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

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#finalBoolean

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

Returns:

  • (Boolean)

    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)

#idString

Returns The ID of the task being updated.

Returns:

  • (String)

    The ID of the task being updated.



7
# File 'lib/a2a/types/task_status_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_status_update_event.rb', line 16

attribute? :metadata, Types::Hash.optional

#statusTaskStatus

Returns The new status of the task.

Returns:



10
# File 'lib/a2a/types/task_status_update_event.rb', line 10

attribute :status, Types::Constructor(TaskStatus)