Skip to content

Commit 299ea0a

Browse files
authored
Merge pull request #1500 from php-api-clients/GitHubEnterprise-3.14/from-1.1.4-aeaedf4d332292bd7f909991602bd632-from-1.1.4-aeaedf4d332292bd7f909991602bd632
2 parents 4eb8a97 + 61e9845 commit 299ea0a

File tree

34 files changed

+347
-81
lines changed

34 files changed

+347
-81
lines changed

clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "e6b97d7e63c1ce77438434e9c1074e81",
2+
"specHash": "aeaedf4d332292bd7f909991602bd632",
33
"generatedFiles": {
44
"files": [
55
{
@@ -1404,15 +1404,15 @@
14041404
},
14051405
{
14061406
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterprise.php",
1407-
"hash": "e9e027f6b2a8007f9f5b6acb6994ef9a"
1407+
"hash": "37b966c3be28f5d619fc18ed5114c394"
14081408
},
14091409
{
14101410
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php",
1411-
"hash": "9f8e11df86c6ade6de328ed0fc9281c5"
1411+
"hash": "9db39a84fee21257cc067d9bdf7a492e"
14121412
},
14131413
{
14141414
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php",
1415-
"hash": "3afea68b553bfe1cac47015c75c98301"
1415+
"hash": "926aaa7e0af2f87c03b22503bea2b0f4"
14161416
},
14171417
{
14181418
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/CreateRegistrationTokenForEnterprise.php",
@@ -2828,15 +2828,15 @@
28282828
},
28292829
{
28302830
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrg.php",
2831-
"hash": "5b1a166688d3b4ed48b42651ea2b62b2"
2831+
"hash": "3875b24e80e17ae8af72cc65d64977a3"
28322832
},
28332833
{
28342834
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php",
2835-
"hash": "9957e41b1b70e8ee20d13d7b2162add4"
2835+
"hash": "e6bade18c0d7ec70a21729d8f82f720a"
28362836
},
28372837
{
28382838
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php",
2839-
"hash": "61cd60ce68bfdceb97ac648b9a494ddf"
2839+
"hash": "3ab032545cc18b59298430996d523c77"
28402840
},
28412841
{
28422842
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForOrg.php",
@@ -5900,15 +5900,15 @@
59005900
},
59015901
{
59025902
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepo.php",
5903-
"hash": "8faae51d34a860ebefe427904f6e8bd1"
5903+
"hash": "6c984aa8217df6433d3055b33c5ae550"
59045904
},
59055905
{
59065906
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php",
5907-
"hash": "0a200eb07b9e0671f0956feaec4157b4"
5907+
"hash": "a918f5cd95dd5a35a68d4f453033b797"
59085908
},
59095909
{
59105910
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php",
5911-
"hash": "6b0ec94fba6c57dc29999347460c2404"
5911+
"hash": "a24a9faf6e42a17a6a598b39419ca724"
59125912
},
59135913
{
59145914
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForRepo.php",
@@ -13624,7 +13624,7 @@
1362413624
},
1362513625
{
1362613626
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Runner.php",
13627-
"hash": "acbea8defa06c8663b82824a625f6e97"
13627+
"hash": "2f4bed515d57bfe134f8006c9b0d8bae"
1362813628
},
1362913629
{
1363013630
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RunnerApplication.php",
@@ -24898,21 +24898,17 @@
2489824898
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/EnterpriseAdmin\/SetOrgAccessToSelfHostedRunnerGroupInEnterprise\/Request\/ApplicationJson.php",
2489924899
"hash": "f548c34de62e3dd6c8a082a87b8a70f0"
2490024900
},
24901-
{
24902-
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet64C370DE\/Tiet030B21C9\/Tiet0FE13F38\/Tiet1E6A295D.php",
24903-
"hash": "7dcf516aca8c14eff808b1ffd646946a"
24904-
},
2490524901
{
2490624902
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok.php",
24907-
"hash": "4fa0f0d0b470fee2bca61d0b9eccfd63"
24903+
"hash": "b52b42afc85216da61adf5db4125d518"
2490824904
},
2490924905
{
2491024906
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
24911-
"hash": "fbbabcf9dd7fba3f3449bf5038af0ea4"
24907+
"hash": "c1b1abee2db6633ba9404898f4eed0a5"
2491224908
},
2491324909
{
2491424910
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersInGroupForEnterprise\/Response\/ApplicationJson\/Ok.php",
24915-
"hash": "93291b42e4242f1887b5f0e5a25e9721"
24911+
"hash": "0b041faee00db7e3fe93cfc1f107541e"
2491624912
},
2491724913
{
2491824914
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietC1ED0A10\/Tiet2CE6A484\/Tiet45FE9908\/TietC65D2293.php",
@@ -24928,7 +24924,7 @@
2492824924
},
2492924925
{
2493024926
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersForEnterprise\/Response\/ApplicationJson\/Ok.php",
24931-
"hash": "a32110ce5e8860b48a688e4e407eb4ee"
24927+
"hash": "8e2de84788846c36fc73647fbc66fe97"
2493224928
},
2493324929
{
2493424930
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF690ED31\/TietD3330210\/Tiet500A0F49\/Tiet18AD180E.php",
@@ -24948,7 +24944,7 @@
2494824944
},
2494924945
{
2495024946
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/GenerateRunnerJitconfigForEnterprise\/Response\/ApplicationJson\/Created.php",
24951-
"hash": "71400e98a97e37f32542b3cf70720f13"
24947+
"hash": "6de95362f175b4f184556f6c7a9fff3f"
2495224948
},
2495324949
{
2495424950
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet465FFE22\/Tiet83692C35\/TietB7E35CD3\/TietF31B8C6B.php",
@@ -25234,21 +25230,17 @@
2523425230
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Actions\/SetRepoAccessToSelfHostedRunnerGroupInOrg\/Request\/ApplicationJson.php",
2523525231
"hash": "41a8c952d6d0c5d1d20081805e1bac20"
2523625232
},
25237-
{
25238-
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet2329E85F\/Tiet2404E7BA\/TietF6C81F1C\/Tiet1EE267CF.php",
25239-
"hash": "63b0bef56d708e3841152f778bd82865"
25240-
},
2524125233
{
2524225234
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok.php",
25243-
"hash": "f44ad9f89a0928cc4740e9493b873f80"
25235+
"hash": "9478e6c54a9741cc463a7f83f6f13d97"
2524425236
},
2524525237
{
2524625238
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
25247-
"hash": "8892a7cb3a0037f2865ec40fe5074f3c"
25239+
"hash": "5c2d68f664a7dc769be0e4eee088aca4"
2524825240
},
2524925241
{
2525025242
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForOrg\/Response\/ApplicationJson\/Ok.php",
25251-
"hash": "7f967b62e7eb29298a7b395e8791cc97"
25243+
"hash": "7ad189d15ce0b4bd72f7fb86fefd7bad"
2525225244
},
2525325245
{
2525425246
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListOrgSecrets\/Response\/ApplicationJson\/Ok.php",
@@ -26944,7 +26936,7 @@
2694426936
},
2694526937
{
2694626938
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php",
26947-
"hash": "154adb9b3b9ea89d158bad2677cd6260"
26939+
"hash": "1a870083e1219d7429319552fe91aeb4"
2694826940
},
2694926941
{
2695026942
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php",
@@ -27312,7 +27304,7 @@
2731227304
},
2731327305
{
2731427306
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
27315-
"hash": "582e4f65708d890bcbaccfa125c8d5f6"
27307+
"hash": "cf3e6aeacd5937b5c021da5f0e8b282e"
2731627308
},
2731727309
{
2731827310
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php",
@@ -27324,7 +27316,7 @@
2732427316
},
2732527317
{
2732627318
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
27327-
"hash": "b3d29fd4e2f31b05c7cf82e1bfa3709c"
27319+
"hash": "d8d45a5cba437a0eb24d6f7a368eceaf"
2732827320
},
2732927321
{
2733027322
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php",
@@ -27452,11 +27444,11 @@
2745227444
},
2745327445
{
2745427446
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27455-
"hash": "eb9acf050e7c53fe1a316472b8cdc81d"
27447+
"hash": "4b681e3c482394b8c75a067e09404871"
2745627448
},
2745727449
{
2745827450
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27459-
"hash": "e5864aba0dd4de9cada7ede4eeee69c5"
27451+
"hash": "1fb5c1ccf9b5cbcb81bff41cb71677ff"
2746027452
},
2746127453
{
2746227454
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27496,7 +27488,7 @@
2749627488
},
2749727489
{
2749827490
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Actions.php",
27499-
"hash": "896b1f5c6516371d759abf61887a73b8"
27491+
"hash": "c90b1629a8a9dc50fdb7f5403f2ccc83"
2750027492
},
2750127493
{
2750227494
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
@@ -28156,7 +28148,7 @@
2815628148
},
2815728149
{
2815828150
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/GenerateJitconfig.php",
28159-
"hash": "6ed3cf9554d8e451e85e0c900682d167"
28151+
"hash": "1bb05bb7b342d7151e79065b1ba6f3f0"
2816028152
},
2816128153
{
2816228154
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RegistrationToken.php",
@@ -28168,7 +28160,7 @@
2816828160
},
2816928161
{
2817028162
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId.php",
28171-
"hash": "002046d8310b7fa65b722c3c7c9aaf94"
28163+
"hash": "e9ae0b318fa4c2d326c1651df3534526"
2817228164
},
2817328165
{
2817428166
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -28380,7 +28372,7 @@
2838028372
},
2838128373
{
2838228374
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/GenerateJitconfig.php",
28383-
"hash": "f6aab8af11fc4eec2f5ef34c83c06e94"
28375+
"hash": "8bcffbf50f8f8a7efbc7ba133ec9fbdb"
2838428376
},
2838528377
{
2838628378
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RegistrationToken.php",
@@ -28392,7 +28384,7 @@
2839228384
},
2839328385
{
2839428386
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId.php",
28395-
"hash": "c1646984fe58b8cb91f07c7e7df97034"
28387+
"hash": "98e775b2382a20ee79bcc3279a007257"
2839628388
},
2839728389
{
2839828390
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -28828,7 +28820,7 @@
2882828820
},
2882928821
{
2883028822
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/GenerateJitconfig.php",
28831-
"hash": "f34be3f4fc19b08d087e8e0ff21c08bc"
28823+
"hash": "a6db05e046f434e6628a67da0866de29"
2883228824
},
2883328825
{
2883428826
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RegistrationToken.php",
@@ -28840,7 +28832,7 @@
2884028832
},
2884128833
{
2884228834
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId.php",
28843-
"hash": "2b528e648dd3d958a6f84a9e0702bcad"
28835+
"hash": "9fc8b5c6b0717a5d76aecbcb69ebf459"
2884428836
},
2884528837
{
2884628838
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -30273,6 +30265,14 @@
3027330265
{
3027430266
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEpss.php",
3027530267
"hash": "d40638f97574f7a84a0e52535948cc82"
30268+
},
30269+
{
30270+
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietED690D6D\/Tiet788B85F7\/Tiet90BDCBBD\/Tiet6547B867.php",
30271+
"hash": "ff58fe753d363c5aaf8f3621b0726c2a"
30272+
},
30273+
{
30274+
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEAB1E353\/TietA691FF98\/TietCADB7922\/TietA4382CA1.php",
30275+
"hash": "c57517b93469a1558cb104c0b535b6c4"
3027630276
}
3027730277
]
3027830278
},

clients/GitHubEnterprise-3.14/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/GenerateJitconfig.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
182182
$properties['labels'] = $value;
183183

184184
after_labels:
185+
186+
$value = $payload['ephemeral'] ?? null;
187+
188+
if ($value === null) {
189+
$properties['ephemeral'] = null;
190+
goto after_ephemeral;
191+
}
192+
193+
$properties['ephemeral'] = $value;
194+
195+
after_ephemeral:
185196
} catch (Throwable $exception) {
186197
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack);
187198
}
@@ -462,6 +473,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
462473
$labels = $labelsSerializer0->serialize($labels, $this);
463474
after_labels: $result['labels'] = $labels;
464475

