Class: A2A::TaskStatus
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::TaskStatus
- Defined in:
- lib/a2a/types/task_status.rb
Overview
Represents the status of a task at a specific point in time.
Instance Method Summary collapse
-
#message ⇒ Message?
An optional message associated with the current status.
-
#state ⇒ String
The current state of the task.
-
#timestamp ⇒ DateTime?
The timestamp when this status was recorded (ISO 8601 format).
Methods included from Extensions::CaseTransformation
Instance Method Details
#message ⇒ Message?
Returns An optional message associated with the current status.
10 |
# File 'lib/a2a/types/task_status.rb', line 10 attribute? :message, Types::Constructor(Message).optional |
#state ⇒ String
Returns The current state of the task.
7 |
# File 'lib/a2a/types/task_status.rb', line 7 attribute :state, TaskState |
#timestamp ⇒ DateTime?
Returns The timestamp when this status was recorded (ISO 8601 format).
13 |
# File 'lib/a2a/types/task_status.rb', line 13 attribute? :timestamp, Types::JSON::DateTime.optional |