def factory(id, opts = {})
      data, _status_code, _headers = factory_with_http_info(id, opts)
      return data
    end
def factory(id, opts = {})
      data, _status_code, _headers = factory_with_http_info(id, opts)
      return data
    end
Returns a Factory object.
 Returns a Factory object.
 @param id id of a factory
 @param [Hash] opts the optional parameters
 @option opts [BOOLEAN] :with_storage_provider if set to &#x60;true&#x60;, results will include a storage provider&#39;s id
 @return [Factory]