Create a new application

@param ApplicationBuilder $input
@param array $queryParams
@return ApplicationResponse
16874
public function create(ApplicationBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->create($input->toArray(), $queryParams);

        return new ApplicationResponse($response);
    }
998765
public function update($orgId, OrgBuilder $input, array $queryParams = [])
    {
        $response = $this->api->orgs()->update($orgId, $input->toArray(), $queryParams);

        return new OrgResponse($response);
    }
559534
public static function createQueryBuilder($queryBuilder)
    {
        if ($queryBuilder instanceof ORMBuilder) {
            return new ORMQueryBuilder($queryBuilder);
        }
        if ($queryBuilder instanceof DBALBuilder) {
            return new DBALQueryBuilder($queryBuilder);
        }

        throw new QueryBuilderException(
            sprintf('Invalid parameter "queryBuilder". Use %s or %s', ORMBuilder::class, DBALBuilder::class)
        );
    }
478324
public function create($appId, $scanId, $issueId, ReviewBuilder $input, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->reviews()
            ->create($appId, $scanId, $issueId, $input->toArray(), $queryParams);

        return new ReviewResponse($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);
    }
821028
private function create(array $queryParameters, string $request = null, string $auth = null)
    {
        $url = self::$base_url.'/create?'.http_build_query($queryParameters);

        $header = [];

        if ($auth) {
            $header['X-Registry-Auth'] = $auth;
        }

        return self::$curl->post($url, $request, $header);
    }
993326
public function create(array $input, array $queryParams = [])
    {
        $response = $this->client->post($this->uri(), [
            RequestOptions::JSON => ['application' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
534550
public function delete($appId, $scanId, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->files()
            ->delete($appId, $scanId, $queryParams);

        return new BaseResponse($response);
    }
982370
public function update(LdapBuilder $input, array $queryParams = [])
    {
        $response = $this->api->systems()->ldap()->update($input->toArray(), $queryParams);

        return new LdapResponse($response);
    }
194818
public function create($appId, $profileId, ValidatorBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->profiles()->validators()->create($appId, $profileId, $input->toArray(), $queryParams);

        return new ValidatorResponse($response);
    }
828280
public function addQueryParams(array $queryParams)
    {
        $this->data['query'] = array_merge(Helper::getValue($this->data['query'], []), $queryParams);
        $this->data['query'] = array_filter($this->data['query']);
        return $this;
    }
67280
public function getAll($appId = null, array $queryParams = [])
    {
        $response = $this->api->applications()->scans()->getAll($appId, $queryParams);

        return new ScansResponse($response);
    }
956102
public function update($appId, $profileId, SettingBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->profiles()->settings()->update($appId, $profileId, $input->toArray(), $queryParams);

        return new SettingResponse($response);
    }
410721
public function create(ClientBuilder $input, array $queryParams = [])
    {
        $response = $this->api->oauth2()->clients()->create($input->toArray(), $queryParams);

        return new ClientResponse($response);
    }
615961
public function create($appId, $profileId, SanitizerBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->profiles()->sanitizers()->create($appId, $profileId, $input->toArray(), $queryParams);

        return new SanitizerResponse($response);
    }
1021213
public function getAll($applicationID, $scanID, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->getAll($applicationID, $scanID, $queryParams);

        return new IssuesResponse($response);
    }
1202731
public function create($appId, $scanId, $input, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->processes()
            ->create($appId, $scanId, $input->toArray(), $queryParams);

        return new ProcessResponse($response);
    }