Class: A2A::Models::TaskArtifactUpdateEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_a2a/models/task_artifact_update_event.rb

Instance Method Summary collapse

Methods inherited from Base

#==, attribute, attributes, from_hash, inherited, #initialize, #to_json, #valid?

Constructor Details

This class inherits a constructor from A2A::Models::Base

Instance Method Details

#append?Boolean

Returns:

  • (Boolean)


13
# File 'lib/simple_a2a/models/task_artifact_update_event.rb', line 13

def append?     = !!append

#last_chunk?Boolean

Returns:

  • (Boolean)


14
# File 'lib/simple_a2a/models/task_artifact_update_event.rb', line 14

def last_chunk? = !!last_chunk

#to_hObject



16
17
18
# File 'lib/simple_a2a/models/task_artifact_update_event.rb', line 16

def to_h
  super.merge("type" => "TaskArtifactUpdateEvent")
end