Skip to content

Commit a8721d5

Browse files
authored
[GitHubEnterpriseCloud] Update to 1.1.4-069f6f8cddd6137eb77177187c492ecb from 1.1.4-2bfc56a10e4f0ed2175059088ca3bc5e
Detected Schema changes: starting work. Building original model for commit 8179d6 {"time":"2023-12-08T16:32:50.908874803Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2023-12-08T16:32:50.908991001Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} {"time":"2023-12-08T16:32:51.966720193Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2023-12-08T16:32:51.966829949Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} SPEC: extracted 1 commits from history SUCCESS: No changes detected DONE: completed WARNING: warnings reported during processing ⚠️ Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification
1 parent 04e65b9 commit a8721d5

File tree

41 files changed

+3151
-91
lines changed

Some content is hidden

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

41 files changed

+3151
-91
lines changed

etc/openapi-client-generator.state

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

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

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
360360

361361
after_checks:
362362

363+
$value = $payload['codespaces'] ?? null;
364+
365+
if ($value === null) {
366+
$properties['codespaces'] = null;
367+
goto after_codespaces;
368+
}
369+
370+
$properties['codespaces'] = $value;
371+
372+
after_codespaces:
373+
363374
$value = $payload['contents'] ?? null;
364375

365376
if ($value === null) {
@@ -371,6 +382,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
371382

372383
after_contents:
373384

385+
$value = $payload['dependabot_secrets'] ?? null;
386+
387+
if ($value === null) {
388+
$properties['dependabotSecrets'] = null;
389+
goto after_dependabotSecrets;
390+
}
391+
392+
$properties['dependabotSecrets'] = $value;
393+
394+
after_dependabotSecrets:
395+
374396
$value = $payload['deployments'] ?? null;
375397

376398
if ($value === null) {
@@ -635,6 +657,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
635657

636658
after_organizationAnnouncementBanners:
637659

660+
$value = $payload['organization_events'] ?? null;
661+
662+
if ($value === null) {
663+
$properties['organizationEvents'] = null;
664+
goto after_organizationEvents;
665+
}
666+
667+
$properties['organizationEvents'] = $value;
668+
669+
after_organizationEvents:
670+
638671
$value = $payload['organization_hooks'] ?? null;
639672

640673
if ($value === null) {
@@ -744,6 +777,83 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
744777
$properties['teamDiscussions'] = $value;
745778

746779
after_teamDiscussions:
780+
781+
$value = $payload['email_addresses'] ?? null;
782+
783+
if ($value === null) {
784+
$properties['emailAddresses'] = null;
785+
goto after_emailAddresses;
786+
}
787+
788+
$properties['emailAddresses'] = $value;
789+
790+
after_emailAddresses:
791+
792+
$value = $payload['followers'] ?? null;
793+
794+
if ($value === null) {
795+
$properties['followers'] = null;
796+
goto after_followers;
797+
}
798+
799+
$properties['followers'] = $value;
800+
801+
after_followers:
802+
803+
$value = $payload['git_ssh_keys'] ?? null;
804+
805+
if ($value === null) {
806+
$properties['gitSshKeys'] = null;
807+
goto after_gitSshKeys;
808+
}
809+
810+
$properties['gitSshKeys'] = $value;
811+
812+
after_gitSshKeys:
813+
814+
$value = $payload['gpg_keys'] ?? null;
815+
816+
if ($value === null) {
817+
$properties['gpgKeys'] = null;
818+
goto after_gpgKeys;
819+
}
820+
821+
$properties['gpgKeys'] = $value;
822+
823+
after_gpgKeys:
824+
825+
$value = $payload['interaction_limits'] ?? null;
826+
827+
if ($value === null) {
828+
$properties['interactionLimits'] = null;
829+
goto after_interactionLimits;
830+
}
831+
832+
$properties['interactionLimits'] = $value;
833+
834+
after_interactionLimits:
835+
836+
$value = $payload['profile'] ?? null;
837+
838+
if ($value === null) {
839+
$properties['profile'] = null;
840+
goto after_profile;
841+
}
842+
843+
$properties['profile'] = $value;
844+
845+
after_profile:
846+
847+
$value = $payload['starring'] ?? null;
848+
849+
if ($value === null) {
850+
$properties['starring'] = null;
851+
goto after_starring;
852+
}
853+
854+
$properties['starring'] = $value;
855+
856+
after_starring:
747857
} catch (Throwable $exception) {
748858
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\AppPermissions', $exception, stack: $this->hydrationStack);
749859
}
@@ -1316,6 +1426,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
13161426

13171427
after_checks: $result['checks'] = $checks;
13181428

1429+
$codespaces = $object->codespaces;
1430+
1431+
if ($codespaces === null) {
1432+
goto after_codespaces;
1433+
}
1434+
1435+
after_codespaces: $result['codespaces'] = $codespaces;
1436+
13191437
$contents = $object->contents;
13201438

13211439
if ($contents === null) {
@@ -1324,6 +1442,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
13241442

13251443
after_contents: $result['contents'] = $contents;
13261444

1445+
$dependabotSecrets = $object->dependabotSecrets;
1446+
1447+
if ($dependabotSecrets === null) {
1448+
goto after_dependabotSecrets;
1449+
}
1450+
1451+
after_dependabotSecrets: $result['dependabot_secrets'] = $dependabotSecrets;
1452+
13271453
$deployments = $object->deployments;
13281454

13291455
if ($deployments === null) {
@@ -1516,6 +1642,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
15161642

15171643
after_organizationAnnouncementBanners: $result['organization_announcement_banners'] = $organizationAnnouncementBanners;
15181644

1645+
$organizationEvents = $object->organizationEvents;
1646+
1647+
if ($organizationEvents === null) {
1648+
goto after_organizationEvents;
1649+
}
1650+
1651+
after_organizationEvents: $result['organization_events'] = $organizationEvents;
1652+
15191653
$organizationHooks = $object->organizationHooks;
15201654

15211655
if ($organizationHooks === null) {
@@ -1596,6 +1730,62 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
15961730

15971731
after_teamDiscussions: $result['team_discussions'] = $teamDiscussions;
15981732

1733+
$emailAddresses = $object->emailAddresses;
1734+
1735+
if ($emailAddresses === null) {
1736+
goto after_emailAddresses;
1737+
}
1738+
1739+
after_emailAddresses: $result['email_addresses'] = $emailAddresses;
1740+
1741+
$followers = $object->followers;
1742+
1743+
if ($followers === null) {
1744+
goto after_followers;
1745+
}
1746+
1747+
after_followers: $result['followers'] = $followers;
1748+
1749+
$gitSshKeys = $object->gitSshKeys;
1750+
1751+
if ($gitSshKeys === null) {
1752+
goto after_gitSshKeys;
1753+
}
1754+
1755+
after_gitSshKeys: $result['git_ssh_keys'] = $gitSshKeys;
1756+
1757+
$gpgKeys = $object->gpgKeys;
1758+
1759+
if ($gpgKeys === null) {
1760+
goto after_gpgKeys;
1761+
}
1762+
1763+
after_gpgKeys: $result['gpg_keys'] = $gpgKeys;
1764+
1765+
$interactionLimits = $object->interactionLimits;
1766+
1767+
if ($interactionLimits === null) {
1768+
goto after_interactionLimits;
1769+
}
1770+
1771+
after_interactionLimits: $result['interaction_limits'] = $interactionLimits;
1772+
1773+
$profile = $object->profile;
1774+
1775+
if ($profile === null) {
1776+
goto after_profile;
1777+
}
1778+
1779+
after_profile: $result['profile'] = $profile;
1780+
1781+
$starring = $object->starring;
1782+
1783+
if ($starring === null) {
1784+
goto after_starring;
1785+
}
1786+
1787+
after_starring: $result['starring'] = $starring;
1788+
15991789
return $result;
16001790
}
16011791

0 commit comments

Comments
 (0)