Skip to content

Commit 7a0471d

Browse files
authored
[GitHubAE] Update to 1.1.4 (hash: 3c30b4654b8763c53887fef2aad3304a) from 1.1.4 (hash: ec8d62c96c21ee75ab5090ebcb0e8cb2)
Detected Schema changes:
1 parent 9e73f5f commit 7a0471d

File tree

276 files changed

+2250
-222
lines changed

Some content is hidden

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

276 files changed

+2250
-222
lines changed

etc/openapi-client-generator.state

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Client.php

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

src/ClientInterface.php

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

src/Hydrator/Operation/App/Installations/InstallationId.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️In
6464

6565
$value = $accountCaster1->cast($value, $this);
6666

67+
if ($value === null) {
68+
$missingFields[] = 'account';
69+
goto after_account;
70+
}
71+
6772
$properties['account'] = $value;
6873

6974
after_account:

src/Hydrator/Operation/Meta.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️Ap
7878

7979
after_hooks:
8080

81+
$value = $payload['github_enterprise_importer'] ?? null;
82+
83+
if ($value === null) {
84+
$properties['githubEnterpriseImporter'] = null;
85+
goto after_githubEnterpriseImporter;
86+
}
87+
88+
$properties['githubEnterpriseImporter'] = $value;
89+
90+
after_githubEnterpriseImporter:
91+
8192
$value = $payload['web'] ?? null;
8293

8394
if ($value === null) {
@@ -472,6 +483,22 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubAE⚡️Schema
472483
after_hooks: $result['hooks'] = $hooks;
473484

474485

486+
$githubEnterpriseImporter = $object->githubEnterpriseImporter;
487+
488+
if ($githubEnterpriseImporter === null) {
489+
goto after_githubEnterpriseImporter;
490+
}
491+
static $githubEnterpriseImporterSerializer0;
492+
493+
if ($githubEnterpriseImporterSerializer0 === null) {
494+
$githubEnterpriseImporterSerializer0 = new \EventSauce\ObjectHydrator\PropertySerializers\SerializeArrayItems(...array (
495+
));
496+
}
497+
498+
$githubEnterpriseImporter = $githubEnterpriseImporterSerializer0->serialize($githubEnterpriseImporter, $this);
499+
after_githubEnterpriseImporter: $result['github_enterprise_importer'] = $githubEnterpriseImporter;
500+
501+
475502
$web = $object->web;
476503

477504
if ($web === null) {

src/Hydrator/Operation/Orgs/Org/Installation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️In
6363

6464
$value = $accountCaster1->cast($value, $this);
6565

66+
if ($value === null) {
67+
$missingFields[] = 'account';
68+
goto after_account;
69+
}
70+
6671
$properties['account'] = $value;
6772

6873
after_account:

src/Hydrator/Operation/Repos/Owner/Repo/Deployments.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️De
121121

122122
$value = $payloadCaster1->cast($value, $this);
123123

124+
if ($value === null) {
125+
$missingFields[] = 'payload';
126+
goto after_payload;
127+
}
128+
124129
$properties['payload'] = $value;
125130

126131
after_payload:

src/Hydrator/Operation/Repos/Owner/Repo/Deployments/DeploymentId.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️De
121121

122122
$value = $payloadCaster1->cast($value, $this);
123123

124+
if ($value === null) {
125+
$missingFields[] = 'payload';
126+
goto after_payload;
127+
}
128+
124129
$properties['payload'] = $value;
125130

126131
after_payload:

src/Hydrator/Operation/Repos/Owner/Repo/Installation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️In
6464

6565
$value = $accountCaster1->cast($value, $this);
6666

67+
if ($value === null) {
68+
$missingFields[] = 'account';
69+
goto after_account;
70+
}
71+
6772
$properties['account'] = $value;
6873

6974
after_account:

src/Hydrator/Operation/Users/Username/Installation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ private function hydrateApiClients⚡️Client⚡️GitHubAE⚡️Schema⚡️In
6363

6464
$value = $accountCaster1->cast($value, $this);
6565

66+
if ($value === null) {
67+
$missingFields[] = 'account';
68+
goto after_account;
69+
}
70+
6671
$properties['account'] = $value;
6772

6873
after_account:

0 commit comments

Comments
 (0)