class Vellum::TerminalNodeJsonResult

def self.from_json(json_object:)

Returns:
  • (TerminalNodeJsonResult) -

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