476+
$ephemeral = $object->ephemeral;
477+
478+
if ($ephemeral === null) {
479+
goto after_ephemeral;
480+
}
481+
482+
after_ephemeral: $result['ephemeral'] = $ephemeral;
483+
465484
return $result;
466485
}
467486

clients/GitHubEnterprise-3.14/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/RunnerId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
124124
$properties['labels'] = $value;
125125

126126
after_labels:
127+
128+
$value = $payload['ephemeral'] ?? null;
129+
130+
if ($value === null) {
131+
$properties['ephemeral'] = null;
132+
goto after_ephemeral;
133+
}
134+
135+
$properties['ephemeral'] = $value;
136+
137+
after_ephemeral:
127138
} catch (Throwable $exception) {
128139
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack);
129140
}
@@ -271,6 +282,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
271282
$labels = $labelsSerializer0->serialize($labels, $this);
272283
after_labels: $result['labels'] = $labels;
273284

285+
$ephemeral = $object->ephemeral;
286+
287+
if ($ephemeral === null) {
288+
goto after_ephemeral;
289+
}
290+
291+
after_ephemeral: $result['ephemeral'] = $ephemeral;
292+
274293
return $result;
275294
}
276295

clients/GitHubEnterprise-3.14/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/GenerateJitconfig.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
182182
$properties['labels'] = $value;
183183

