Get all files for a scan

@param int $appId
@param int $scanId
@param array $queryParams
@return FilesResponse
194057
public function getAll($appId, $scanId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->files()
            ->getAll($appId, $scanId, $queryParams);

        return new FilesResponse($response);
    }
4139
public function queuePdf($appId, $scanId, array $queryParams = [])
    {
        $response = $this->client->post($this->uri($appId, $scanId, 'pdfs') . '/queues', [
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
497093
public function create($appId, $filename, $filepath, array $queryParams = [])
    {
        $response = $this->client->post($this->uri($appId), [
            'multipart' => [
                [
                    'name' => 'upload[file]',
                    'contents' => fopen($filepath, 'r'),
                    'filename' => $filename,
                ],
            ],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
1278861
public function create($appId, $scanId, $input, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->functions()
            ->create($appId, $scanId, $input->toArray(), $queryParams);

        return new CustomFunctionResponse($response);
    }
1120534
public function getById($appId, $profileId, $ignoreId, array $queryParams = [])
    {
        $response = $this->api->applications()->profiles()->ignoredLocations()->getById($appId, $profileId, $ignoreId, $queryParams);

        return new IgnoredLocationResponse($response);
    }
1104408
public function deleteById($appId, $uploadId, array $queryParams = [])
    {
        $response = $this->api->applications()->uploads()->deleteById($appId, $uploadId, $queryParams);

        return new BaseResponse($response);
    }
672569
public function findSnapshotByPageId($pageId)
    {
        $qb = $this->createQueryBuilder('ps')
            ->where('ps.page = :pageId')
            ->orderBy('ps.version', 'desc')
            ->setParameter(':pageId', $pageId);

        return $qb->getQuery()->execute();
    }
406391
public function getById($appId, $scanId, $issueId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->getById($appId, $scanId, $issueId, $queryParams);

        return new IssueResponse($response);
    }
130800
@Override
	public synchronized RecordScan read(int scanId) throws DatabaseException {
		try {
			psRead.setInt(1, scanId);
			
			try (ResultSet rs = psRead.executeQuery()) {
				RecordScan result = build(rs);
				return result;
			}
		} catch (SQLException e) {
			throw new DatabaseException(e);
		}
	}
742794
public function deleteAll($appId, $scanId, array $queryParams = [])
    {
        $response = $this->client->delete($this->uri($appId, $scanId), [
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
1233348
public function getAll($appId, $profileId, array $queryParams)
    {
        $response = $this->api->applications()->profiles()->controllers()->getAll($appId, $profileId, $queryParams);

        return new ControllersResponse($response);
    }
958209
public function getById($appId, $scanId, $issueId, $commentId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->comments()
            ->getById($appId, $scanId, $issueId, $commentId, $queryParams);

        return new CommentResponse($response);
    }
185896
public function getAll(array $queryParams = [])
    {
        $response = $this->api->applications()->getAll($queryParams);

        return new ApplicationsResponse($response);
    }
1059950
public function create($appId, $fileName, $filePath, array $queryParams = [])
    {
        $response = $this->api->applications()->uploads()->create($appId, $fileName, $filePath, $queryParams);

        return new UploadResponse($response);
    }
413584
public function cloneById($appId, $profileId, $input, array $queryParams = [])
    {
        $response = $this->client->post($this->uri($appId, $profileId, true), [
            RequestOptions::JSON => ['profile' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
1049143
public function getById($appId, $scanId, $issueId, $patchId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->patches()
            ->getById($appId, $scanId, $issueId, $patchId, $queryParams);

        return new PatchResponse($response);
    }
1036515
public function getAll($appId, $scanId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->sinks()
            ->getAll($appId, $scanId, $queryParams);

        return new SinksResponse($response);
    }