Create a new organization

@param OrgBuilder $input
@param array $queryParams
@return OrgResponse
512685
public function create(OrgBuilder $input, array $queryParams = [])
    {
        $response = $this->api->orgs()->create($input->toArray(), $queryParams);

        return new OrgResponse($response);
    }
986867
public function process(array $input)
    {
        if (!empty($input['q'])) {
            $this->searchQuery = $input['q'];
        }
        if (!empty($input['sort'])) {
            foreach (explode(',', $input['sort']) as $sort) {
                $this->processOrderByParams($sort);
            }
        }
        $input = $this->processPageParams($input);
        foreach ($input as $key => $param) {
            if (!in_array($key, ['sort', 'page', 'per_page', 'q'], true)) {
                $this->processFilterParams($key, $param);
            }
        }
        return $this;
    }
653354
public function getById($orgId, array $queryParams = [])
    {
        $response = $this->api->orgs()->getById($orgId, $queryParams);

        return new OrgResponse($response);
    }
462629
public function create($quotaId, AclBuilder $input, array $queryParams = [])
    {
        $response = $this->api->quotas()->acls()->create($quotaId, $input->toArray(), $queryParams);

        return new AclResponse($response);
    }
21473
public function deleteById($orgId, array $queryParams = [])
    {
        $response = $this->api->orgs()->deleteById($orgId, $queryParams);

        return new BaseResponse($response);
    }
1363785
public function createOrUpdate($key, SettingBuilder $input, array $queryParams = [])
    {
        $response = $this->api->settings()->createOrUpdate($key, $input->toArray(), $queryParams);

        return new SettingResponse($response);
    }
329076
public function create($appId, $scanId, $issueId, CommentBuilder $input, array $queryParams = [])
    {
        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->comments()
            ->create($appId, $scanId, $issueId, $input->toArray(), $queryParams);

        return new CommentResponse($response);
    }
1258234
public function create(MapsEngine_Map $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('create', array($params), "MapsEngine_Map");
  }
1373162
public function create($appId, $profileId, SourceBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->profiles()->sources()->create($appId, $profileId, $input->toArray(), $queryParams);

        return new SourceResponse($response);
    }
1260270
public function create(array $input)
	{
    unset($input['_token']);

    $loggedUserId = $this->AuthenticationManager->getLoggedUserId();
    $organizationId = $this->AuthenticationManager->getCurrentUserOrganizationId();

    $input = eloquent_array_filter_for_insert($input);
		$input = array_add($input, 'organization_id', $organizationId);
    // $input['date'] = $this->Carbon->createFromFormat($this->Lang->get('form.phpShortDateFormat'), $input['date'])->format('Y-m-d');

    $this->DB->transaction(function() use ($input, $loggedUserId, $organizationId)
		{
      $VoucherType = $this->VoucherType->create($input);

      $Journal = $this->Journal->create(array('journalized_id' => $VoucherType->id, 'journalized_type' => $this->VoucherType->getTable(), 'user_id' => $loggedUserId, 'organization_id' => $organizationId));
      $this->Journal->attachDetail($Journal->id, array('note' => $this->Lang->get('decima-accounting::voucher-type-management.addedJournal', array('VoucherType' => $VoucherType->name)), $Journal));
    });

    return json_encode(array('success' => $this->Lang->get('form.defaultSuccessSaveMessage'), 'voucherTypes' => $this->getVoucherTypes()));
  }
882028
public function create($appId, $scanId, $input, array $queryParams = [])
    {
        if ($input instanceof IssueBuilder) {
            $inputArray = $input->toArray();
            $defaultInput = true;
        } else {
            $inputArray = [];
            foreach ($input as $key => $value) {
                if ($value instanceof BaseBuilder) {
                    $inputArray[$key] = $value->toArray();
                } else if (is_array($value)) {
                    foreach ($value as $key2 => $value2) {
                        if ($value2 instanceof BaseBuilder) {
                            $inputArray[$key][$key2] = $value2->toArray();
                        } else if (is_string($value2)) {
                            $inputArray[$key][$key2] = $value2;
                        }
                    }
                }
            }
            $defaultInput = false;
        }

        $response = $this->api
            ->applications()
            ->scans()
            ->issues()
            ->create($appId, $scanId, $inputArray, $queryParams, $defaultInput);

        return new IssueResponse($response);
    }
496971
protected function makeFormRequest($input)
    {
        $this->callSilent(
            'create:form-request',
            [
                'model-name' => $input->modelName,
                '--class-name' => $input->formRequestName,
                '--with-auth' => $input->withAuth,
                '--resource-file' => $input->resourceFile,
                '--template-name' => $input->template,
                '--routes-prefix' => $this->option('routes-prefix'),
                '--form-request-directory' => $input->formRequestDirectory,
                '--force' => $input->force,
            ]
        );

        return $this;
    }
272598
public function activate($userId, $token, array $queryParams = [])
    {
        $response = $this->api->users()->activate($userId, $token, $queryParams);

        return new UserResponse($response);
    }
326163
public function create(QuotaBuilder $input, array $queryParams = [])
    {
        $response = $this->api->quotas()->create($input->toArray(), $queryParams);

        return new QuotaResponse($response);
    }
562729
public function create($appId, AclBuilder $input, array $queryParams = [])
    {
        $response = $this->api->applications()->acls()->create($appId, $input->toArray(), $queryParams);

        return new AclResponse($response);
    }
331618
public function reset(array $input, array $queryParams = [])
    {
        $response = $this->client->post("{$this->uri()}/reset/ui", [
            RequestOptions::JSON => ['reset' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
1198092
public function create( $inputs = [] )
	{
		$columns = [];
		$placeholders = [];
		$values = [];

		foreach( $inputs as $column => $value )
		{
			$columns []= "`$column`";
			$placeholders []= ":$column";
			$values[":$column"] = $value;
		}

		$keys = implode(',', $columns);
		$placeholders = implode(',', $placeholders);

		$this->_exec_( "INSERT INTO `{$this->table}` ( $keys ) VALUES ( $placeholders )", $values );

		return $this->insert_id();
	}