Skip to content

Commit a0f1b69

Browse files
committed
Update to latest
1 parent cd18f64 commit a0f1b69

File tree

184 files changed

+14447
-766
lines changed

Some content is hidden

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

184 files changed

+14447
-766
lines changed

etc/openapi-generator-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
spec: https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/ghec/ghec.yaml
22
namespace: ApiClients\Client\GitHubEnterpriseCloud
3-
destination: ../src
3+
destination:
4+
root: ../
5+
source: src
6+
test: tests
47
schemas:
58
allowDuplication: true
69
useAliasesForDuplication: true

src/Client.php

Lines changed: 93 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.php

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

669669
after_pullRequests:
670670

671-
$value = $payload['repository_announcement_banners'] ?? null;
672-
673-
if ($value === null) {
674-
$properties['repositoryAnnouncementBanners'] = null;
675-
goto after_repositoryAnnouncementBanners;
676-
}
677-
678-
$properties['repositoryAnnouncementBanners'] = $value;
679-
680-
after_repositoryAnnouncementBanners:
681-
682671
$value = $payload['repository_hooks'] ?? null;
683672

684673
if ($value === null) {
@@ -1387,14 +1376,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
13871376
after_pullRequests: $result['pull_requests'] = $pullRequests;
13881377

13891378

1390-
$repositoryAnnouncementBanners = $object->repositoryAnnouncementBanners;
1391-
1392-
if ($repositoryAnnouncementBanners === null) {
1393-
goto after_repositoryAnnouncementBanners;
1394-
}
1395-
after_repositoryAnnouncementBanners: $result['repository_announcement_banners'] = $repositoryAnnouncementBanners;
1396-
1397-
13981379
$repositoryHooks = $object->repositoryHooks;
13991380

14001381
if ($repositoryHooks === null) {

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

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

670670
after_pullRequests:
671671

672-
$value = $payload['repository_announcement_banners'] ?? null;
673-
674-
if ($value === null) {
675-
$properties['repositoryAnnouncementBanners'] = null;
676-
goto after_repositoryAnnouncementBanners;
677-
}
678-
679-
$properties['repositoryAnnouncementBanners'] = $value;
680-
681-
after_repositoryAnnouncementBanners:
682-
683672
$value = $payload['repository_hooks'] ?? null;
684673

685674
if ($value === null) {
@@ -1454,14 +1443,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
14541443
after_pullRequests: $result['pull_requests'] = $pullRequests;
14551444

14561445

1457-
$repositoryAnnouncementBanners = $object->repositoryAnnouncementBanners;
1458-
1459-
if ($repositoryAnnouncementBanners === null) {
1460-
goto after_repositoryAnnouncementBanners;
1461-
}
1462-
after_repositoryAnnouncementBanners: $result['repository_announcement_banners'] = $repositoryAnnouncementBanners;
1463-
1464-
14651446
$repositoryHooks = $object->repositoryHooks;
14661447

14671448
if ($repositoryHooks === null) {

src/Hydrator/Operation/App/Installations/CbInstallationIdRcb/AccessTokens.php

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

294294
after_pullRequests:
295295

296-
$value = $payload['repository_announcement_banners'] ?? null;
297-
298-
if ($value === null) {
299-
$properties['repositoryAnnouncementBanners'] = null;
300-
goto after_repositoryAnnouncementBanners;
301-
}
302-
303-
$properties['repositoryAnnouncementBanners'] = $value;
304-
305-
after_repositoryAnnouncementBanners:
306-
307296
$value = $payload['repository_hooks'] ?? null;
308297

309298
if ($value === null) {
@@ -3835,14 +3824,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
38353824
after_pullRequests: $result['pull_requests'] = $pullRequests;
38363825

38373826

3838-
$repositoryAnnouncementBanners = $object->repositoryAnnouncementBanners;
3839-
3840-
if ($repositoryAnnouncementBanners === null) {
3841-
goto after_repositoryAnnouncementBanners;
3842-
}
3843-
after_repositoryAnnouncementBanners: $result['repository_announcement_banners'] = $repositoryAnnouncementBanners;
3844-
3845-
38463827
$repositoryHooks = $object->repositoryHooks;
38473828

38483829
if ($repositoryHooks === null) {

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

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

669669
after_pullRequests:
670670

671-
$value = $payload['repository_announcement_banners'] ?? null;
672-
673-
if ($value === null) {
674-
$properties['repositoryAnnouncementBanners'] = null;
675-
goto after_repositoryAnnouncementBanners;
676-
}
677-
678-
$properties['repositoryAnnouncementBanners'] = $value;
679-
680-
after_repositoryAnnouncementBanners:
681-
682671
$value = $payload['repository_hooks'] ?? null;
683672

684673
if ($value === null) {
@@ -1387,14 +1376,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
13871376
after_pullRequests: $result['pull_requests'] = $pullRequests;
13881377

13891378

1390-
$repositoryAnnouncementBanners = $object->repositoryAnnouncementBanners;
1391-
1392-
if ($repositoryAnnouncementBanners === null) {
1393-
goto after_repositoryAnnouncementBanners;
1394-
}
1395-
after_repositoryAnnouncementBanners: $result['repository_announcement_banners'] = $repositoryAnnouncementBanners;
1396-
1397-
13981379
$repositoryHooks = $object->repositoryHooks;
13991380

14001381
if ($repositoryHooks === null) {

src/Hydrator/Operation/Orgs/CbOrgRcb/Installations.php

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

723723
after_pullRequests:
724724

725-
$value = $payload['repository_announcement_banners'] ?? null;
726-
727-
if ($value === null) {
728-
$properties['repositoryAnnouncementBanners'] = null;
729-
goto after_repositoryAnnouncementBanners;
730-
}
731-
732-
$properties['repositoryAnnouncementBanners'] = $value;
733-
734-
after_repositoryAnnouncementBanners:
735-
736725
$value = $payload['repository_hooks'] ?? null;
737726

738727
if ($value === null) {
@@ -1468,14 +1457,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
14681457
after_pullRequests: $result['pull_requests'] = $pullRequests;
14691458

14701459

1471-
$repositoryAnnouncementBanners = $object->repositoryAnnouncementBanners;
1472-
1473-
if ($repositoryAnnouncementBanners === null) {
1474-
goto after_repositoryAnnouncementBanners;
1475-
}
1476-
after_repositoryAnnouncementBanners: $result['repository_announcement_banners'] = $repositoryAnnouncementBanners;
1477-
1478-
14791460
$repositoryHooks = $object->repositoryHooks;
14801461

14811462
if ($repositoryHooks === null) {

src/Hydrator/Operation/Orgs/CbOrgRcb/Invitations/CbInvitationIdRcb/Teams.php

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

103103
after_privacy:
104104

105+
$value = $payload['notification_setting'] ?? null;
106+
107+
if ($value === null) {
108+
$properties['notificationSetting'] = null;
109+
goto after_notificationSetting;
110+
}
111+
112+
$properties['notificationSetting'] = $value;
113+
114+
after_notificationSetting:
115+
105116
$value = $payload['permission'] ?? null;
106117

107118
if ($value === null) {
@@ -488,6 +499,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
488499
after_privacy: $result['privacy'] = $privacy;
489500

490501

502+
$notificationSetting = $object->notificationSetting;
503+
504+
if ($notificationSetting === null) {
505+
goto after_notificationSetting;
506+
}
507+
after_notificationSetting: $result['notification_setting'] = $notificationSetting;
508+
509+
491510
$permission = $object->permission;
492511
after_permission: $result['permission'] = $permission;
493512

src/Hydrator/Operation/Orgs/CbOrgRcb/SecurityManagers.php

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

123123
after_privacy:
124124

125+
$value = $payload['notification_setting'] ?? null;
126+
127+
if ($value === null) {
128+
$properties['notificationSetting'] = null;
129+
goto after_notificationSetting;
130+
}
131+
132+
$properties['notificationSetting'] = $value;
133+
134+
after_notificationSetting:
135+
125136
$value = $payload['html_url'] ?? null;
126137

127138
if ($value === null) {
@@ -331,6 +342,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
331342
after_privacy: $result['privacy'] = $privacy;
332343

333344

345+
$notificationSetting = $object->notificationSetting;
346+
347+
if ($notificationSetting === null) {
348+
goto after_notificationSetting;
349+
}
350+
after_notificationSetting: $result['notification_setting'] = $notificationSetting;
351+
352+
334353
$htmlUrl = $object->htmlUrl;
335354
after_htmlUrl: $result['html_url'] = $htmlUrl;
336355

0 commit comments

Comments
 (0)