Skip to content

Commit 4eb8a97

Browse files
authored
Merge pull request #1499 from php-api-clients/GitHubEnterprise-3.13/from-1.1.4-3d4394c11aa41626a6e266db909dd9d7-from-1.1.4-3d4394c11aa41626a6e266db909dd9d7
2 parents b7a9ca5 + eaec2e2 commit 4eb8a97

File tree

34 files changed

+347
-81
lines changed

34 files changed

+347
-81
lines changed

clients/GitHubEnterprise-3.13/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": "1e4171c4fa0a2799e195f6bc1881cf84",
2+
"specHash": "3d4394c11aa41626a6e266db909dd9d7",
33
"generatedFiles": {
44
"files": [
55
{
@@ -1404,15 +1404,15 @@
14041404
},
14051405
{
14061406
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterprise.php",
1407-
"hash": "e9e027f6b2a8007f9f5b6acb6994ef9a"
1407+
"hash": "37b966c3be28f5d619fc18ed5114c394"
14081408
},
14091409
{
14101410
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php",
1411-
"hash": "9f8e11df86c6ade6de328ed0fc9281c5"
1411+
"hash": "9db39a84fee21257cc067d9bdf7a492e"
14121412
},
14131413
{
14141414
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php",
1415-
"hash": "3afea68b553bfe1cac47015c75c98301"
1415+
"hash": "926aaa7e0af2f87c03b22503bea2b0f4"
14161416
},
14171417
{
14181418
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/CreateRegistrationTokenForEnterprise.php",
@@ -2828,15 +2828,15 @@
28282828
},
28292829
{
28302830
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrg.php",
2831-
"hash": "5b1a166688d3b4ed48b42651ea2b62b2"
2831+
"hash": "3875b24e80e17ae8af72cc65d64977a3"
28322832
},
28332833
{
28342834
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php",
2835-
"hash": "9957e41b1b70e8ee20d13d7b2162add4"
2835+
"hash": "e6bade18c0d7ec70a21729d8f82f720a"
28362836
},
28372837
{
28382838
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php",
2839-
"hash": "61cd60ce68bfdceb97ac648b9a494ddf"
2839+
"hash": "3ab032545cc18b59298430996d523c77"
28402840
},
28412841
{
28422842
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForOrg.php",
@@ -5736,15 +5736,15 @@
57365736
},
57375737
{
57385738
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepo.php",
5739-
"hash": "8faae51d34a860ebefe427904f6e8bd1"
5739+
"hash": "6c984aa8217df6433d3055b33c5ae550"
57405740
},
57415741
{
57425742
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php",
5743-
"hash": "0a200eb07b9e0671f0956feaec4157b4"
5743+
"hash": "a918f5cd95dd5a35a68d4f453033b797"
57445744
},
57455745
{
57465746
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php",
5747-
"hash": "6b0ec94fba6c57dc29999347460c2404"
5747+
"hash": "a24a9faf6e42a17a6a598b39419ca724"
57485748
},
57495749
{
57505750
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForRepo.php",
@@ -13460,7 +13460,7 @@
1346013460
},
1346113461
{
1346213462
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Runner.php",
13463-
"hash": "acbea8defa06c8663b82824a625f6e97"
13463+
"hash": "2f4bed515d57bfe134f8006c9b0d8bae"
1346413464
},
1346513465
{
1346613466
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RunnerApplication.php",
@@ -24606,21 +24606,17 @@
2460624606
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/EnterpriseAdmin\/SetOrgAccessToSelfHostedRunnerGroupInEnterprise\/Request\/ApplicationJson.php",
2460724607
"hash": "f548c34de62e3dd6c8a082a87b8a70f0"
2460824608
},
24609-
{
24610-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet64C370DE\/Tiet030B21C9\/Tiet0FE13F38\/Tiet1E6A295D.php",
24611-
"hash": "7dcf516aca8c14eff808b1ffd646946a"
24612-
},
2461324609
{
2461424610
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok.php",
24615-
"hash": "4fa0f0d0b470fee2bca61d0b9eccfd63"
24611+
"hash": "b52b42afc85216da61adf5db4125d518"
2461624612
},
2461724613
{
2461824614
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
24619-
"hash": "fbbabcf9dd7fba3f3449bf5038af0ea4"
24615+
"hash": "c1b1abee2db6633ba9404898f4eed0a5"
2462024616
},
2462124617
{
2462224618
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersInGroupForEnterprise\/Response\/ApplicationJson\/Ok.php",
24623-
"hash": "93291b42e4242f1887b5f0e5a25e9721"
24619+
"hash": "0b041faee00db7e3fe93cfc1f107541e"
2462424620
},
2462524621
{
2462624622
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietC1ED0A10\/Tiet2CE6A484\/Tiet45FE9908\/TietC65D2293.php",
@@ -24636,7 +24632,7 @@
2463624632
},
2463724633
{
2463824634
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersForEnterprise\/Response\/ApplicationJson\/Ok.php",
24639-
"hash": "a32110ce5e8860b48a688e4e407eb4ee"
24635+
"hash": "8e2de84788846c36fc73647fbc66fe97"
2464024636
},
2464124637
{
2464224638
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF690ED31\/TietD3330210\/Tiet500A0F49\/Tiet18AD180E.php",
@@ -24656,7 +24652,7 @@
2465624652
},
2465724653
{
2465824654
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/GenerateRunnerJitconfigForEnterprise\/Response\/ApplicationJson\/Created.php",
24659-
"hash": "71400e98a97e37f32542b3cf70720f13"
24655+
"hash": "6de95362f175b4f184556f6c7a9fff3f"
2466024656
},
2466124657
{
2466224658
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet465FFE22\/Tiet83692C35\/TietB7E35CD3\/TietF31B8C6B.php",
@@ -24942,21 +24938,17 @@
2494224938
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Actions\/SetRepoAccessToSelfHostedRunnerGroupInOrg\/Request\/ApplicationJson.php",
2494324939
"hash": "41a8c952d6d0c5d1d20081805e1bac20"
2494424940
},
24945-
{
24946-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet2329E85F\/Tiet2404E7BA\/TietF6C81F1C\/Tiet1EE267CF.php",
24947-
"hash": "63b0bef56d708e3841152f778bd82865"
24948-
},
2494924941
{
2495024942
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok.php",
24951-
"hash": "f44ad9f89a0928cc4740e9493b873f80"
24943+
"hash": "9478e6c54a9741cc463a7f83f6f13d97"
2495224944
},
2495324945
{
2495424946
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
24955-
"hash": "8892a7cb3a0037f2865ec40fe5074f3c"
24947+
"hash": "5c2d68f664a7dc769be0e4eee088aca4"
2495624948
},
2495724949
{
2495824950
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForOrg\/Response\/ApplicationJson\/Ok.php",
24959-
"hash": "7f967b62e7eb29298a7b395e8791cc97"
24951+
"hash": "7ad189d15ce0b4bd72f7fb86fefd7bad"
2496024952
},
2496124953
{
2496224954
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListOrgSecrets\/Response\/ApplicationJson\/Ok.php",
@@ -26648,7 +26640,7 @@
2664826640
},
2664926641
{
2665026642
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php",
26651-
"hash": "154adb9b3b9ea89d158bad2677cd6260"
26643+
"hash": "1a870083e1219d7429319552fe91aeb4"
2665226644
},
2665326645
{
2665426646
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php",
@@ -27016,7 +27008,7 @@
2701627008
},
2701727009
{
2701827010
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php",
27019-
"hash": "582e4f65708d890bcbaccfa125c8d5f6"
27011+
"hash": "cf3e6aeacd5937b5c021da5f0e8b282e"
2702027012
},
2702127013
{
2702227014
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php",
@@ -27028,7 +27020,7 @@
2702827020
},
2702927021
{
2703027022
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
27031-
"hash": "b3d29fd4e2f31b05c7cf82e1bfa3709c"
27023+
"hash": "d8d45a5cba437a0eb24d6f7a368eceaf"
2703227024
},
2703327025
{
2703427026
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php",
@@ -27156,11 +27148,11 @@
2715627148
},
2715727149
{
2715827150
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27159-
"hash": "2fb5474325448bccbcb22bb7d1158ea1"
27151+
"hash": "cdbef71efeedf74b94bf64896cf0996d"
2716027152
},
2716127153
{
2716227154
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27163-
"hash": "54beea339c8099994a522e19c9c55b8c"
27155+
"hash": "0e9b23e65accfc413f042577f8b8500d"
2716427156
},
2716527157
{
2716627158
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27200,7 +27192,7 @@
2720027192
},
2720127193
{
2720227194
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Actions.php",
27203-
"hash": "896b1f5c6516371d759abf61887a73b8"
27195+
"hash": "c90b1629a8a9dc50fdb7f5403f2ccc83"
2720427196
},
2720527197
{
2720627198
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
@@ -27856,7 +27848,7 @@
2785627848
},
2785727849
{
2785827850
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/GenerateJitconfig.php",
27859-
"hash": "6ed3cf9554d8e451e85e0c900682d167"
27851+
"hash": "1bb05bb7b342d7151e79065b1ba6f3f0"
2786027852
},
2786127853
{
2786227854
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RegistrationToken.php",
@@ -27868,7 +27860,7 @@
2786827860
},
2786927861
{
2787027862
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId.php",
27871-
"hash": "002046d8310b7fa65b722c3c7c9aaf94"
27863+
"hash": "e9ae0b318fa4c2d326c1651df3534526"
2787227864
},
2787327865
{
2787427866
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -28080,7 +28072,7 @@
2808028072
},
2808128073
{
2808228074
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/GenerateJitconfig.php",
28083-
"hash": "f6aab8af11fc4eec2f5ef34c83c06e94"
28075+
"hash": "8bcffbf50f8f8a7efbc7ba133ec9fbdb"
2808428076
},
2808528077
{
2808628078
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RegistrationToken.php",
@@ -28092,7 +28084,7 @@
2809228084
},
2809328085
{
2809428086
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId.php",
28095-
"hash": "c1646984fe58b8cb91f07c7e7df97034"
28087+
"hash": "98e775b2382a20ee79bcc3279a007257"
2809628088
},
2809728089
{
2809828090
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -28516,7 +28508,7 @@
2851628508
},
2851728509
{
2851828510
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/GenerateJitconfig.php",
28519-
"hash": "f34be3f4fc19b08d087e8e0ff21c08bc"
28511+
"hash": "a6db05e046f434e6628a67da0866de29"
2852028512
},
2852128513
{
2852228514
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RegistrationToken.php",
@@ -28528,7 +28520,7 @@
2852828520
},
2852928521
{
2853028522
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId.php",
28531-
"hash": "2b528e648dd3d958a6f84a9e0702bcad"
28523+
"hash": "9fc8b5c6b0717a5d76aecbcb69ebf459"
2853228524
},
2853328525
{
2853428526
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId\/Labels.php",
@@ -29957,6 +29949,14 @@
2995729949
{
2995829950
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEpss.php",
2995929951
"hash": "d40638f97574f7a84a0e52535948cc82"
29952+
},
29953+
{
29954+
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietED690D6D\/Tiet788B85F7\/Tiet90BDCBBD\/Tiet6547B867.php",
29955+
"hash": "ff58fe753d363c5aaf8f3621b0726c2a"
29956+
},
29957+
{
29958+
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEAB1E353\/TietA691FF98\/TietCADB7922\/TietA4382CA1.php",
29959+
"hash": "c57517b93469a1558cb104c0b535b6c4"
2996029960
}
2996129961
]
2996229962
},

clients/GitHubEnterprise-3.13/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.13/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.13/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.13/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)