Skip to content

Commit d6f36d7

Browse files
committed
Put all params into operation request creation
1 parent e9ff110 commit d6f36d7

File tree

21 files changed

+1160
-1003
lines changed

21 files changed

+1160
-1003
lines changed

src/Client.php

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

src/Hydrator/Operation/Repos/CbOwnerRcb/CbRepoRcb/Pulls/CbPullNumberRcb/Comments.php

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

337337
after_side:
338338

339+
$value = $payload['subject_type'] ?? null;
340+
341+
if ($value === null) {
342+
$properties['subjectType'] = null;
343+
goto after_subjectType;
344+
}
345+
346+
$properties['subjectType'] = $value;
347+
348+
after_subjectType:
349+
339350
$value = $payload['reactions'] ?? null;
340351

341352
if ($value === null) {
@@ -1422,6 +1433,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
14221433
after_side: $result['side'] = $side;
14231434

14241435

1436+
$subjectType = $object->subjectType;
1437+
1438+
if ($subjectType === null) {
1439+
goto after_subjectType;
1440+
}
1441+
after_subjectType: $result['subject_type'] = $subjectType;
1442+
1443+
14251444
$reactions = $object->reactions;
14261445

14271446
if ($reactions === null) {

src/Hydrator/Operation/Repos/CbOwnerRcb/CbRepoRcb/Pulls/CbPullNumberRcb/Comments/CbCommentIdRcb/Replies.php

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

335335
after_side:
336336

337+
$value = $payload['subject_type'] ?? null;
338+
339+
if ($value === null) {
340+
$properties['subjectType'] = null;
341+
goto after_subjectType;
342+
}
343+
344+
$properties['subjectType'] = $value;
345+
346+
after_subjectType:
347+
337348
$value = $payload['reactions'] ?? null;
338349

339350
if ($value === null) {
@@ -1267,6 +1278,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
12671278
after_side: $result['side'] = $side;
12681279

12691280

1281+
$subjectType = $object->subjectType;
1282+
1283+
if ($subjectType === null) {
1284+
goto after_subjectType;
1285+
}
1286+
after_subjectType: $result['subject_type'] = $subjectType;
1287+
1288+
12701289
$reactions = $object->reactions;
12711290

12721291
if ($reactions === null) {

src/Hydrator/Operation/Repos/CbOwnerRcb/CbRepoRcb/Pulls/Comments.php

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

334334
after_side:
335335

336+
$value = $payload['subject_type'] ?? null;
337+
338+
if ($value === null) {
339+
$properties['subjectType'] = null;
340+
goto after_subjectType;
341+
}
342+
343+
$properties['subjectType'] = $value;
344+
345+
after_subjectType:
346+
336347
$value = $payload['reactions'] ?? null;
337348

338349
if ($value === null) {
@@ -1200,6 +1211,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
12001211
after_side: $result['side'] = $side;
12011212

12021213

1214+
$subjectType = $object->subjectType;
1215+
1216+
if ($subjectType === null) {
1217+
goto after_subjectType;
1218+
}
1219+
after_subjectType: $result['subject_type'] = $subjectType;
1220+
1221+
12031222
$reactions = $object->reactions;
12041223

12051224
if ($reactions === null) {

src/Hydrator/Operation/Repos/CbOwnerRcb/CbRepoRcb/Pulls/Comments/CbCommentIdRcb.php

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

335335
after_side:
336336

337+
$value = $payload['subject_type'] ?? null;
338+
339+
if ($value === null) {
340+
$properties['subjectType'] = null;
341+
goto after_subjectType;
342+
}
343+
344+
$properties['subjectType'] = $value;
345+
346+
after_subjectType:
347+
337348
$value = $payload['reactions'] ?? null;
338349

339350
if ($value === null) {
@@ -1267,6 +1278,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
12671278
after_side: $result['side'] = $side;
12681279

12691280

1281+
$subjectType = $object->subjectType;
1282+
1283+
if ($subjectType === null) {
1284+
goto after_subjectType;
1285+
}
1286+
after_subjectType: $result['subject_type'] = $subjectType;
1287+
1288+
12701289
$reactions = $object->reactions;
12711290

12721291
if ($reactions === null) {

src/Hydrator/WebHook/PullRequestReviewComment.php

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

516516
after_startSide:
517517

518+
$value = $payload['subject_type'] ?? null;
519+
520+
if ($value === null) {
521+
$properties['subjectType'] = null;
522+
goto after_subjectType;
523+
}
524+
525+
$properties['subjectType'] = $value;
526+
527+
after_subjectType:
528+
518529
$value = $payload['updated_at'] ?? null;
519530

520531
if ($value === null) {
@@ -8794,6 +8805,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
87948805

87958806
after_startSide:
87968807

8808+
$value = $payload['subject_type'] ?? null;
8809+
8810+
if ($value === null) {
8811+
$properties['subjectType'] = null;
8812+
goto after_subjectType;
8813+
}
8814+
8815+
$properties['subjectType'] = $value;
8816+
8817+
after_subjectType:
8818+
87978819
$value = $payload['updated_at'] ?? null;
87988820

87998821
if ($value === null) {
@@ -11894,6 +11916,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
1189411916
after_startSide: $result['start_side'] = $startSide;
1189511917

1189611918

11919+
$subjectType = $object->subjectType;
11920+
11921+
if ($subjectType === null) {
11922+
goto after_subjectType;
11923+
}
11924+
after_subjectType: $result['subject_type'] = $subjectType;
11925+
11926+
1189711927
$updatedAt = $object->updatedAt;
1189811928
after_updatedAt: $result['updated_at'] = $updatedAt;
1189911929

@@ -16073,6 +16103,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
1607316103
after_startSide: $result['start_side'] = $startSide;
1607416104

1607516105

16106+
$subjectType = $object->subjectType;
16107+
16108+
if ($subjectType === null) {
16109+
goto after_subjectType;
16110+
}
16111+
after_subjectType: $result['subject_type'] = $subjectType;
16112+
16113+
1607616114
$updatedAt = $object->updatedAt;
1607716115
after_updatedAt: $result['updated_at'] = $updatedAt;
1607816116

src/Hydrator/WebHook/PullRequestReviewThread.php

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

80168016
after_startSide:
80178017

8018+
$value = $payload['subject_type'] ?? null;
8019+
8020+
if ($value === null) {
8021+
$properties['subjectType'] = null;
8022+
goto after_subjectType;
8023+
}
8024+
8025+
$properties['subjectType'] = $value;
8026+
8027+
after_subjectType:
8028+
80188029
$value = $payload['updated_at'] ?? null;
80198030

80208031
if ($value === null) {
@@ -9380,6 +9391,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
93809391

93819392
after_startSide:
93829393

9394+
$value = $payload['subject_type'] ?? null;
9395+
9396+
if ($value === null) {
9397+
$properties['subjectType'] = null;
9398+
goto after_subjectType;
9399+
}
9400+
9401+
$properties['subjectType'] = $value;
9402+
9403+
after_subjectType:
9404+
93839405
$value = $payload['updated_at'] ?? null;
93849406

93859407
if ($value === null) {
@@ -13611,6 +13633,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
1361113633
after_startSide: $result['start_side'] = $startSide;
1361213634

1361313635

13636+
$subjectType = $object->subjectType;
13637+
13638+
if ($subjectType === null) {
13639+
goto after_subjectType;
13640+
}
13641+
after_subjectType: $result['subject_type'] = $subjectType;
13642+
13643+
1361413644
$updatedAt = $object->updatedAt;
1361513645
after_updatedAt: $result['updated_at'] = $updatedAt;
1361613646

@@ -14188,6 +14218,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
1418814218
after_startSide: $result['start_side'] = $startSide;
1418914219

1419014220

14221+
$subjectType = $object->subjectType;
14222+
14223+
if ($subjectType === null) {
14224+
goto after_subjectType;
14225+
}
14226+
after_subjectType: $result['subject_type'] = $subjectType;
14227+
14228+
1419114229
$updatedAt = $object->updatedAt;
1419214230
after_updatedAt: $result['updated_at'] = $updatedAt;
1419314231

0 commit comments

Comments
 (0)