public function getInputsFromResult($inputResult)
    {
        $input_array = [];

        if (!isset($inputResult['inputs'])) {
            throw new \Exception('Inputs Not Found');
        }

        foreach ($inputResult['inputs'] as $rawInput) {
            $input = new Input($rawInput);
            $input_array[] = $input;
        }

        return $input_array;
    }