Skip to content

Commit fb03405

Browse files
committed
Better naming for all classes
1 parent 54030ef commit fb03405

File tree

1,599 files changed

+18252
-18109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,599 files changed

+18252
-18109
lines changed

composer.lock

Lines changed: 177 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/OpenAPI/ApiGitHubCom/Client.php

Lines changed: 335 additions & 335 deletions
Large diffs are not rendered by default.

src/OpenAPI/ApiGitHubCom/Operation/Actions/AddCustomLabelsToSelfHostedRunnerForOrg.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2525
}
2626
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
2727
{
28-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\CCd5D02C54E256C1F61Acea463E527414::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
28+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForOrg\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
2929
return new \RingCentral\Psr7\Request('post', \str_replace(array('{org}', '{runner_id}'), array($this->org, $this->runner_id), '/orgs/{org}/actions/runners/{runner_id}/labels'), array('Content-Type' => 'application/json'), json_encode($data));
3030
}
31-
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C465Ffe2283692C35B7E35Cd3F31B8C6B|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationErrorSimple
31+
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForOrg\Response\Application\Json\H200|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationErrorSimple
3232
{
3333
$contentType = $response->getHeaderLine('Content-Type');
3434
$body = json_decode($response->getBody()->getContents(), true);
@@ -38,8 +38,8 @@ function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiCli
3838
case 200:
3939
switch ($contentType) {
4040
case 'application/json':
41-
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C465Ffe2283692C35B7E35Cd3F31B8C6B::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
42-
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\Unknown\\C465Ffe2283692C35B7E35Cd3F31B8C6B', $body);
41+
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForOrg\Response\Application\Json\H200::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
42+
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\AddCustomLabelsToSelfHostedRunnerForOrg\\Response\\Application\\Json\\H200', $body);
4343
}
4444
break;
4545
/**Resource not found**/

src/OpenAPI/ApiGitHubCom/Operation/Actions/AddCustomLabelsToSelfHostedRunnerForRepo.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2828
}
2929
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
3030
{
31-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\CCd5D02C54E256C1F61Acea463E527414::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
31+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForRepo\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
3232
return new \RingCentral\Psr7\Request('post', \str_replace(array('{owner}', '{repo}', '{runner_id}'), array($this->owner, $this->repo, $this->runner_id), '/repos/{owner}/{repo}/actions/runners/{runner_id}/labels'), array('Content-Type' => 'application/json'), json_encode($data));
3333
}
34-
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C465Ffe2283692C35B7E35Cd3F31B8C6B|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationErrorSimple
34+
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForRepo\Response\Application\Json\H200|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationErrorSimple
3535
{
3636
$contentType = $response->getHeaderLine('Content-Type');
3737
$body = json_decode($response->getBody()->getContents(), true);
@@ -41,8 +41,8 @@ function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiCli
4141
case 200:
4242
switch ($contentType) {
4343
case 'application/json':
44-
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C465Ffe2283692C35B7E35Cd3F31B8C6B::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
45-
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\Unknown\\C465Ffe2283692C35B7E35Cd3F31B8C6B', $body);
44+
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\AddCustomLabelsToSelfHostedRunnerForRepo\Response\Application\Json\H200::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
45+
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\AddCustomLabelsToSelfHostedRunnerForRepo\\Response\\Application\\Json\\H200', $body);
4646
}
4747
break;
4848
/**Resource not found**/

src/OpenAPI/ApiGitHubCom/Operation/Actions/CreateOrUpdateEnvironmentSecret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2828
}
2929
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
3030
{
31-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C9148841393884Edafc652Dbc1575Bf82::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
31+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\CreateOrUpdateEnvironmentSecret\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
3232
return new \RingCentral\Psr7\Request('put', \str_replace(array('{repository_id}', '{environment_name}', '{secret_name}'), array($this->repository_id, $this->environment_name, $this->secret_name), '/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}'), array('Content-Type' => 'application/json'), json_encode($data));
3333
}
3434
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\EmptyObject

