def list(service:, type: 'analysis', **opts)
      params = {}
      params[:per_page] = opts[:per_page] if opts.key?(:per_page)
      params[:page] = opts[:page] if opts.key?(:page)
      params[:status] = opts[:status] if opts.key?(:status)

      DataSift.request(:GET, "pylon/#{service}/task/#{type}", @config, params)
    end
def list(service:, type: 'analysis', **opts)
      params = {}
      params[:per_page] = opts[:per_page] if opts.key?(:per_page)
      params[:page] = opts[:page] if opts.key?(:page)
      params[:status] = opts[:status] if opts.key?(:status)

      DataSift.request(:GET, "pylon/#{service}/task/#{type}", @config, params)
    end
Gets a list of all current Tasks on the service. This call may be accessed using either a
   main or identity-level API key.

 @param service [String] Search Tasks by Service
 @param type [String] (Optional) Type of Task to be run (Default: 'analysis')
 @param per_page [Integer] (Optional) How many Tasks should be returned per page of results
 @param page [Integer] (Optional) Which page of results to return
 @param status [String] (Optional) Filter by Tasks on Status
 @return [Object] API reponse object