# File lib/fog/softlayer/requests/compute/generate_bare_metal_order_template.rb, line 14
        def generate_bare_metal_order_template(order_template)
          raise ArgumentError, "Fog::Compute::Softlayer#create_vms expects argument of type Hash" unless order_template.kind_of?(Hash)
          response = Excon::Response.new
          required = %w{hostname domain processorCoreAmount memoryCapacity hourlyBillingFlag operatingSystemReferenceCode}
          begin
            raise MissingRequiredParameter unless Fog::Softlayer.valid_request?(required, order_template)
            response.status = 200
            response.body = order_template_mock
          rescue MissingRequiredParameter
            response.status = 500
            response.body = {
              "code" => "SoftLayer_Exception_MissingCreationProperty",
              "error" => "Properties #{required.join(', ')} ALL must be set to create an instance of 'SoftLayer_Virtual_Guest'."
            }
          end
          @virtual_guests.push(response.body).flatten!
          response
        end