184184
after_labels:
185+
186+
$value = $payload['ephemeral'] ?? null;
187+
188+
if ($value === null) {
189+
$properties['ephemeral'] = null;
190+
goto after_ephemeral;
191+
}
192+
193+
$properties['ephemeral'] = $value;
194+
195+
after_ephemeral:
185196
} catch (Throwable $exception) {
186197
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack);
187198
}
@@ -462,6 +473,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
462473
$labels = $labelsSerializer0->serialize($labels, $this);
463474
after_labels: $result['labels'] = $labels;
464475

476+
$ephemeral = $object->ephemeral;
477+
478+
if ($ephemeral === null) {
479+
goto after_ephemeral;
480+
}
481+
482+
after_ephemeral: $result['ephemeral'] = $ephemeral;
483+
465484
return $result;
466485
}
467486

clients/GitHubEnterprise-3.14/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/RunnerId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
124124
$properties['labels'] = $value;
125125

126126
after_labels:
127+
128+
$value = $payload['ephemeral'] ?? null;
129+
130+
if ($value === null) {
131+
$properties['ephemeral'] = null;
132+
goto after_ephemeral;
133+
}
134+
135+
$properties['ephemeral'] = $value;
136+
137+
after_ephemeral:
127138
} catch (Throwable $exception) {
128139
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack);
129140
}
@@ -271,6 +282,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
271282
$labels = $labelsSerializer0->serialize($labels, $this);
272283
after_labels: $result['labels'] = $labels;
273284

285+
$ephemeral = $object->ephemeral;
286+
287+
if ($ephemeral === null) {
288+
goto after_ephemeral;
289+
}
290+
291+
after_ephemeral: $result['ephemeral'] = $ephemeral;
292+
274293
return $result;
275294
}
276295

0 commit comments

Comments
 (0)