src/OpenAPI/ApiGitHubCom/Operation/Actions/CreateOrUpdateOrgSecret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2525
}
2626
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
2727
{
28-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C9E96F1D671774E25E7064A19A1B26A49::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
28+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\CreateOrUpdateOrgSecret\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
2929
return new \RingCentral\Psr7\Request('put', \str_replace(array('{org}', '{secret_name}'), array($this->org, $this->secret_name), '/orgs/{org}/actions/secrets/{secret_name}'), array('Content-Type' => 'application/json'), json_encode($data));
3030
}
3131
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\EmptyObject

src/OpenAPI/ApiGitHubCom/Operation/Actions/CreateOrUpdateRepoSecret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2828
}
2929
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
3030
{
31-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C7F4Fcc007Cff48D65Fe93F2Aec479D75::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
31+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\CreateOrUpdateRepoSecret\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
3232
return new \RingCentral\Psr7\Request('put', \str_replace(array('{owner}', '{repo}', '{secret_name}'), array($this->owner, $this->repo, $this->secret_name), '/repos/{owner}/{repo}/actions/secrets/{secret_name}'), array('Content-Type' => 'application/json'), json_encode($data));
3333
}
3434
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\EmptyObject

src/OpenAPI/ApiGitHubCom/Operation/Actions/CreateSelfHostedRunnerGroupForOrg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2222
}
2323
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
2424
{
25-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C6Dd4D3583Eac7Aeb24C8Fd55B2A155Fc::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
25+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\CreateSelfHostedRunnerGroupForOrg\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
2626
return new \RingCentral\Psr7\Request('post', \str_replace(array('{org}'), array($this->org), '/orgs/{org}/actions/runner-groups'), array('Content-Type' => 'application/json'), json_encode($data));
2727
}
2828
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\RunnerGroupsOrg

src/OpenAPI/ApiGitHubCom/Operation/Actions/CreateWorkflowDispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
2828
}
2929
function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterface
3030
{
31-
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\C27483Ffb46246283985A378C8F0Eb254::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
31+
$this->requestSchemaValidator->validate($data, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\CreateWorkflowDispatch\Request::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
3232
return new \RingCentral\Psr7\Request('post', \str_replace(array('{owner}', '{repo}', '{workflow_id}'), array($this->owner, $this->repo, $this->workflow_id), '/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches'), array('Content-Type' => 'application/json'), json_encode($data));
3333
}
3434
function createResponse(\Psr\Http\Message\ResponseInterface $response) :

src/OpenAPI/ApiGitHubCom/Operation/Actions/GetActionsCacheUsageByRepoForOrg.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function createRequest(array $data = array()) : \Psr\Http\Message\RequestInterfa
3030
{
3131
return new \RingCentral\Psr7\Request('get', \str_replace(array('{org}', '{per_page}', '{page}'), array($this->org, $this->per_page, $this->page), '/orgs/{org}/actions/cache/usage-by-repository?per_page={per_page}&page={page}'));
3232
}
33-
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\CA766240607F2714081157433E87Abe14
33+
function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\GetActionsCacheUsageByRepoForOrg\Response\Application\Json\H200
3434
{
3535
$contentType = $response->getHeaderLine('Content-Type');
3636
$body = json_decode($response->getBody()->getContents(), true);
@@ -40,8 +40,8 @@ function createResponse(\Psr\Http\Message\ResponseInterface $response) : \ApiCli
4040
case 200:
4141
switch ($contentType) {
4242
case 'application/json':
43-
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Unknown\CA766240607F2714081157433E87Abe14::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
44-
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\Unknown\\CA766240607F2714081157433E87Abe14', $body);
43+
$this->responseSchemaValidator->validate($body, \cebe\openapi\Reader::readFromJson(\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\GetActionsCacheUsageByRepoForOrg\Response\Application\Json\H200::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema'));
44+
return $hydrator->hydrate('\\ApiClients\\Client\\Github\\OpenAPI\\ApiGitHubCom\\Schema\\GetActionsCacheUsageByRepoForOrg\\Response\\Application\\Json\\H200', $body);
4545
}
4646
break;
4747
}

0 commit comments

Comments
 (0)