Class: A2A::TaskIdParams

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/task_id_params.rb

Overview

Basic parameters used for task ID operations.

Direct Known Subclasses

TaskQueryParams

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#idString

Returns The unique identifier of the task.

Returns:

  • (String)

    The unique identifier of the task.



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

attribute :id, Types::String

#metadataHash?

Returns Optional metadata to include with the operation.

Returns:

  • (Hash, nil)

    Optional metadata to include with the operation.



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

attribute? :metadata, Types::Hash.optional