class Vellum::SubworkflowNodeResult

A Node Result Event emitted from a Subworkflow Node.

def self.from_json(json_object:)

Returns:
  • (SubworkflowNodeResult) -

Parameters:
  • json_object (JSON) --
def self.from_json(json_object:)
  struct = JSON.parse(json_object, object_class: OpenStruct)
  JSON.parse(json_object)
  new(additional_properties: struct)
end

def self.validate_raw(obj:); end

Returns:
  • (Void) -

Parameters:
  • obj (Object) --
def self.validate_raw(obj:); end

def initialize(additional_properties: nil)

Returns:
  • (SubworkflowNodeResult) -

Parameters:
  • additional_properties (OpenStruct) -- Additional properties unmapped to the current class definition
def initialize(additional_properties: nil)
  # @type [OpenStruct] Additional properties unmapped to the current class definition
  @additional_properties = additional_properties
end

def to_json(*_args)

Returns:
  • (JSON) -
def to_json(*_args)
  {}.to_json
end