diff --git a/clients/GitHub/README.md b/clients/GitHub/README.md index 2a04dd68437..7f3946bb2ba 100644 --- a/clients/GitHub/README.md +++ b/clients/GitHub/README.md @@ -26062,6 +26062,26 @@ $client->operations()->teams()->listForAuthenticatedUserListing( per_page You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user). +### users/get-by-id + +Get a user using their ID + +Using the `call` method: +```php +$client->call('GET /user/{account_id}', [ + 'account_id' => 10, +]); +``` + +Operations method: +```php +$client->operations()->users()->getById( account_id: 10, +); +``` + +You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/users/users#get-a-user-using-their-id). + + ### users/list List users diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index eadb66bc43d..a05b5efb848 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "97ae665c50dc0af2640cf572009dd76b", + "specHash": "4cf5c64422925cf50a90b6e402d5aa38", "generatedFiles": { "files": [ { @@ -108,7 +108,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Authorization.php", - "hash": "d515e6310b4477b298c79f9e4bace26d" + "hash": "bc14cc046751c9f09dde1261b34147dc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeOfConduct.php", @@ -392,7 +392,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertDismissedReason.php", - "hash": "9ea5548d700bc62e352f96eddb5ccc19" + "hash": "43bc1f507ff7308da85201c8bef068cc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertDismissedComment.php", @@ -440,7 +440,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php", - "hash": "70b73bf70e0bba0b97a347a5264ccb71" + "hash": "64a308bdc55b8953821aea6def1ae785" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodespaceMachine.php", @@ -536,7 +536,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrgRulesetConditions.php", - "hash": "fc6e8d7188dc718b5e74234d84161173" + "hash": "f8cf1bce3aba11fe9c65a27706cbb1d2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleCreation.php", @@ -604,7 +604,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php", - "hash": "bc78a1214683cb13f95d93e11921c30d" + "hash": "fa3b38f2fac0f041c5abab03ae4d54b9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php", @@ -724,7 +724,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMinimal.php", - "hash": "e61cacb763c584803b6fba890f4e7e49" + "hash": "d2fbccc81583eea72db09de84ef1a865" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SimpleCommit.php", @@ -732,7 +732,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WorkflowRun.php", - "hash": "285784539ffca221f5daa807cac843c4" + "hash": "687824a13141aad5be4c26efe5b0cc6d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/EnvironmentApprovals.php", @@ -752,11 +752,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PendingDeployment.php", - "hash": "5b8bcdcb1db4187ab034cc7531b982e0" + "hash": "b3a5d89cc7234143e2631f4d12f3bfdb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Deployment.php", - "hash": "f883214d3bbe91851052ba26f9307495" + "hash": "68261a9e23ed20a42ecd5ea3aa09566e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WorkflowRunUsage.php", @@ -828,7 +828,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckRun.php", - "hash": "ea2aa772847237efa7c7918fb4bae30c" + "hash": "ca7e937becbe482d2e88951d3b199a5a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAnnotation.php", @@ -836,7 +836,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckSuite.php", - "hash": "b5b72f6d5210ff86e23ab1e60e8ddaca" + "hash": "0d32f008ab41844fe27d825ffb8ac72a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckSuitePreference.php", @@ -848,11 +848,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php", - "hash": "76169284487efccb5ba9c5202fc7c746" + "hash": "2b32c88c3a905026f9020024365006a9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php", - "hash": "2df354f99ca100ef24492635cafa4808" + "hash": "65c5f04a5d56a242171889ceed9f3feb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertSetState.php", @@ -952,7 +952,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestSimple.php", - "hash": "12ec2a43b06dad2c03e1c1851ea4c2d6" + "hash": "0c7b8a693811209f117d21a9caa23b30" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SimpleCommitStatus.php", @@ -1020,7 +1020,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom.php", - "hash": "fcb32e32d49ab56705a865b3c853d8da" + "hash": "1fac181e9709ac23cd2d148d97cc51e9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Metadata.php", @@ -1040,7 +1040,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DeploymentStatus.php", - "hash": "aac79241b9ba0847248b45b4016b0640" + "hash": "b4747db6bbe67a3a7206d659b6b2d949" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WaitTimer.php", @@ -1224,11 +1224,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestReviewComment.php", - "hash": "f9f224e857593cded6ff1f06d2b1d2d7" + "hash": "41ea0941684848243aaa67a187bfc468" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/TimelineLineCommentedEvent.php", - "hash": "b66059eb239227c9b9771cf07b1e742f" + "hash": "d33fc5caa10cdd073242567b9f4ea656" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/TimelineCommitCommentedEvent.php", @@ -1248,7 +1248,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/TimelineIssueEvents.php", - "hash": "dac36fee9c1a278f681141851e312ef6" + "hash": "50df277585b2d205229eb16112461b92" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DeployKey.php", @@ -1296,7 +1296,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequest.php", - "hash": "a48ccc883667c4da461d783dcb1cc456" + "hash": "9a0d90d07f84f3f9c9c765adb895470b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMergeResult.php", @@ -1312,7 +1312,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ReviewComment.php", - "hash": "04017a120dcf83887837ade97f37e9e9" + "hash": "5f845c21878899bba913223705ce99cd" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ReleaseAsset.php", @@ -1540,11 +1540,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SimpleCheckSuite.php", - "hash": "e3cefd57828f8c15f9844abaacd7b141" + "hash": "cbb9b1d133d43737e502a6b7176f43e7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckRunWithSimpleCheckSuite.php", - "hash": "efe423acf85f5353faf28a7f50bd1b83" + "hash": "ec57ed7d02186abe6431513a19fda950" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Discussion.php", @@ -1580,7 +1580,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunCompleted.php", - "hash": "7020f2be6df33f9797473097cff4fdbe" + "hash": "85996ed880fe13b1efeb9202450a8a24" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunCompletedFormEncoded.php", @@ -1588,7 +1588,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunCreated.php", - "hash": "f8127857daf5e6ae51afd5433f9aacbc" + "hash": "390c3154126d23dfdc3fe565623a84a7" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunCreatedFormEncoded.php", @@ -1596,7 +1596,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunRequestedAction.php", - "hash": "6f628c25a15c39cb5678a90e39fc32a3" + "hash": "e01275ad4a4eb583d66bc1d672a149f2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunRequestedActionFormEncoded.php", @@ -1604,7 +1604,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunRerequested.php", - "hash": "373e3eb5e7d4abdd6150143d7fb1a311" + "hash": "3023d1424d40b453872b3f06d7b034c5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCheckRunRerequestedFormEncoded.php", @@ -1700,7 +1700,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentProtectionRuleRequested.php", - "hash": "a95fea78a2bac2f6ac324828ab7d069f" + "hash": "14089383d2046ffb4c0ea5f76e9034da" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentStatusCreated.php", @@ -2168,11 +2168,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestClosed.php", - "hash": "45dd148e94630208d3b3d0e09ff287d6" + "hash": "41ad8dcc5abc9690114735392411c252" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestConvertedToDraft.php", - "hash": "5fb1ba4e933a0700dfc40efa98771fd8" + "hash": "9bb43049ff911f46522814d55faa01fe" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestDemilestoned.php", @@ -2184,7 +2184,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestEdited.php", - "hash": "3bb3e7f97da444a1070b9f0a19d32060" + "hash": "2e553a8ad3df586849de0fda48a5f31a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestEnqueued.php", @@ -2204,15 +2204,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestOpened.php", - "hash": "dff4e1d92a36e09774f5517de8003231" + "hash": "edb23379d4f1b72b1c6a22116e66396a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestReadyForReview.php", - "hash": "c19f5b66fdf2fbec178c61f94cc69c41" + "hash": "063689d16c460e4c09a1eb16ea07fceb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestReopened.php", - "hash": "2950cf8c48ef63d8549560dba74cb7bb" + "hash": "c923bf6e3fd8f28c1495a745101b481d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPullRequestReviewCommentCreated.php", @@ -2484,19 +2484,19 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowJobCompleted.php", - "hash": "77d7e1981877bd5155d9eaed4e7f3e1b" + "hash": "db4f53b4bcf4f07deb5a218596105f34" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowJobInProgress.php", - "hash": "ccdcc6cd433afa0ba74af41dcc5632c8" + "hash": "dea13984fc8d871e85cb462418b36405" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowJobQueued.php", - "hash": "98d816376cec2ea698cbf87c424889d2" + "hash": "4adc0920a9144e4ceffaad1c7d6cd2ac" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowJobWaiting.php", - "hash": "ff805932575311c987192dd97b864ff0" + "hash": "3630244592dcccbbd176525cd5a07baf" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowRunCompleted.php", @@ -2768,11 +2768,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMinimal\/Head.php", - "hash": "949cda18a6644f6f0d8f778100b9290c" + "hash": "48720455994bbaa95025b5d4d35884d3" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMinimal\/Head\/Repo.php", - "hash": "8083fdb128fb901504229d5c264ff6e7" + "hash": "7b4bdf476b53ab43932c6b6152e5ec3e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SimpleCommit\/Author.php", @@ -2784,7 +2784,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PendingDeployment\/Environment.php", - "hash": "ead8a77412aad48362c9672a59885a20" + "hash": "a1b763ba367beb0535e7422470ad7b80" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PendingDeployment\/Reviewers.php", @@ -2996,7 +2996,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom.php", - "hash": "d756e0fa0b34a0796019718430a743a8" + "hash": "3c4ab5e98dbbe2fe531b0aff28d85829" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/CreationInfo.php", @@ -3004,7 +3004,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Packages.php", - "hash": "9f150415b1ff29b45d27f736ff27fc6a" + "hash": "e4864ff3b53f3eec3ba6e1a72d590160" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/DependencyGraphSpdxSbom\/Sbom\/Packages\/ExternalRefs.php", @@ -4628,11 +4628,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "3425239215efc4c0a41e5124efafeead" + "hash": "26d353421fb29c3407b3826abf793bec" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "9e7eb8a5d41c5bf4e55d6b46a1ecb55e" + "hash": "e8035e4fe305c9fbf9f468ace1c861fb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php", @@ -4916,11 +4916,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Checks\/ListForSuite\/Response\/ApplicationJson\/Ok.php", - "hash": "50aa297b5d2032189d723cc89055cd77" + "hash": "c4ae179e4f8e41df4b1cd0c10c229193" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanning\/UpdateAlert\/Request\/ApplicationJson.php", - "hash": "a9915f0b3c3b3e469d7b280393ff36b9" + "hash": "ca69cd47caca3aa345abf30533f2c38a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanning\/UploadSarif\/Request\/ApplicationJson.php", @@ -4976,7 +4976,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Checks\/ListSuitesForRef\/Response\/ApplicationJson\/Ok.php", - "hash": "3603026b9f88eb3cd53edfcd11db97f7" + "hash": "23a8d1be7d81ea033e4f23b9db7b9d65" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Repos\/GetContent\/Response\/ApplicationJson\/Ok.php", @@ -5576,7 +5576,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "9112e072a072ebcd667180e0d2294832" + "hash": "5df18c11b475544484a59b4f0e0991dd" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -5612,7 +5612,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php", - "hash": "abc6926133841061e3c99f5d494dcde9" + "hash": "b70348867bcd7f9526d94f7fb53b415e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php", @@ -5656,7 +5656,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Users.php", - "hash": "7fc0affe4c88fd4562ff29f39186ac08" + "hash": "fe8ede8d35c1450dcdcc22ea508bcc3b" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operations.php", @@ -5664,7 +5664,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/WebHooks.php", - "hash": "f7c6ac32c80159d1420bf43843340bad" + "hash": "eeb63730af8bb991fcd1fb695b40cb76" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEB301A03\/Tiet504AADCF\/Tiet2FEB0C19\/TietF58BE94A.php", @@ -5934,21 +5934,13 @@ "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepoSearchResultItem\/Permissions.php", "hash": "4fa45a991979c9617b8f9d580c59a3ba" }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet650E46F6\/Tiet982C8A8A\/Tiet4228F05E\/Tiet17A996F3.php", - "hash": "ede3aada1367417d1c11047e644f46b1" - }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMinimal\/Base.php", - "hash": "07e4100b6993f7de6e66317811c5a874" - }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet72F32616\/Tiet6A9787BA\/Tiet9DDC9E7E\/Tiet8E246D35.php", - "hash": "d6532614ec99615ac2cdd16db27e3af6" + "hash": "30b1376ce2468ffcaad3e67e45368ca0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestMinimal\/Base\/Repo.php", - "hash": "0f657968f44cb2a4ca48be11d90dad13" + "hash": "56ce05047bb5d311097f022ac441bc00" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SimpleCommit\/Committer.php", @@ -11484,15 +11476,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListWorkflowRunsForRepo\/Response\/ApplicationJson\/Ok.php", - "hash": "12105217658a37de3668edd9946dbc76" + "hash": "026296b182c26fabd2b068b4cb714543" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListWorkflowRuns\/Response\/ApplicationJson\/Ok.php", - "hash": "9a7ab6ddb00217bc9f519a05f86ef519" + "hash": "6299c7d3b15e9752e4ea854cd6adc75a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListWorkflowRuns\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "4e01c09cea0402ed638a2373f7a73d42" + "hash": "cb036dfc9a7dcffc2a1fe1d6c29cfd9c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListJobsForWorkflowRun\/Response\/ApplicationJson\/Ok.php", @@ -11612,11 +11604,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Checks\/ListForRef\/Response\/ApplicationJson\/Ok.php", - "hash": "0e1f0019892b7641ae14da4836b6ab49" + "hash": "5f27d233591fba66138d95ad85578584" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Checks\/ListForRef\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "d6122f64eca03f30e7215ecfa1e6ecc1" + "hash": "c2aed3518437882f7083372f68db4b22" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Codespaces\/CodespaceMachinesForAuthenticatedUser\/Response\/ApplicationJson\/Ok.php", @@ -11776,7 +11768,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php", - "hash": "b549edbf824319363c3318583d9f43da" + "hash": "a0b9fc7025d2ed3c01515fc3f4285499" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php", @@ -11860,15 +11852,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php", - "hash": "f1f7a5de2e4ee76175878ee55d404681" + "hash": "f284e91ac63c9524227a18cc71fccd8d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php", - "hash": "f90ce21e6b59becc34db2fc7d0d5630a" + "hash": "a2186e8d6971806a2cd8c45af07673ef" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php", - "hash": "2ebed4d9233e60187b4598df2376dd82" + "hash": "4ee3b0fbb61a4efaab8ecad89d789ab5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php", @@ -24532,7 +24524,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "9a69a52b0125de67f9cc7fa164fc961b" + "hash": "cac7cc6726f33eb7bb3fda8e6fefb3a6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -24540,11 +24532,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php", - "hash": "bbb3df8493e2bae160591dd9ad3a125a" + "hash": "7f939a283bd4c652ec2384e186010197" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php", - "hash": "0e7a9e8de907828b4aef301a1a6a36fd" + "hash": "01d244a1e78371b7b000b3b6be9546fa" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Gitignore.php", @@ -24648,7 +24640,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Repos.php", - "hash": "fab5896eddd1e99c3ecb51b641155c9c" + "hash": "342abc76825663ff9896a3708d5bfc8c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Teams.php", @@ -25024,7 +25016,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Three.php", - "hash": "a3f7765e6eb816e0f66dfb8461cd5007" + "hash": "c45ebda243e364e4a6df3b5e6bcc3306" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php", @@ -25032,11 +25024,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "6c0fa4c7c29b112bc5d7ea5cc5a3b880" + "hash": "d99d9cc5cb5c29690e0b91c96416f739" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "a088eb2890427901876935d83048eb70" + "hash": "d6791bf4eef961bd113ec842aa9b509a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -25064,7 +25056,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php", - "hash": "d5589e9116298210985b883f5eb61f56" + "hash": "541f02fd060ce314d93538b798a3977a" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Two.php", @@ -25240,7 +25232,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operators.php", - "hash": "efe4029117aac46d769ee989e1310b44" + "hash": "6dbff33fe8e4f51ca2329a661168cf0c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php", @@ -27232,7 +27224,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php", - "hash": "afa5732602178e20329a1f59ffaef01e" + "hash": "6a736e04a37a554cb8cb4e75a5e1e015" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php", @@ -27860,11 +27852,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "4269b9e0f403f25bd000fcbfdd5c2145" + "hash": "97404adcaec8d13864c9eb5e6bc123e2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "702d9cdf2c68251fb50439bd1347a2ab" + "hash": "022f5f6d223f83af0ee8416b9bf074db" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -28612,11 +28604,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationRole.php", - "hash": "bc3a7fc8f04c8b6f12c3bce575b9fcbc" + "hash": "62664e290a3520c9fad381bb3502d385" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Orgs\/ListOrgRoles\/Response\/ApplicationJson\/Ok.php", - "hash": "db841f015eed804d903bcb1695f34f2e" + "hash": "dd4db01d32c43a1abf8b1ed03a3f75c5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Orgs\/CreateCustomOrganizationRole\/Request\/ApplicationJson.php", @@ -28694,10 +28686,6 @@ "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietC8E120D5\/Tiet6268E1C1\/TietE8725689\/Tiet28708B76.php", "hash": "d1bea548a90f560c6ea02b3310ff1afb" }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet2508D9A4\/Tiet4C71B14A\/TietDC9C6C24\/TietBDF49ABA.php", - "hash": "68f8cf40a7d0e14fd25ed1c1a9104081" - }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet1558BE01\/Tiet18FBFF80\/Tiet13044ADE\/TietAA645731.php", "hash": "a0d57de6922911c867029ef26f642be4" @@ -28776,15 +28764,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditionsRepositoryPropertySpec.php", - "hash": "aa749850a06ac27d0d45cb574f87f2af" + "hash": "2f025e291ce0a55a7114d0f43858c4a2" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditionsRepositoryPropertyTarget.php", - "hash": "3e9f7818b6263047624f68819fab833e" + "hash": "856a459bc19e60d2a19542c627ceb012" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditionsRepositoryPropertyTarget\/RepositoryProperty.php", - "hash": "28b2de7a2ae4daf7f7ec945e8cdd82f9" + "hash": "90b409648d9f8cdbd729f85657418aad" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsRestrictedCommits.php", @@ -28900,7 +28888,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestWebhook.php", - "hash": "6625bcd1724622ffb283af2b52a51535" + "hash": "62f8b5a97b13696133f0b85f306f1b60" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietD0156E29\/Tiet718D0614\/Tiet1A091EF2\/TietD0F00D93.php", @@ -29638,10 +29626,6 @@ "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhooksChanges8\/Tier.php", "hash": "4e35a25bc745ccc8dceb49d81c51dd72" }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF341CA71\/Tiet6DE061C1\/TietFEFA2352\/TietE1DBE7BA.php", - "hash": "42575c572998f1e511150cdef2c5c43a" - }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleCodeScanning.php", "hash": "5bccc17f103c429d843075e22afde55d" @@ -29992,7 +29976,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/CodeSecurity.php", - "hash": "70a42b7e534a5b97983e4db20042bab6" + "hash": "3be55afa7a9f4ffce735a60d8aeba814" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php", @@ -30024,7 +30008,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListAttestations.php", - "hash": "699bb4ad499cb1f2fcc87bebff7bfb55" + "hash": "16d32b60b1060bd71199f2fe7e77c694" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListAttestationsTest.php", @@ -30036,7 +30020,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/CreateAttestation.php", - "hash": "5dabe8902ffadf762f6e2162f1439028" + "hash": "4f74c8bba3027fc2fa54cf2ac61d2c00" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/CreateAttestationTest.php", @@ -30048,7 +30032,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListAttestations.php", - "hash": "90146c24ec0ac7a470befb12e12e4a2b" + "hash": "8d4b138a6a97c931ecbace8133990bf9" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListAttestationsTest.php", @@ -30060,7 +30044,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Users\/ListAttestations.php", - "hash": "24948322f71646d57bc42ccde3f61a35" + "hash": "90d0fcaa5a0dd76260df83102b43ba24" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Users\/ListAttestationsTest.php", @@ -30209,6 +30193,90 @@ { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Users\/Username\/Attestations\/SubjectDigest.php", "hash": "56d1e80e5be7382ffe247e8b5952844d" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Users\/GetById.php", + "hash": "64dfe852e4c22a4ed15d7ca167a2d8a6" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Users\/GetById.php", + "hash": "25192bb5f1792b0246866767ac11adfe" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Users\/GetByIdTest.php", + "hash": "5440b5d0ae59978b500d367f447d126b" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ProjectsV2StatusUpdate.php", + "hash": "4fc717f5b4f001e3a3841052b87b69b0" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateCreated.php", + "hash": "59f42e874717228ac0608fb6dfc1a515" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateDeleted.php", + "hash": "2c46d054226f044c7cc10178d85f5618" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited.php", + "hash": "8ea93e6cdc82bc895b1cf30e7f6d1eaa" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet8B8BCF54\/TietBDCE4C1B\/Tiet5B8E1256\/Tiet2DC1C4C9.php", + "hash": "633a3d17488df19a6b56744775de0ac1" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEF18BFE0\/TietE1B3D88F\/TietF6D547A0\/Tiet8236C017.php", + "hash": "6048e15dbfa9936cca85706aab83ac70" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited\/Changes\/Body.php", + "hash": "00e12006aa43a8752c2771c58b64b75d" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited\/Changes.php", + "hash": "3694d57036527e35add99a83cd84136c" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited\/Changes\/Status.php", + "hash": "689c8db86cb4c811d30f12c602dbff5d" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet1A9DD8AD\/Tiet948667C0\/Tiet284EC14B\/Tiet8E7E694D.php", + "hash": "b940c79612f41c853027947294eb6ea9" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited\/Changes\/TargetDate.php", + "hash": "998df05df321101b4c26854fa6b841c8" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookProjectsV2StatusUpdateEdited\/Changes\/StartDate.php", + "hash": "b309687c424c7df6a710e90c6f77c4a7" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet14C99F34\/Tiet0F46795A\/Tiet25D72BE8\/Tiet41999D31.php", + "hash": "22108a34f4ecf4e5284c83292daae52b" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE4BB9977\/TietF45FC8D5\/TietB2858012\/Tiet3B7B8894.php", + "hash": "92bc7853c7294a40b61736651b665797" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Users\/GetById\/Response\/ApplicationJson\/Ok.php", + "hash": "e4b411c08fcda720a5042f3d83b3530a" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/WebHook\/ProjectsV2StatusUpdate.php", + "hash": "142a716448802697313f6400211679a7" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/User\/AccountId.php", + "hash": "d9fa33bd2eed597d55b372e43b88e070" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/ProjectsV2StatusUpdate.php", + "hash": "0f65c3db3c68b910ecf42a2eb3222de9" } ] }, diff --git a/clients/GitHub/src/Internal/Hydrator/Operation/User/AccountId.php b/clients/GitHub/src/Internal/Hydrator/Operation/User/AccountId.php new file mode 100644 index 00000000000..ac19f69cd08 --- /dev/null +++ b/clients/GitHub/src/Internal/Hydrator/Operation/User/AccountId.php @@ -0,0 +1,286 @@ + $className + * + * @return T + * + * @template T of object + */ + public function hydrateObject(string $className, array $payload): object + { + return match ($className) { + 'ApiClients\Client\GitHub\Schema\BasicError' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($payload), + default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), + }; + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError(array $payload): BasicError + { + $properties = []; + $missingFields = []; + try { + $value = $payload['message'] ?? null; + + if ($value === null) { + $properties['message'] = null; + goto after_message; + } + + $properties['message'] = $value; + + after_message: + + $value = $payload['documentation_url'] ?? null; + + if ($value === null) { + $properties['documentationUrl'] = null; + goto after_documentationUrl; + } + + $properties['documentationUrl'] = $value; + + after_documentationUrl: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $properties['url'] = null; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + $properties['status'] = $value; + + after_status: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(BasicError::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new BasicError(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\BasicError', $exception, stack: $this->hydrationStack); + } + } + + private function serializeViaTypeMap(string $accessor, object $object, array $payloadToTypeMap): array + { + foreach ($payloadToTypeMap as $payloadType => [$valueType, $method]) { + if (is_a($object, $valueType)) { + return [$accessor => $payloadType] + $this->{$method}($object); + } + } + + throw new LogicException('No type mapped for object of class: ' . $object::class); + } + + public function serializeObject(object $object): mixed + { + return $this->serializeObjectOfType($object, $object::class); + } + + /** + * @param T $object + * @param class-string $className + * + * @template T + */ + public function serializeObjectOfType(object $object, string $className): mixed + { + try { + return match ($className) { + 'array' => $this->serializeValuearray($object), + 'Ramsey\Uuid\UuidInterface' => $this->serializeValueRamsey⚡️Uuid⚡️UuidInterface($object), + 'DateTime' => $this->serializeValueDateTime($object), + 'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object), + 'DateTimeInterface' => $this->serializeValueDateTimeInterface($object), + 'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object), + default => throw new LogicException('No serialization defined for $className'), + }; + } catch (Throwable $exception) { + throw UnableToSerializeObject::dueToError($className, $exception); + } + } + + private function serializeValuearray(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeArrayItems(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueRamsey⚡️Uuid⚡️UuidInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeUuidToString(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTime(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeImmutable(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError(mixed $object): mixed + { + assert($object instanceof BasicError); + $result = []; + + $message = $object->message; + + if ($message === null) { + goto after_message; + } + + after_message: $result['message'] = $message; + + $documentationUrl = $object->documentationUrl; + + if ($documentationUrl === null) { + goto after_documentationUrl; + } + + after_documentationUrl: $result['documentation_url'] = $documentationUrl; + + $url = $object->url; + + if ($url === null) { + goto after_url; + } + + after_url: $result['url'] = $url; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + after_status: $result['status'] = $status; + + return $result; + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToHydrateObject + * + * @template T + */ + public function hydrateObjects(string $className, iterable $payloads): IterableList + { + return new IterableList($this->doHydrateObjects($className, $payloads)); + } + + private function doHydrateObjects(string $className, iterable $payloads): Generator + { + foreach ($payloads as $index => $payload) { + yield $index => $this->hydrateObject($className, $payload); + } + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToSerializeObject + * + * @template T + */ + public function serializeObjects(iterable $payloads): IterableList + { + return new IterableList($this->doSerializeObjects($payloads)); + } + + private function doSerializeObjects(iterable $objects): Generator + { + foreach ($objects as $index => $object) { + yield $index => $this->serializeObject($object); + } + } +} diff --git a/clients/GitHub/src/Internal/Hydrator/WebHook/ProjectsV2StatusUpdate.php b/clients/GitHub/src/Internal/Hydrator/WebHook/ProjectsV2StatusUpdate.php new file mode 100644 index 00000000000..e1e9442124e --- /dev/null +++ b/clients/GitHub/src/Internal/Hydrator/WebHook/ProjectsV2StatusUpdate.php @@ -0,0 +1,2222 @@ + $className + * + * @return T + * + * @template T of object + */ + public function hydrateObject(string $className, array $payload): object + { + return match ($className) { + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateCreated' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateCreated($payload), + 'ApiClients\Client\GitHub\Schema\SimpleInstallation' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($payload), + 'ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($payload), + 'ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($payload), + 'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($payload), + 'ApiClients\Client\GitHub\Schema\SimpleUserWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateDeleted' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateDeleted($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Body' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Status' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\StartDate' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate($payload), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\TargetDate' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate($payload), + default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), + }; + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateCreated(array $payload): WebhookProjectsV2StatusUpdateCreated + { + $properties = []; + $missingFields = []; + try { + $value = $payload['action'] ?? null; + + if ($value === null) { + $missingFields[] = 'action'; + goto after_action; + } + + $properties['action'] = $value; + + after_action: + + $value = $payload['installation'] ?? null; + + if ($value === null) { + $properties['installation'] = null; + goto after_installation; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'installation'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['installation'] = $value; + + after_installation: + + $value = $payload['organization'] ?? null; + + if ($value === null) { + $missingFields[] = 'organization'; + goto after_organization; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'organization'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['organization'] = $value; + + after_organization: + + $value = $payload['projects_v2_status_update'] ?? null; + + if ($value === null) { + $missingFields[] = 'projects_v2_status_update'; + goto after_projectsVTwoStatusUpdate; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'projectsVTwoStatusUpdate'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['projectsVTwoStatusUpdate'] = $value; + + after_projectsVTwoStatusUpdate: + + $value = $payload['sender'] ?? null; + + if ($value === null) { + $missingFields[] = 'sender'; + goto after_sender; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'sender'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['sender'] = $value; + + after_sender: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateCreated', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(WebhookProjectsV2StatusUpdateCreated::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new WebhookProjectsV2StatusUpdateCreated(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateCreated', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation(array $payload): SimpleInstallation + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleInstallation', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(SimpleInstallation::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new SimpleInstallation(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleInstallation', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks(array $payload): OrganizationSimpleWebhooks + { + $properties = []; + $missingFields = []; + try { + $value = $payload['login'] ?? null; + + if ($value === null) { + $missingFields[] = 'login'; + goto after_login; + } + + $properties['login'] = $value; + + after_login: + + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $missingFields[] = 'url'; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['repos_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'repos_url'; + goto after_reposUrl; + } + + $properties['reposUrl'] = $value; + + after_reposUrl: + + $value = $payload['events_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'events_url'; + goto after_eventsUrl; + } + + $properties['eventsUrl'] = $value; + + after_eventsUrl: + + $value = $payload['hooks_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'hooks_url'; + goto after_hooksUrl; + } + + $properties['hooksUrl'] = $value; + + after_hooksUrl: + + $value = $payload['issues_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'issues_url'; + goto after_issuesUrl; + } + + $properties['issuesUrl'] = $value; + + after_issuesUrl: + + $value = $payload['members_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'members_url'; + goto after_membersUrl; + } + + $properties['membersUrl'] = $value; + + after_membersUrl: + + $value = $payload['public_members_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'public_members_url'; + goto after_publicMembersUrl; + } + + $properties['publicMembersUrl'] = $value; + + after_publicMembersUrl: + + $value = $payload['avatar_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'avatar_url'; + goto after_avatarUrl; + } + + $properties['avatarUrl'] = $value; + + after_avatarUrl: + + $value = $payload['description'] ?? null; + + if ($value === null) { + $properties['description'] = null; + goto after_description; + } + + $properties['description'] = $value; + + after_description: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(OrganizationSimpleWebhooks::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new OrganizationSimpleWebhooks(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate(array $payload): \ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate + { + $properties = []; + $missingFields = []; + try { + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['project_node_id'] ?? null; + + if ($value === null) { + $properties['projectNodeId'] = null; + goto after_projectNodeId; + } + + $properties['projectNodeId'] = $value; + + after_projectNodeId: + + $value = $payload['creator'] ?? null; + + if ($value === null) { + $properties['creator'] = null; + goto after_creator; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'creator'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['creator'] = $value; + + after_creator: + + $value = $payload['created_at'] ?? null; + + if ($value === null) { + $missingFields[] = 'created_at'; + goto after_createdAt; + } + + $properties['createdAt'] = $value; + + after_createdAt: + + $value = $payload['updated_at'] ?? null; + + if ($value === null) { + $missingFields[] = 'updated_at'; + goto after_updatedAt; + } + + $properties['updatedAt'] = $value; + + after_updatedAt: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + $properties['status'] = $value; + + after_status: + + $value = $payload['start_date'] ?? null; + + if ($value === null) { + $properties['startDate'] = null; + goto after_startDate; + } + + $properties['startDate'] = $value; + + after_startDate: + + $value = $payload['target_date'] ?? null; + + if ($value === null) { + $properties['targetDate'] = null; + goto after_targetDate; + } + + $properties['targetDate'] = $value; + + after_targetDate: + + $value = $payload['body'] ?? null; + + if ($value === null) { + $properties['body'] = null; + goto after_body; + } + + $properties['body'] = $value; + + after_body: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(\ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new \ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser(array $payload): SimpleUser + { + $properties = []; + $missingFields = []; + try { + $value = $payload['name'] ?? null; + + if ($value === null) { + $properties['name'] = null; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['email'] ?? null; + + if ($value === null) { + $properties['email'] = null; + goto after_email; + } + + $properties['email'] = $value; + + after_email: + + $value = $payload['login'] ?? null; + + if ($value === null) { + $missingFields[] = 'login'; + goto after_login; + } + + $properties['login'] = $value; + + after_login: + + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['avatar_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'avatar_url'; + goto after_avatarUrl; + } + + $properties['avatarUrl'] = $value; + + after_avatarUrl: + + $value = $payload['gravatar_id'] ?? null; + + if ($value === null) { + $properties['gravatarId'] = null; + goto after_gravatarId; + } + + $properties['gravatarId'] = $value; + + after_gravatarId: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $missingFields[] = 'url'; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['html_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'html_url'; + goto after_htmlUrl; + } + + $properties['htmlUrl'] = $value; + + after_htmlUrl: + + $value = $payload['followers_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'followers_url'; + goto after_followersUrl; + } + + $properties['followersUrl'] = $value; + + after_followersUrl: + + $value = $payload['following_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'following_url'; + goto after_followingUrl; + } + + $properties['followingUrl'] = $value; + + after_followingUrl: + + $value = $payload['gists_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'gists_url'; + goto after_gistsUrl; + } + + $properties['gistsUrl'] = $value; + + after_gistsUrl: + + $value = $payload['starred_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'starred_url'; + goto after_starredUrl; + } + + $properties['starredUrl'] = $value; + + after_starredUrl: + + $value = $payload['subscriptions_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'subscriptions_url'; + goto after_subscriptionsUrl; + } + + $properties['subscriptionsUrl'] = $value; + + after_subscriptionsUrl: + + $value = $payload['organizations_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'organizations_url'; + goto after_organizationsUrl; + } + + $properties['organizationsUrl'] = $value; + + after_organizationsUrl: + + $value = $payload['repos_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'repos_url'; + goto after_reposUrl; + } + + $properties['reposUrl'] = $value; + + after_reposUrl: + + $value = $payload['events_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'events_url'; + goto after_eventsUrl; + } + + $properties['eventsUrl'] = $value; + + after_eventsUrl: + + $value = $payload['received_events_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'received_events_url'; + goto after_receivedEventsUrl; + } + + $properties['receivedEventsUrl'] = $value; + + after_receivedEventsUrl: + + $value = $payload['type'] ?? null; + + if ($value === null) { + $missingFields[] = 'type'; + goto after_type; + } + + $properties['type'] = $value; + + after_type: + + $value = $payload['site_admin'] ?? null; + + if ($value === null) { + $missingFields[] = 'site_admin'; + goto after_siteAdmin; + } + + $properties['siteAdmin'] = $value; + + after_siteAdmin: + + $value = $payload['starred_at'] ?? null; + + if ($value === null) { + $properties['starredAt'] = null; + goto after_starredAt; + } + + $properties['starredAt'] = $value; + + after_starredAt: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleUser', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(SimpleUser::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new SimpleUser(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleUser', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks(array $payload): SimpleUserWebhooks + { + $properties = []; + $missingFields = []; + try { + $value = $payload['name'] ?? null; + + if ($value === null) { + $properties['name'] = null; + goto after_name; + } + + $properties['name'] = $value; + + after_name: + + $value = $payload['email'] ?? null; + + if ($value === null) { + $properties['email'] = null; + goto after_email; + } + + $properties['email'] = $value; + + after_email: + + $value = $payload['login'] ?? null; + + if ($value === null) { + $missingFields[] = 'login'; + goto after_login; + } + + $properties['login'] = $value; + + after_login: + + $value = $payload['id'] ?? null; + + if ($value === null) { + $missingFields[] = 'id'; + goto after_id; + } + + $properties['id'] = $value; + + after_id: + + $value = $payload['node_id'] ?? null; + + if ($value === null) { + $missingFields[] = 'node_id'; + goto after_nodeId; + } + + $properties['nodeId'] = $value; + + after_nodeId: + + $value = $payload['avatar_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'avatar_url'; + goto after_avatarUrl; + } + + $properties['avatarUrl'] = $value; + + after_avatarUrl: + + $value = $payload['gravatar_id'] ?? null; + + if ($value === null) { + $properties['gravatarId'] = null; + goto after_gravatarId; + } + + $properties['gravatarId'] = $value; + + after_gravatarId: + + $value = $payload['url'] ?? null; + + if ($value === null) { + $missingFields[] = 'url'; + goto after_url; + } + + $properties['url'] = $value; + + after_url: + + $value = $payload['html_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'html_url'; + goto after_htmlUrl; + } + + $properties['htmlUrl'] = $value; + + after_htmlUrl: + + $value = $payload['followers_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'followers_url'; + goto after_followersUrl; + } + + $properties['followersUrl'] = $value; + + after_followersUrl: + + $value = $payload['following_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'following_url'; + goto after_followingUrl; + } + + $properties['followingUrl'] = $value; + + after_followingUrl: + + $value = $payload['gists_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'gists_url'; + goto after_gistsUrl; + } + + $properties['gistsUrl'] = $value; + + after_gistsUrl: + + $value = $payload['starred_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'starred_url'; + goto after_starredUrl; + } + + $properties['starredUrl'] = $value; + + after_starredUrl: + + $value = $payload['subscriptions_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'subscriptions_url'; + goto after_subscriptionsUrl; + } + + $properties['subscriptionsUrl'] = $value; + + after_subscriptionsUrl: + + $value = $payload['organizations_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'organizations_url'; + goto after_organizationsUrl; + } + + $properties['organizationsUrl'] = $value; + + after_organizationsUrl: + + $value = $payload['repos_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'repos_url'; + goto after_reposUrl; + } + + $properties['reposUrl'] = $value; + + after_reposUrl: + + $value = $payload['events_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'events_url'; + goto after_eventsUrl; + } + + $properties['eventsUrl'] = $value; + + after_eventsUrl: + + $value = $payload['received_events_url'] ?? null; + + if ($value === null) { + $missingFields[] = 'received_events_url'; + goto after_receivedEventsUrl; + } + + $properties['receivedEventsUrl'] = $value; + + after_receivedEventsUrl: + + $value = $payload['type'] ?? null; + + if ($value === null) { + $missingFields[] = 'type'; + goto after_type; + } + + $properties['type'] = $value; + + after_type: + + $value = $payload['site_admin'] ?? null; + + if ($value === null) { + $missingFields[] = 'site_admin'; + goto after_siteAdmin; + } + + $properties['siteAdmin'] = $value; + + after_siteAdmin: + + $value = $payload['starred_at'] ?? null; + + if ($value === null) { + $properties['starredAt'] = null; + goto after_starredAt; + } + + $properties['starredAt'] = $value; + + after_starredAt: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleUserWebhooks', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(SimpleUserWebhooks::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new SimpleUserWebhooks(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\SimpleUserWebhooks', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateDeleted(array $payload): WebhookProjectsV2StatusUpdateDeleted + { + $properties = []; + $missingFields = []; + try { + $value = $payload['action'] ?? null; + + if ($value === null) { + $missingFields[] = 'action'; + goto after_action; + } + + $properties['action'] = $value; + + after_action: + + $value = $payload['installation'] ?? null; + + if ($value === null) { + $properties['installation'] = null; + goto after_installation; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'installation'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['installation'] = $value; + + after_installation: + + $value = $payload['organization'] ?? null; + + if ($value === null) { + $missingFields[] = 'organization'; + goto after_organization; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'organization'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['organization'] = $value; + + after_organization: + + $value = $payload['projects_v2_status_update'] ?? null; + + if ($value === null) { + $missingFields[] = 'projects_v2_status_update'; + goto after_projectsVTwoStatusUpdate; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'projectsVTwoStatusUpdate'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['projectsVTwoStatusUpdate'] = $value; + + after_projectsVTwoStatusUpdate: + + $value = $payload['sender'] ?? null; + + if ($value === null) { + $missingFields[] = 'sender'; + goto after_sender; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'sender'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['sender'] = $value; + + after_sender: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateDeleted', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(WebhookProjectsV2StatusUpdateDeleted::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new WebhookProjectsV2StatusUpdateDeleted(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateDeleted', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited(array $payload): WebhookProjectsV2StatusUpdateEdited + { + $properties = []; + $missingFields = []; + try { + $value = $payload['action'] ?? null; + + if ($value === null) { + $missingFields[] = 'action'; + goto after_action; + } + + $properties['action'] = $value; + + after_action: + + $value = $payload['changes'] ?? null; + + if ($value === null) { + $properties['changes'] = null; + goto after_changes; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'changes'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['changes'] = $value; + + after_changes: + + $value = $payload['installation'] ?? null; + + if ($value === null) { + $properties['installation'] = null; + goto after_installation; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'installation'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['installation'] = $value; + + after_installation: + + $value = $payload['organization'] ?? null; + + if ($value === null) { + $missingFields[] = 'organization'; + goto after_organization; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'organization'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['organization'] = $value; + + after_organization: + + $value = $payload['projects_v2_status_update'] ?? null; + + if ($value === null) { + $missingFields[] = 'projects_v2_status_update'; + goto after_projectsVTwoStatusUpdate; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'projectsVTwoStatusUpdate'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['projectsVTwoStatusUpdate'] = $value; + + after_projectsVTwoStatusUpdate: + + $value = $payload['sender'] ?? null; + + if ($value === null) { + $missingFields[] = 'sender'; + goto after_sender; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'sender'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['sender'] = $value; + + after_sender: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(WebhookProjectsV2StatusUpdateEdited::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new WebhookProjectsV2StatusUpdateEdited(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes(array $payload): Changes + { + $properties = []; + $missingFields = []; + try { + $value = $payload['body'] ?? null; + + if ($value === null) { + $properties['body'] = null; + goto after_body; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'body'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['body'] = $value; + + after_body: + + $value = $payload['status'] ?? null; + + if ($value === null) { + $properties['status'] = null; + goto after_status; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'status'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['status'] = $value; + + after_status: + + $value = $payload['start_date'] ?? null; + + if ($value === null) { + $properties['startDate'] = null; + goto after_startDate; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'startDate'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['startDate'] = $value; + + after_startDate: + + $value = $payload['target_date'] ?? null; + + if ($value === null) { + $properties['targetDate'] = null; + goto after_targetDate; + } + + if (is_array($value)) { + try { + $this->hydrationStack[] = 'targetDate'; + $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate($value); + } finally { + array_pop($this->hydrationStack); + } + } + + $properties['targetDate'] = $value; + + after_targetDate: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(Changes::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new Changes(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body(array $payload): Body + { + $properties = []; + $missingFields = []; + try { + $value = $payload['from'] ?? null; + + if ($value === null) { + $properties['from'] = null; + goto after_from; + } + + $properties['from'] = $value; + + after_from: + + $value = $payload['to'] ?? null; + + if ($value === null) { + $properties['to'] = null; + goto after_to; + } + + $properties['to'] = $value; + + after_to: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Body', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(Body::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new Body(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Body', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status(array $payload): Status + { + $properties = []; + $missingFields = []; + try { + $value = $payload['from'] ?? null; + + if ($value === null) { + $properties['from'] = null; + goto after_from; + } + + $properties['from'] = $value; + + after_from: + + $value = $payload['to'] ?? null; + + if ($value === null) { + $properties['to'] = null; + goto after_to; + } + + $properties['to'] = $value; + + after_to: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Status', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(Status::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new Status(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Status', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate(array $payload): StartDate + { + $properties = []; + $missingFields = []; + try { + $value = $payload['from'] ?? null; + + if ($value === null) { + $properties['from'] = null; + goto after_from; + } + + $properties['from'] = $value; + + after_from: + + $value = $payload['to'] ?? null; + + if ($value === null) { + $properties['to'] = null; + goto after_to; + } + + $properties['to'] = $value; + + after_to: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\StartDate', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(StartDate::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new StartDate(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\StartDate', $exception, stack: $this->hydrationStack); + } + } + + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate(array $payload): TargetDate + { + $properties = []; + $missingFields = []; + try { + $value = $payload['from'] ?? null; + + if ($value === null) { + $properties['from'] = null; + goto after_from; + } + + $properties['from'] = $value; + + after_from: + + $value = $payload['to'] ?? null; + + if ($value === null) { + $properties['to'] = null; + goto after_to; + } + + $properties['to'] = $value; + + after_to: + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\TargetDate', $exception, stack: $this->hydrationStack); + } + + if (count($missingFields) > 0) { + throw UnableToHydrateObject::dueToMissingFields(TargetDate::class, $missingFields, stack: $this->hydrationStack); + } + + try { + return new TargetDate(...$properties); + } catch (Throwable $exception) { + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\TargetDate', $exception, stack: $this->hydrationStack); + } + } + + private function serializeViaTypeMap(string $accessor, object $object, array $payloadToTypeMap): array + { + foreach ($payloadToTypeMap as $payloadType => [$valueType, $method]) { + if (is_a($object, $valueType)) { + return [$accessor => $payloadType] + $this->{$method}($object); + } + } + + throw new LogicException('No type mapped for object of class: ' . $object::class); + } + + public function serializeObject(object $object): mixed + { + return $this->serializeObjectOfType($object, $object::class); + } + + /** + * @param T $object + * @param class-string $className + * + * @template T + */ + public function serializeObjectOfType(object $object, string $className): mixed + { + try { + return match ($className) { + 'array' => $this->serializeValuearray($object), + 'Ramsey\Uuid\UuidInterface' => $this->serializeValueRamsey⚡️Uuid⚡️UuidInterface($object), + 'DateTime' => $this->serializeValueDateTime($object), + 'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object), + 'DateTimeInterface' => $this->serializeValueDateTimeInterface($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateCreated' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateCreated($object), + 'ApiClients\Client\GitHub\Schema\SimpleInstallation' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($object), + 'ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($object), + 'ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($object), + 'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($object), + 'ApiClients\Client\GitHub\Schema\SimpleUserWebhooks' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateDeleted' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateDeleted($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Body' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\Status' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\StartDate' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate($object), + 'ApiClients\Client\GitHub\Schema\WebhookProjectsV2StatusUpdateEdited\Changes\TargetDate' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate($object), + default => throw new LogicException('No serialization defined for $className'), + }; + } catch (Throwable $exception) { + throw UnableToSerializeObject::dueToError($className, $exception); + } + } + + private function serializeValuearray(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeArrayItems(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueRamsey⚡️Uuid⚡️UuidInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeUuidToString(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTime(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeImmutable(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeValueDateTimeInterface(mixed $value): mixed + { + static $serializer; + + if ($serializer === null) { + $serializer = new SerializeDateTime(...[]); + } + + return $serializer->serialize($value, $this); + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateCreated(mixed $object): mixed + { + assert($object instanceof WebhookProjectsV2StatusUpdateCreated); + $result = []; + + $action = $object->action; + after_action: $result['action'] = $action; + + $installation = $object->installation; + + if ($installation === null) { + goto after_installation; + } + + $installation = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($installation); + after_installation: $result['installation'] = $installation; + + $organization = $object->organization; + $organization = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($organization); + after_organization: $result['organization'] = $organization; + + $projectsVTwoStatusUpdate = $object->projectsVTwoStatusUpdate; + $projectsVTwoStatusUpdate = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($projectsVTwoStatusUpdate); + after_projectsVTwoStatusUpdate: $result['projects_v2_status_update'] = $projectsVTwoStatusUpdate; + + $sender = $object->sender; + $sender = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($sender); + after_sender: $result['sender'] = $sender; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation(mixed $object): mixed + { + assert($object instanceof SimpleInstallation); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks(mixed $object): mixed + { + assert($object instanceof OrganizationSimpleWebhooks); + $result = []; + + $login = $object->login; + after_login: $result['login'] = $login; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $url = $object->url; + after_url: $result['url'] = $url; + + $reposUrl = $object->reposUrl; + after_reposUrl: $result['repos_url'] = $reposUrl; + + $eventsUrl = $object->eventsUrl; + after_eventsUrl: $result['events_url'] = $eventsUrl; + + $hooksUrl = $object->hooksUrl; + after_hooksUrl: $result['hooks_url'] = $hooksUrl; + + $issuesUrl = $object->issuesUrl; + after_issuesUrl: $result['issues_url'] = $issuesUrl; + + $membersUrl = $object->membersUrl; + after_membersUrl: $result['members_url'] = $membersUrl; + + $publicMembersUrl = $object->publicMembersUrl; + after_publicMembersUrl: $result['public_members_url'] = $publicMembersUrl; + + $avatarUrl = $object->avatarUrl; + after_avatarUrl: $result['avatar_url'] = $avatarUrl; + + $description = $object->description; + + if ($description === null) { + goto after_description; + } + + after_description: $result['description'] = $description; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate(mixed $object): mixed + { + assert($object instanceof \ApiClients\Client\GitHub\Schema\ProjectsV2StatusUpdate); + $result = []; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $projectNodeId = $object->projectNodeId; + + if ($projectNodeId === null) { + goto after_projectNodeId; + } + + after_projectNodeId: $result['project_node_id'] = $projectNodeId; + + $creator = $object->creator; + + if ($creator === null) { + goto after_creator; + } + + $creator = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($creator); + after_creator: $result['creator'] = $creator; + + $createdAt = $object->createdAt; + after_createdAt: $result['created_at'] = $createdAt; + + $updatedAt = $object->updatedAt; + after_updatedAt: $result['updated_at'] = $updatedAt; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + after_status: $result['status'] = $status; + + $startDate = $object->startDate; + + if ($startDate === null) { + goto after_startDate; + } + + after_startDate: $result['start_date'] = $startDate; + + $targetDate = $object->targetDate; + + if ($targetDate === null) { + goto after_targetDate; + } + + after_targetDate: $result['target_date'] = $targetDate; + + $body = $object->body; + + if ($body === null) { + goto after_body; + } + + after_body: $result['body'] = $body; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser(mixed $object): mixed + { + assert($object instanceof SimpleUser); + $result = []; + + $name = $object->name; + + if ($name === null) { + goto after_name; + } + + after_name: $result['name'] = $name; + + $email = $object->email; + + if ($email === null) { + goto after_email; + } + + after_email: $result['email'] = $email; + + $login = $object->login; + after_login: $result['login'] = $login; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $avatarUrl = $object->avatarUrl; + after_avatarUrl: $result['avatar_url'] = $avatarUrl; + + $gravatarId = $object->gravatarId; + + if ($gravatarId === null) { + goto after_gravatarId; + } + + after_gravatarId: $result['gravatar_id'] = $gravatarId; + + $url = $object->url; + after_url: $result['url'] = $url; + + $htmlUrl = $object->htmlUrl; + after_htmlUrl: $result['html_url'] = $htmlUrl; + + $followersUrl = $object->followersUrl; + after_followersUrl: $result['followers_url'] = $followersUrl; + + $followingUrl = $object->followingUrl; + after_followingUrl: $result['following_url'] = $followingUrl; + + $gistsUrl = $object->gistsUrl; + after_gistsUrl: $result['gists_url'] = $gistsUrl; + + $starredUrl = $object->starredUrl; + after_starredUrl: $result['starred_url'] = $starredUrl; + + $subscriptionsUrl = $object->subscriptionsUrl; + after_subscriptionsUrl: $result['subscriptions_url'] = $subscriptionsUrl; + + $organizationsUrl = $object->organizationsUrl; + after_organizationsUrl: $result['organizations_url'] = $organizationsUrl; + + $reposUrl = $object->reposUrl; + after_reposUrl: $result['repos_url'] = $reposUrl; + + $eventsUrl = $object->eventsUrl; + after_eventsUrl: $result['events_url'] = $eventsUrl; + + $receivedEventsUrl = $object->receivedEventsUrl; + after_receivedEventsUrl: $result['received_events_url'] = $receivedEventsUrl; + + $type = $object->type; + after_type: $result['type'] = $type; + + $siteAdmin = $object->siteAdmin; + after_siteAdmin: $result['site_admin'] = $siteAdmin; + + $starredAt = $object->starredAt; + + if ($starredAt === null) { + goto after_starredAt; + } + + after_starredAt: $result['starred_at'] = $starredAt; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks(mixed $object): mixed + { + assert($object instanceof SimpleUserWebhooks); + $result = []; + + $name = $object->name; + + if ($name === null) { + goto after_name; + } + + after_name: $result['name'] = $name; + + $email = $object->email; + + if ($email === null) { + goto after_email; + } + + after_email: $result['email'] = $email; + + $login = $object->login; + after_login: $result['login'] = $login; + + $id = $object->id; + after_id: $result['id'] = $id; + + $nodeId = $object->nodeId; + after_nodeId: $result['node_id'] = $nodeId; + + $avatarUrl = $object->avatarUrl; + after_avatarUrl: $result['avatar_url'] = $avatarUrl; + + $gravatarId = $object->gravatarId; + + if ($gravatarId === null) { + goto after_gravatarId; + } + + after_gravatarId: $result['gravatar_id'] = $gravatarId; + + $url = $object->url; + after_url: $result['url'] = $url; + + $htmlUrl = $object->htmlUrl; + after_htmlUrl: $result['html_url'] = $htmlUrl; + + $followersUrl = $object->followersUrl; + after_followersUrl: $result['followers_url'] = $followersUrl; + + $followingUrl = $object->followingUrl; + after_followingUrl: $result['following_url'] = $followingUrl; + + $gistsUrl = $object->gistsUrl; + after_gistsUrl: $result['gists_url'] = $gistsUrl; + + $starredUrl = $object->starredUrl; + after_starredUrl: $result['starred_url'] = $starredUrl; + + $subscriptionsUrl = $object->subscriptionsUrl; + after_subscriptionsUrl: $result['subscriptions_url'] = $subscriptionsUrl; + + $organizationsUrl = $object->organizationsUrl; + after_organizationsUrl: $result['organizations_url'] = $organizationsUrl; + + $reposUrl = $object->reposUrl; + after_reposUrl: $result['repos_url'] = $reposUrl; + + $eventsUrl = $object->eventsUrl; + after_eventsUrl: $result['events_url'] = $eventsUrl; + + $receivedEventsUrl = $object->receivedEventsUrl; + after_receivedEventsUrl: $result['received_events_url'] = $receivedEventsUrl; + + $type = $object->type; + after_type: $result['type'] = $type; + + $siteAdmin = $object->siteAdmin; + after_siteAdmin: $result['site_admin'] = $siteAdmin; + + $starredAt = $object->starredAt; + + if ($starredAt === null) { + goto after_starredAt; + } + + after_starredAt: $result['starred_at'] = $starredAt; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateDeleted(mixed $object): mixed + { + assert($object instanceof WebhookProjectsV2StatusUpdateDeleted); + $result = []; + + $action = $object->action; + after_action: $result['action'] = $action; + + $installation = $object->installation; + + if ($installation === null) { + goto after_installation; + } + + $installation = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($installation); + after_installation: $result['installation'] = $installation; + + $organization = $object->organization; + $organization = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($organization); + after_organization: $result['organization'] = $organization; + + $projectsVTwoStatusUpdate = $object->projectsVTwoStatusUpdate; + $projectsVTwoStatusUpdate = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($projectsVTwoStatusUpdate); + after_projectsVTwoStatusUpdate: $result['projects_v2_status_update'] = $projectsVTwoStatusUpdate; + + $sender = $object->sender; + $sender = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($sender); + after_sender: $result['sender'] = $sender; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited(mixed $object): mixed + { + assert($object instanceof WebhookProjectsV2StatusUpdateEdited); + $result = []; + + $action = $object->action; + after_action: $result['action'] = $action; + + $changes = $object->changes; + + if ($changes === null) { + goto after_changes; + } + + $changes = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes($changes); + after_changes: $result['changes'] = $changes; + + $installation = $object->installation; + + if ($installation === null) { + goto after_installation; + } + + $installation = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleInstallation($installation); + after_installation: $result['installation'] = $installation; + + $organization = $object->organization; + $organization = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️OrganizationSimpleWebhooks($organization); + after_organization: $result['organization'] = $organization; + + $projectsVTwoStatusUpdate = $object->projectsVTwoStatusUpdate; + $projectsVTwoStatusUpdate = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ProjectsV2StatusUpdate($projectsVTwoStatusUpdate); + after_projectsVTwoStatusUpdate: $result['projects_v2_status_update'] = $projectsVTwoStatusUpdate; + + $sender = $object->sender; + $sender = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($sender); + after_sender: $result['sender'] = $sender; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes(mixed $object): mixed + { + assert($object instanceof Changes); + $result = []; + + $body = $object->body; + + if ($body === null) { + goto after_body; + } + + $body = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body($body); + after_body: $result['body'] = $body; + + $status = $object->status; + + if ($status === null) { + goto after_status; + } + + $status = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status($status); + after_status: $result['status'] = $status; + + $startDate = $object->startDate; + + if ($startDate === null) { + goto after_startDate; + } + + $startDate = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate($startDate); + after_startDate: $result['start_date'] = $startDate; + + $targetDate = $object->targetDate; + + if ($targetDate === null) { + goto after_targetDate; + } + + $targetDate = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate($targetDate); + after_targetDate: $result['target_date'] = $targetDate; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Body(mixed $object): mixed + { + assert($object instanceof Body); + $result = []; + + $from = $object->from; + + if ($from === null) { + goto after_from; + } + + after_from: $result['from'] = $from; + + $to = $object->to; + + if ($to === null) { + goto after_to; + } + + after_to: $result['to'] = $to; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️Status(mixed $object): mixed + { + assert($object instanceof Status); + $result = []; + + $from = $object->from; + + if ($from === null) { + goto after_from; + } + + after_from: $result['from'] = $from; + + $to = $object->to; + + if ($to === null) { + goto after_to; + } + + after_to: $result['to'] = $to; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️StartDate(mixed $object): mixed + { + assert($object instanceof StartDate); + $result = []; + + $from = $object->from; + + if ($from === null) { + goto after_from; + } + + after_from: $result['from'] = $from; + + $to = $object->to; + + if ($to === null) { + goto after_to; + } + + after_to: $result['to'] = $to; + + return $result; + } + + private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookProjectsV2StatusUpdateEdited⚡️Changes⚡️TargetDate(mixed $object): mixed + { + assert($object instanceof TargetDate); + $result = []; + + $from = $object->from; + + if ($from === null) { + goto after_from; + } + + after_from: $result['from'] = $from; + + $to = $object->to; + + if ($to === null) { + goto after_to; + } + + after_to: $result['to'] = $to; + + return $result; + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToHydrateObject + * + * @template T + */ + public function hydrateObjects(string $className, iterable $payloads): IterableList + { + return new IterableList($this->doHydrateObjects($className, $payloads)); + } + + private function doHydrateObjects(string $className, iterable $payloads): Generator + { + foreach ($payloads as $index => $payload) { + yield $index => $this->hydrateObject($className, $payload); + } + } + + /** + * @param class-string $className + * @param iterable $payloads; + * + * @return IterableList + * + * @throws UnableToSerializeObject + * + * @template T + */ + public function serializeObjects(iterable $payloads): IterableList + { + return new IterableList($this->doSerializeObjects($payloads)); + } + + private function doSerializeObjects(iterable $objects): Generator + { + foreach ($objects as $index => $object) { + yield $index => $this->serializeObject($object); + } + } +} diff --git a/clients/GitHub/src/Internal/Hydrators.php b/clients/GitHub/src/Internal/Hydrators.php index 034aa7732c1..7234bbfd9a1 100644 --- a/clients/GitHub/src/Internal/Hydrators.php +++ b/clients/GitHub/src/Internal/Hydrators.php @@ -603,6 +603,7 @@ final class Hydrators implements ObjectMapper private Internal\Hydrator\Operation\User\Starred\Owner\Repo|null $operation🌀User🌀Starred🌀Owner🌀Repo = null; private Internal\Hydrator\Operation\User\Subscriptions|null $operation🌀User🌀Subscriptions = null; private Internal\Hydrator\Operation\User\Teams|null $operation🌀User🌀Teams = null; + private Internal\Hydrator\Operation\User\AccountId|null $operation🌀User🌀AccountId = null; private Internal\Hydrator\Operation\Users|null $operation🌀Users = null; private Internal\Hydrator\Operation\Users\Username|null $operation🌀Users🌀Username = null; private Internal\Hydrator\Operation\Users\Username\Attestations\SubjectDigest|null $operation🌀Users🌀Username🌀Attestations🌀SubjectDigest = null; @@ -682,6 +683,7 @@ final class Hydrators implements ObjectMapper private Internal\Hydrator\WebHook\ProjectColumn|null $webHook🪝ProjectColumn = null; private Internal\Hydrator\WebHook\ProjectsV2|null $webHook🪝ProjectsV2 = null; private Internal\Hydrator\WebHook\ProjectsV2Item|null $webHook🪝ProjectsV2Item = null; + private Internal\Hydrator\WebHook\ProjectsV2StatusUpdate|null $webHook🪝ProjectsV2StatusUpdate = null; private Internal\Hydrator\WebHook\Public_|null $webHook🪝Public_ = null; private Internal\Hydrator\WebHook\PullRequest|null $webHook🪝PullRequest = null; private Internal\Hydrator\WebHook\PullRequestReviewComment|null $webHook🪝PullRequestReviewComment = null; @@ -1013,6 +1015,7 @@ public function hydrateObject(string $className, array $payload): object '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectColumn', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited\\Changes\\Name', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnMoved' => $this->getObjectMapperWebHook🪝ProjectColumn()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectClosed', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Description', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Public_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\ShortDescription', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectReopened' => $this->getObjectMapperWebHook🪝ProjectsV2()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemArchived', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectChanges', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectChanges\\ArchivedAt', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2Item', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted\\Changes\\ContentType', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered\\Changes\\PreviousProjectsVTwoItemNodeId', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemRestored' => $this->getObjectMapperWebHook🪝ProjectsV2Item()->hydrateObject($className, $payload), + '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateCreated', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2StatusUpdate', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\Status', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\StartDate', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\TargetDate' => $this->getObjectMapperWebHook🪝ProjectsV2StatusUpdate()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPublic' => $this->getObjectMapperWebHook🪝Public_()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestClosed', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestConvertedToDraft', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDemilestoned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base\\Ref', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base\\Sha', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestMilestoned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestOpened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReadyForReview', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReopened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewRequestRemoved', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewRequested', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\User' => $this->getObjectMapperWebHook🪝PullRequest()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\User' => $this->getObjectMapperWebHook🪝PullRequestReviewComment()->hydrateObject($className, $payload), @@ -1363,6 +1366,7 @@ public function serializeObjectOfType(object $object, string $className): mixed '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectColumn', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnEdited\\Changes\\Name', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectColumnMoved' => $this->getObjectMapperWebHook🪝ProjectColumn()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectClosed', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Description', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Public_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\ShortDescription', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ProjectReopened' => $this->getObjectMapperWebHook🪝ProjectsV2()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemArchived', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectChanges', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksProjectChanges\\ArchivedAt', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2Item', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemConverted\\Changes\\ContentType', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemReordered\\Changes\\PreviousProjectsVTwoItemNodeId', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2ItemRestored' => $this->getObjectMapperWebHook🪝ProjectsV2Item()->serializeObject($object), + '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateCreated', '\\ApiClients\\Client\\GitHub\\Schema\\ProjectsV2StatusUpdate', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\Status', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\StartDate', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookProjectsV2StatusUpdateEdited\\Changes\\TargetDate' => $this->getObjectMapperWebHook🪝ProjectsV2StatusUpdate()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPublic' => $this->getObjectMapperWebHook🪝Public_()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAssigned\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeDisabled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestAutoMergeEnabled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestClosed', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestConvertedToDraft', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDemilestoned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksPullRequest5\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestDequeued\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base\\Ref', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Base\\Sha', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestEnqueued\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLabeled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestLocked\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestMilestoned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestOpened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReadyForReview', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReopened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewRequestRemoved', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewRequested', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestSynchronize\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnassigned\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlabeled\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\MergedBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestUnlocked\\PullRequest\\User' => $this->getObjectMapperWebHook🪝PullRequest()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\Comment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentCreated\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksReviewComment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentDeleted\\PullRequest\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Comments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Commits', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Html', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Issue', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\ReviewComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\ReviewComments', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Self_', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Links\\Statuses', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Assignee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\AutoMerge', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\AutoMerge\\EnabledBy', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Base\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\Repo\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Head\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Milestone', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\Milestone\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookPullRequestReviewCommentEdited\\PullRequest\\User' => $this->getObjectMapperWebHook🪝PullRequestReviewComment()->serializeObject($object), @@ -6733,6 +6737,15 @@ public function getObjectMapperOperation🌀User🌀Teams(): Internal\Hydrator\O return $this->operation🌀User🌀Teams; } + public function getObjectMapperOperation🌀User🌀AccountId(): Internal\Hydrator\Operation\User\AccountId + { + if ($this->operation🌀User🌀AccountId instanceof Internal\Hydrator\Operation\User\AccountId === false) { + $this->operation🌀User🌀AccountId = new Internal\Hydrator\Operation\User\AccountId(); + } + + return $this->operation🌀User🌀AccountId; + } + public function getObjectMapperOperation🌀Users(): Internal\Hydrator\Operation\Users { if ($this->operation🌀Users instanceof Internal\Hydrator\Operation\Users === false) { @@ -7444,6 +7457,15 @@ public function getObjectMapperWebHook🪝ProjectsV2Item(): Internal\Hydrator\We return $this->webHook🪝ProjectsV2Item; } + public function getObjectMapperWebHook🪝ProjectsV2StatusUpdate(): Internal\Hydrator\WebHook\ProjectsV2StatusUpdate + { + if ($this->webHook🪝ProjectsV2StatusUpdate instanceof Internal\Hydrator\WebHook\ProjectsV2StatusUpdate === false) { + $this->webHook🪝ProjectsV2StatusUpdate = new Internal\Hydrator\WebHook\ProjectsV2StatusUpdate(); + } + + return $this->webHook🪝ProjectsV2StatusUpdate; + } + public function getObjectMapperWebHook🪝Public_(): Internal\Hydrator\WebHook\Public_ { if ($this->webHook🪝Public_ instanceof Internal\Hydrator\WebHook\Public_ === false) { diff --git a/clients/GitHub/src/Internal/Operation/Users/GetById.php b/clients/GitHub/src/Internal/Operation/Users/GetById.php new file mode 100644 index 00000000000..31b681dcec9 --- /dev/null +++ b/clients/GitHub/src/Internal/Operation/Users/GetById.php @@ -0,0 +1,85 @@ +accountId = $accountId; + } + + public function createRequest(): RequestInterface + { + return new Request('GET', str_replace(['{account_id}'], [$this->accountId], '/user/{account_id}')); + } + + public function createResponse(ResponseInterface $response): Schema\PrivateUser|Schema\PublicUser + { + $code = $response->getStatusCode(); + [$contentType] = explode(';', $response->getHeaderLine('Content-Type')); + switch ($contentType) { + case 'application/json': + $body = json_decode($response->getBody()->getContents(), true); + switch ($code) { + /** + * Response + **/ + case 200: + $error = new RuntimeException(); + try { + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\PrivateUser::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\PrivateUser::class, $body); + } catch (Throwable) { + goto items_application_json_two_hundred_aaaaa; + } + + items_application_json_two_hundred_aaaaa: + try { + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\PublicUser::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\PublicUser::class, $body); + } catch (Throwable) { + goto items_application_json_two_hundred_aaaab; + } + + items_application_json_two_hundred_aaaab: + throw $error; + /** + * Resource not found + **/ + case 404: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(404, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); + } + + break; + } + + throw new RuntimeException('Unable to find matching response code and content type'); + } +} diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListAttestations.php b/clients/GitHub/src/Internal/Operator/Orgs/ListAttestations.php index 15230b7f9c0..64189c5640f 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListAttestations.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListAttestations.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $before, string $after, string $org, string $subjectDigest, int $perPage = 30): Ok { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListAttestations($this->responseSchemaValidator, $this->hydrator, $before, $after, $org, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/Internal/Operator/Repos/CreateAttestation.php b/clients/GitHub/src/Internal/Operator/Repos/CreateAttestation.php index f60c0fa681c..af70c60c0be 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/CreateAttestation.php +++ b/clients/GitHub/src/Internal/Operator/Repos/CreateAttestation.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, array $params): Created { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\CreateAttestation($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHub/src/Internal/Operator/Repos/ListAttestations.php b/clients/GitHub/src/Internal/Operator/Repos/ListAttestations.php index 4bd10a628fc..33d5a59f5ad 100644 --- a/clients/GitHub/src/Internal/Operator/Repos/ListAttestations.php +++ b/clients/GitHub/src/Internal/Operator/Repos/ListAttestations.php @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $owner, string $repo, string $before, string $after, string $subjectDigest, int $perPage = 30): Json { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListAttestations($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $before, $after, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/Internal/Operator/Users/GetById.php b/clients/GitHub/src/Internal/Operator/Users/GetById.php new file mode 100644 index 00000000000..cd9c6b5987c --- /dev/null +++ b/clients/GitHub/src/Internal/Operator/Users/GetById.php @@ -0,0 +1,41 @@ +responseSchemaValidator, $this->hydrator, $accountId); + $request = $operation->createRequest(); + $result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): PrivateUser|PublicUser { + return $operation->createResponse($response); + })); + if ($result instanceof Observable) { + $result = awaitObservable($result); + } + + return $result; + } +} diff --git a/clients/GitHub/src/Internal/Operator/Users/ListAttestations.php b/clients/GitHub/src/Internal/Operator/Users/ListAttestations.php index 8ca407b8651..0b2df64ba84 100644 --- a/clients/GitHub/src/Internal/Operator/Users/ListAttestations.php +++ b/clients/GitHub/src/Internal/Operator/Users/ListAttestations.php @@ -26,6 +26,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } + /** @return */ public function call(string $before, string $after, string $username, string $subjectDigest, int $perPage = 30): Ok|EmptyObject|WithoutBody { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Users\ListAttestations($this->responseSchemaValidator, $this->hydrator, $before, $after, $username, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/Internal/Operators.php b/clients/GitHub/src/Internal/Operators.php index b96c45e3fd6..e95f9fb54c7 100644 --- a/clients/GitHub/src/Internal/Operators.php +++ b/clients/GitHub/src/Internal/Operators.php @@ -1081,6 +1081,7 @@ final class Operators private Internal\Operator\Activity\ListWatchedReposForAuthenticatedUserListing|null $activity👷ListWatchedReposForAuthenticatedUserListing = null; private Internal\Operator\Teams\ListForAuthenticatedUser|null $teams👷ListForAuthenticatedUser = null; private Internal\Operator\Teams\ListForAuthenticatedUserListing|null $teams👷ListForAuthenticatedUserListing = null; + private Internal\Operator\Users\GetById|null $users👷GetById = null; private Internal\Operator\Users\List_|null $users👷List_ = null; private Internal\Operator\Users\GetByUsername|null $users👷GetByUsername = null; private Internal\Operator\Users\ListAttestations|null $users👷ListAttestations = null; @@ -10770,6 +10771,15 @@ public function teams👷ListForAuthenticatedUserListing(): Internal\Operator\Te return $this->teams👷ListForAuthenticatedUserListing; } + public function users👷GetById(): Internal\Operator\Users\GetById + { + if ($this->users👷GetById instanceof Internal\Operator\Users\GetById === false) { + $this->users👷GetById = new Internal\Operator\Users\GetById($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀User🌀AccountId()); + } + + return $this->users👷GetById; + } + public function users👷List_(): Internal\Operator\Users\List_ { if ($this->users👷List_ instanceof Internal\Operator\Users\List_ === false) { diff --git a/clients/GitHub/src/Internal/Router/Get/Five.php b/clients/GitHub/src/Internal/Router/Get/Five.php index c78f6258cc3..79c7c692dd1 100644 --- a/clients/GitHub/src/Internal/Router/Get/Five.php +++ b/clients/GitHub/src/Internal/Router/Get/Five.php @@ -50,7 +50,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|Schema\EmptyObject|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */ + /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): HookDelivery|iterable|WithoutBody|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|ActionsOrganizationPermissions|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|OrgHook|OrgMembership|Migration|OrganizationRole|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHub\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package|\ApiClients\Client\GitHub\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|EmptyObject { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Orgs.php b/clients/GitHub/src/Internal/Router/Get/Orgs.php index 60dbdc194d7..f1c7d83e820 100644 --- a/clients/GitHub/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Get/Orgs.php @@ -568,6 +568,7 @@ public function listForUser(array $params): iterable return $operator->call($arguments['username'], $arguments['per_page'], $arguments['page']); } + /** @return */ public function listAttestations(array $params): \ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAttestations\Response\ApplicationJson\Ok { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Get/Repos.php b/clients/GitHub/src/Internal/Router/Get/Repos.php index 5c7ba878018..f98de9fa6e4 100644 --- a/clients/GitHub/src/Internal/Router/Get/Repos.php +++ b/clients/GitHub/src/Internal/Router/Get/Repos.php @@ -1242,6 +1242,7 @@ public function getOrgRuleSuite(array $params): RuleSuite return $operator->call($arguments['org'], $arguments['rule_suite_id']); } + /** @return */ public function listAttestations(array $params): Json { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Get/Six.php b/clients/GitHub/src/Internal/Router/Get/Six.php index 1abe9bae55d..305629bd5e2 100644 --- a/clients/GitHub/src/Internal/Router/Get/Six.php +++ b/clients/GitHub/src/Internal/Router/Get/Six.php @@ -74,7 +74,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): Ok|iterable|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|CopilotSeatDetails|Package|OrgCustomProperty|RuleSuite|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|ProjectCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|TeamRepository|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Three.php b/clients/GitHub/src/Internal/Router/Get/Three.php index f752d183630..bc5667a20e9 100644 --- a/clients/GitHub/src/Internal/Router/Get/Three.php +++ b/clients/GitHub/src/Internal/Router/Get/Three.php @@ -30,7 +30,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\PrivateUser|Schema\PublicUser */ public function call(string $call, array $params, array $pathChunks): GlobalAdvisory|iterable|WithoutBody|Integration|ClassroomAssignment|Classroom|CodeOfConduct|GistSimple|Ok|License|OrganizationFull|Project|\ApiClients\Client\GitHub\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|TeamFull|Json|\ApiClients\Client\GitHub\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|InteractionLimitResponse|One|PrivateUser|PublicUser { if ($pathChunks[0] === '') { @@ -249,6 +249,10 @@ public function call(string $call, array $params, array $pathChunks): GlobalAdvi if ($call === 'GET /user/teams') { return $this->routers->internal🔀Router🔀Get🔀Teams()->listForAuthenticatedUser($params); } + } elseif ($pathChunks[2] === '{account_id}') { + if ($call === 'GET /user/{account_id}') { + return $this->routers->internal🔀Router🔀Get🔀Users()->getById($params); + } } } elseif ($pathChunks[1] === 'users') { if ($pathChunks[2] === '{username}') { diff --git a/clients/GitHub/src/Internal/Router/Get/Users.php b/clients/GitHub/src/Internal/Router/Get/Users.php index 0fb4ab04ae7..23f4bbf3f0b 100644 --- a/clients/GitHub/src/Internal/Router/Get/Users.php +++ b/clients/GitHub/src/Internal/Router/Get/Users.php @@ -246,6 +246,20 @@ public function listSshSigningKeysForAuthenticatedUser(array $params): iterable| return $operator->call($arguments['per_page'], $arguments['page']); } + public function getById(array $params): PrivateUser|PublicUser + { + $arguments = []; + if (array_key_exists('account_id', $params) === false) { + throw new InvalidArgumentException('Missing mandatory field: account_id'); + } + + $arguments['account_id'] = $params['account_id']; + unset($params['account_id']); + $operator = new Internal\Operator\Users\GetById($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀User🌀AccountId()); + + return $operator->call($arguments['account_id']); + } + /** @return */ public function getByUsername(array $params): PrivateUser|PublicUser { @@ -525,6 +539,7 @@ public function listSshSigningKeysForUser(array $params): iterable return $operator->call($arguments['username'], $arguments['per_page'], $arguments['page']); } + /** @return */ public function listAttestations(array $params): Ok|EmptyObject|WithoutBody { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Post/Five.php b/clients/GitHub/src/Internal/Router/Post/Five.php index 59037623b13..034c64c1648 100644 --- a/clients/GitHub/src/Internal/Router/Post/Five.php +++ b/clients/GitHub/src/Internal/Router/Post/Five.php @@ -43,7 +43,6 @@ public function __construct(private Routers $routers) { } - /** @return |Schema\Operations\Repos\CreateAttestation\Response\ApplicationJson\Created */ public function call(string $call, array $params, array $pathChunks): InstallationToken|Authorization|EmptyObject|CodeSecurityConfiguration|WithoutBody|ProjectCard|Json|Created|Autolink|CheckRun|CheckSuite|Codespace|Deployment|\ApiClients\Client\GitHub\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|FullRepository|Hook|Issue|DeployKey|Label|MergedUpstream|Commit|Milestone|Page|Project|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|MinimalRepository|CodespaceExportDetails|CodespaceWithFullRepository { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Post/Repos.php b/clients/GitHub/src/Internal/Router/Post/Repos.php index c793eefee7c..a337abdedee 100644 --- a/clients/GitHub/src/Internal/Router/Post/Repos.php +++ b/clients/GitHub/src/Internal/Router/Post/Repos.php @@ -186,6 +186,7 @@ public function createTagProtection(array $params): TagProtection return $operator->call($arguments['owner'], $arguments['repo'], $params); } + /** @return */ public function createAttestation(array $params): Created { $arguments = []; diff --git a/clients/GitHub/src/Internal/WebHook/ProjectsV2StatusUpdate.php b/clients/GitHub/src/Internal/WebHook/ProjectsV2StatusUpdate.php new file mode 100644 index 00000000000..858f25cd8c8 --- /dev/null +++ b/clients/GitHub/src/Internal/WebHook/ProjectsV2StatusUpdate.php @@ -0,0 +1,81 @@ +requestSchemaValidator->validate($headers['user-agent'], Reader::readFromJson(Schema\WebHookHeader\UserAgent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-event'], Reader::readFromJson(Schema\WebHookHeader\XGithubEvent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-type'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetType::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-delivery'], Reader::readFromJson(Schema\WebHookHeader\XGitHubDelivery::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-hub-signature-256'], Reader::readFromJson(Schema\WebHookHeader\XHubSignature::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\WebhookProjectsV2StatusUpdateCreated::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\WebhookProjectsV2StatusUpdateCreated::class, $data); + } catch (Throwable) { + goto actions_aaaaa; + } + } + + actions_aaaaa: + if ($headers['content-type'] === 'application/json') { + try { + $this->requestSchemaValidator->validate($headers['user-agent'], Reader::readFromJson(Schema\WebHookHeader\UserAgent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-event'], Reader::readFromJson(Schema\WebHookHeader\XGithubEvent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-type'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetType::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-delivery'], Reader::readFromJson(Schema\WebHookHeader\XGitHubDelivery::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-hub-signature-256'], Reader::readFromJson(Schema\WebHookHeader\XHubSignature::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\WebhookProjectsV2StatusUpdateDeleted::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\WebhookProjectsV2StatusUpdateDeleted::class, $data); + } catch (Throwable) { + goto actions_aaaab; + } + } + + actions_aaaab: + if ($headers['content-type'] === 'application/json') { + try { + $this->requestSchemaValidator->validate($headers['user-agent'], Reader::readFromJson(Schema\WebHookHeader\UserAgent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-event'], Reader::readFromJson(Schema\WebHookHeader\XGithubEvent::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-id'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetId::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-hook-installation-target-type'], Reader::readFromJson(Schema\WebHookHeader\XGithubHookInstallationTargetType::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-github-delivery'], Reader::readFromJson(Schema\WebHookHeader\XGitHubDelivery::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($headers['x-hub-signature-256'], Reader::readFromJson(Schema\WebHookHeader\XHubSignature::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + $this->requestSchemaValidator->validate($data, Reader::readFromJson(Schema\WebhookProjectsV2StatusUpdateEdited::SCHEMA_JSON, '\\cebe\\openapi\\spec\\Schema')); + + return $this->hydrator->hydrateObject(Schema\WebhookProjectsV2StatusUpdateEdited::class, $data); + } catch (Throwable) { + goto actions_aaaac; + } + } + + actions_aaaac: + throw $error; + } +} diff --git a/clients/GitHub/src/Operation/Orgs.php b/clients/GitHub/src/Operation/Orgs.php index bf6863f2b40..f73e89deb73 100644 --- a/clients/GitHub/src/Operation/Orgs.php +++ b/clients/GitHub/src/Operation/Orgs.php @@ -48,6 +48,7 @@ public function update(string $org, array $params): OrganizationFull return $this->operators->orgs👷Update()->call($org, $params); } + /** @return */ public function listAttestations(string $before, string $after, string $org, string $subjectDigest, int $perPage): Ok { return $this->operators->orgs👷ListAttestations()->call($before, $after, $org, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/Operation/Repos.php b/clients/GitHub/src/Operation/Repos.php index 051e16974a2..00ef6ec4227 100644 --- a/clients/GitHub/src/Operation/Repos.php +++ b/clients/GitHub/src/Operation/Repos.php @@ -167,11 +167,13 @@ public function listActivities(string $owner, string $repo, string $before, stri return $this->operators->repos👷ListActivities()->call($owner, $repo, $before, $after, $ref, $actor, $timePeriod, $activityType, $direction, $perPage); } + /** @return */ public function createAttestation(string $owner, string $repo, array $params): Created { return $this->operators->repos👷CreateAttestation()->call($owner, $repo, $params); } + /** @return */ public function listAttestations(string $owner, string $repo, string $before, string $after, string $subjectDigest, int $perPage): Json { return $this->operators->repos👷ListAttestations()->call($owner, $repo, $before, $after, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/Operation/Users.php b/clients/GitHub/src/Operation/Users.php index 7f86cf9a61b..c4f4a04ca2c 100644 --- a/clients/GitHub/src/Operation/Users.php +++ b/clients/GitHub/src/Operation/Users.php @@ -262,6 +262,11 @@ public function deleteSshSigningKeyForAuthenticatedUser(int $sshSigningKeyId): W return $this->operators->users👷DeleteSshSigningKeyForAuthenticatedUser()->call($sshSigningKeyId); } + public function getById(int $accountId): PrivateUser|PublicUser + { + return $this->operators->users👷GetById()->call($accountId); + } + /** @return Observable|WithoutBody */ public function list(int $since, int $perPage): iterable|WithoutBody { @@ -274,6 +279,7 @@ public function getByUsername(string $username): PrivateUser|PublicUser return $this->operators->users👷GetByUsername()->call($username); } + /** @return */ public function listAttestations(string $before, string $after, string $username, string $subjectDigest, int $perPage): Ok|EmptyObject|WithoutBody { return $this->operators->users👷ListAttestations()->call($before, $after, $username, $subjectDigest, $perPage); diff --git a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php index 6e2a71c35a6..68fb1e3dac2 100644 --- a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php @@ -652,7 +652,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/attestations/{subject_digest}') { - return $this->typeResolver->resolve('Schema\\Operations\\Orgs\\ListAttestations\\Response\\ApplicationJson\\Ok'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /orgs/{org}/blocks') { @@ -1972,11 +1972,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /repos/{owner}/{repo}/attestations') { - return $this->typeResolver->resolve('Schema\\Operations\\Repos\\CreateAttestation\\Response\\ApplicationJson\\Created'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/attestations/{subject_digest}') { - return $this->typeResolver->resolve('Schema\\Operations\\Repos\\ListAttestations\\Response\\ApplicationJson\\Ok\\Application\\Json'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /repos/{owner}/{repo}/autolinks') { @@ -4323,6 +4323,10 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method return $this->typeResolver->resolve('Observable|WithoutBody'); } + if ($call === 'GET /user/{account_id}') { + return $this->typeResolver->resolve('Schema\\PrivateUser|Schema\\PublicUser'); + } + if ($call === 'GET /users') { return $this->typeResolver->resolve('Observable|WithoutBody'); } @@ -4332,7 +4336,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /users/{username}/attestations/{subject_digest}') { - return $this->typeResolver->resolve('Schema\\Operations\\Users\\ListAttestations\\Response\\ApplicationJson\\Ok|Schema\\EmptyObject|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); + return $this->typeResolver->resolve(''); } if ($call === 'GET /users/{username}/docker/conflicts') { diff --git a/clients/GitHub/src/Schema/AliasAbstract/Tiet2508D9A4/Tiet4C71B14A/TietDC9C6C24/TietBDF49ABA.php b/clients/GitHub/src/Schema/AliasAbstract/Tiet14C99F34/Tiet0F46795A/Tiet25D72BE8/Tiet41999D31.php similarity index 99% rename from clients/GitHub/src/Schema/AliasAbstract/Tiet2508D9A4/Tiet4C71B14A/TietDC9C6C24/TietBDF49ABA.php rename to clients/GitHub/src/Schema/AliasAbstract/Tiet14C99F34/Tiet0F46795A/Tiet25D72BE8/Tiet41999D31.php index 3c89dbf9d87..8a285009c5f 100644 --- a/clients/GitHub/src/Schema/AliasAbstract/Tiet2508D9A4/Tiet4C71B14A/TietDC9C6C24/TietBDF49ABA.php +++ b/clients/GitHub/src/Schema/AliasAbstract/Tiet14C99F34/Tiet0F46795A/Tiet25D72BE8/Tiet41999D31.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet2508D9A4\Tiet4C71B14A\TietDC9C6C24; +namespace ApiClients\Client\GitHub\Schema\AliasAbstract\Tiet14C99F34\Tiet0F46795A\Tiet25D72BE8; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class TietBDF49ABA +abstract readonly class Tiet41999D31 { public const SCHEMA_JSON = '{ "required": [ @@ -213,7 +213,8 @@ "type": "object", "properties": { "id": { - "type": "integer" + "type": "integer", + "format": "int64" }, "number": { "type": "integer" @@ -244,7 +245,8 @@ "type": "object", "properties": { "id": { - "type": "integer" + "type": "integer", + "format": "int64" }, "url": { "type": "string" @@ -279,7 +281,8 @@ "type": "object", "properties": { "id": { - "type": "integer" + "type": "integer", + "format": "int64" }, "url": { "type": "string" diff --git a/clients/GitHub/src/Schema/AliasAbstract/Tiet1A9DD8AD/Tiet948667C0/Tiet284EC14B/Tiet8E7E694D.php b/clients/GitHub/src/Schema/AliasAbstract/Tiet1A9DD8AD/Tiet948667C0/Tiet284EC14B/Tiet8E7E694D.php new file mode 100644 index 00000000000..d125cdc8b13 --- /dev/null +++ b/clients/GitHub/src/Schema/AliasAbstract/Tiet1A9DD8AD/Tiet948667C0/Tiet284EC14B/Tiet8E7E694D.php @@ -0,0 +1,38 @@ + $object::class, 'data' => $this->hydrator->serializeObject($object)]; } - /** @return Schema\WebhookBranchProtectionConfigurationDisabled|Schema\WebhookBranchProtectionConfigurationEnabled|Schema\WebhookBranchProtectionRuleCreated|Schema\WebhookBranchProtectionRuleDeleted|Schema\WebhookBranchProtectionRuleEdited|Schema\WebhookCheckRunCompleted|Schema\WebhookCheckRunCompletedFormEncoded|Schema\WebhookCheckRunCreated|Schema\WebhookCheckRunCreatedFormEncoded|Schema\WebhookCheckRunRequestedAction|Schema\WebhookCheckRunRequestedActionFormEncoded|Schema\WebhookCheckRunRerequested|Schema\WebhookCheckRunRerequestedFormEncoded|Schema\WebhookCheckSuiteCompleted|Schema\WebhookCheckSuiteRequested|Schema\WebhookCheckSuiteRerequested|Schema\WebhookCodeScanningAlertAppearedInBranch|Schema\WebhookCodeScanningAlertClosedByUser|Schema\WebhookCodeScanningAlertCreated|Schema\WebhookCodeScanningAlertFixed|Schema\WebhookCodeScanningAlertReopened|Schema\WebhookCodeScanningAlertReopenedByUser|Schema\WebhookCommitCommentCreated|Schema\WebhookCreate|Schema\WebhookCustomPropertyCreated|Schema\WebhookCustomPropertyDeleted|Schema\WebhookCustomPropertyUpdated|Schema\WebhookCustomPropertyValuesUpdated|Schema\WebhookDelete|Schema\WebhookDependabotAlertAutoDismissed|Schema\WebhookDependabotAlertAutoReopened|Schema\WebhookDependabotAlertCreated|Schema\WebhookDependabotAlertDismissed|Schema\WebhookDependabotAlertFixed|Schema\WebhookDependabotAlertReintroduced|Schema\WebhookDependabotAlertReopened|Schema\WebhookDeployKeyCreated|Schema\WebhookDeployKeyDeleted|Schema\WebhookDeploymentCreated|Schema\WebhookDeploymentProtectionRuleRequested|Schema\WebhookDeploymentReviewApproved|Schema\WebhookDeploymentReviewRejected|Schema\WebhookDeploymentReviewRequested|Schema\WebhookDeploymentStatusCreated|Schema\WebhookDiscussionAnswered|Schema\WebhookDiscussionCategoryChanged|Schema\WebhookDiscussionClosed|Schema\WebhookDiscussionCreated|Schema\WebhookDiscussionDeleted|Schema\WebhookDiscussionEdited|Schema\WebhookDiscussionLabeled|Schema\WebhookDiscussionLocked|Schema\WebhookDiscussionPinned|Schema\WebhookDiscussionReopened|Schema\WebhookDiscussionTransferred|Schema\WebhookDiscussionUnanswered|Schema\WebhookDiscussionUnlabeled|Schema\WebhookDiscussionUnlocked|Schema\WebhookDiscussionUnpinned|Schema\WebhookDiscussionCommentCreated|Schema\WebhookDiscussionCommentDeleted|Schema\WebhookDiscussionCommentEdited|Schema\WebhookFork|Schema\WebhookGithubAppAuthorizationRevoked|Schema\WebhookGollum|Schema\WebhookInstallationCreated|Schema\WebhookInstallationDeleted|Schema\WebhookInstallationNewPermissionsAccepted|Schema\WebhookInstallationSuspend|Schema\WebhookInstallationUnsuspend|Schema\WebhookInstallationRepositoriesAdded|Schema\WebhookInstallationRepositoriesRemoved|Schema\WebhookInstallationTargetRenamed|Schema\WebhookIssueCommentCreated|Schema\WebhookIssueCommentDeleted|Schema\WebhookIssueCommentEdited|Schema\WebhookIssuesAssigned|Schema\WebhookIssuesClosed|Schema\WebhookIssuesDeleted|Schema\WebhookIssuesDemilestoned|Schema\WebhookIssuesEdited|Schema\WebhookIssuesLabeled|Schema\WebhookIssuesLocked|Schema\WebhookIssuesMilestoned|Schema\WebhookIssuesOpened|Schema\WebhookIssuesPinned|Schema\WebhookIssuesReopened|Schema\WebhookIssuesTransferred|Schema\WebhookIssuesUnassigned|Schema\WebhookIssuesUnlabeled|Schema\WebhookIssuesUnlocked|Schema\WebhookIssuesUnpinned|Schema\WebhookLabelCreated|Schema\WebhookLabelDeleted|Schema\WebhookLabelEdited|Schema\WebhookMarketplacePurchaseCancelled|Schema\WebhookMarketplacePurchaseChanged|Schema\WebhookMarketplacePurchasePendingChange|Schema\WebhookMarketplacePurchasePendingChangeCancelled|Schema\WebhookMarketplacePurchasePurchased|Schema\WebhookMemberAdded|Schema\WebhookMemberEdited|Schema\WebhookMemberRemoved|Schema\WebhookMembershipAdded|Schema\WebhookMembershipRemoved|Schema\WebhookMergeGroupChecksRequested|Schema\WebhookMergeGroupDestroyed|Schema\WebhookMetaDeleted|Schema\WebhookMilestoneClosed|Schema\WebhookMilestoneCreated|Schema\WebhookMilestoneDeleted|Schema\WebhookMilestoneEdited|Schema\WebhookMilestoneOpened|Schema\WebhookOrgBlockBlocked|Schema\WebhookOrgBlockUnblocked|Schema\WebhookOrganizationDeleted|Schema\WebhookOrganizationMemberAdded|Schema\WebhookOrganizationMemberInvited|Schema\WebhookOrganizationMemberRemoved|Schema\WebhookOrganizationRenamed|Schema\WebhookPackagePublished|Schema\WebhookPackageUpdated|Schema\WebhookPageBuild|Schema\WebhookPersonalAccessTokenRequestApproved|Schema\WebhookPersonalAccessTokenRequestCancelled|Schema\WebhookPersonalAccessTokenRequestCreated|Schema\WebhookPersonalAccessTokenRequestDenied|Schema\WebhookPing|Schema\WebhookPingFormEncoded|Schema\WebhookProjectCardConverted|Schema\WebhookProjectCardCreated|Schema\WebhookProjectCardDeleted|Schema\WebhookProjectCardEdited|Schema\WebhookProjectCardMoved|Schema\WebhookProjectClosed|Schema\WebhookProjectCreated|Schema\WebhookProjectDeleted|Schema\WebhookProjectEdited|Schema\WebhookProjectReopened|Schema\WebhookProjectColumnCreated|Schema\WebhookProjectColumnDeleted|Schema\WebhookProjectColumnEdited|Schema\WebhookProjectColumnMoved|Schema\WebhookProjectsV2ProjectClosed|Schema\WebhookProjectsV2ProjectCreated|Schema\WebhookProjectsV2ProjectDeleted|Schema\WebhookProjectsV2ProjectEdited|Schema\WebhookProjectsV2ProjectReopened|Schema\WebhookProjectsV2ItemArchived|Schema\WebhookProjectsV2ItemConverted|Schema\WebhookProjectsV2ItemCreated|Schema\WebhookProjectsV2ItemDeleted|Schema\WebhookProjectsV2ItemEdited|Schema\WebhookProjectsV2ItemReordered|Schema\WebhookProjectsV2ItemRestored|Schema\WebhookPublic|Schema\WebhookPullRequestAssigned|Schema\WebhookPullRequestAutoMergeDisabled|Schema\WebhookPullRequestAutoMergeEnabled|Schema\WebhookPullRequestClosed|Schema\WebhookPullRequestConvertedToDraft|Schema\WebhookPullRequestDemilestoned|Schema\WebhookPullRequestDequeued|Schema\WebhookPullRequestEdited|Schema\WebhookPullRequestEnqueued|Schema\WebhookPullRequestLabeled|Schema\WebhookPullRequestLocked|Schema\WebhookPullRequestMilestoned|Schema\WebhookPullRequestOpened|Schema\WebhookPullRequestReadyForReview|Schema\WebhookPullRequestReopened|Schema\WebhookPullRequestReviewRequestRemoved|Schema\WebhookPullRequestReviewRequested|Schema\WebhookPullRequestSynchronize|Schema\WebhookPullRequestUnassigned|Schema\WebhookPullRequestUnlabeled|Schema\WebhookPullRequestUnlocked|Schema\WebhookPullRequestReviewCommentCreated|Schema\WebhookPullRequestReviewCommentDeleted|Schema\WebhookPullRequestReviewCommentEdited|Schema\WebhookPullRequestReviewDismissed|Schema\WebhookPullRequestReviewEdited|Schema\WebhookPullRequestReviewSubmitted|Schema\WebhookPullRequestReviewThreadResolved|Schema\WebhookPullRequestReviewThreadUnresolved|Schema\WebhookPush|Schema\WebhookRegistryPackagePublished|Schema\WebhookRegistryPackageUpdated|Schema\WebhookReleaseCreated|Schema\WebhookReleaseDeleted|Schema\WebhookReleaseEdited|Schema\WebhookReleasePrereleased|Schema\WebhookReleasePublished|Schema\WebhookReleaseReleased|Schema\WebhookReleaseUnpublished|Schema\WebhookRepositoryAdvisoryPublished|Schema\WebhookRepositoryAdvisoryReported|Schema\WebhookRepositoryArchived|Schema\WebhookRepositoryCreated|Schema\WebhookRepositoryDeleted|Schema\WebhookRepositoryEdited|Schema\WebhookRepositoryPrivatized|Schema\WebhookRepositoryPublicized|Schema\WebhookRepositoryRenamed|Schema\WebhookRepositoryTransferred|Schema\WebhookRepositoryUnarchived|Schema\WebhookRepositoryDispatchSample|Schema\WebhookRepositoryImport|Schema\WebhookRepositoryRulesetCreated|Schema\WebhookRepositoryRulesetDeleted|Schema\WebhookRepositoryRulesetEdited|Schema\WebhookRepositoryVulnerabilityAlertCreate|Schema\WebhookRepositoryVulnerabilityAlertDismiss|Schema\WebhookRepositoryVulnerabilityAlertReopen|Schema\WebhookRepositoryVulnerabilityAlertResolve|Schema\WebhookSecretScanningAlertCreated|Schema\WebhookSecretScanningAlertReopened|Schema\WebhookSecretScanningAlertResolved|Schema\WebhookSecretScanningAlertValidated|Schema\WebhookSecretScanningAlertLocationCreated|Schema\WebhookSecretScanningAlertLocationCreatedFormEncoded|Schema\WebhookSecurityAdvisoryPublished|Schema\WebhookSecurityAdvisoryUpdated|Schema\WebhookSecurityAdvisoryWithdrawn|Schema\WebhookSecurityAndAnalysis|Schema\WebhookSponsorshipCancelled|Schema\WebhookSponsorshipCreated|Schema\WebhookSponsorshipEdited|Schema\WebhookSponsorshipPendingCancellation|Schema\WebhookSponsorshipPendingTierChange|Schema\WebhookSponsorshipTierChanged|Schema\WebhookStarCreated|Schema\WebhookStarDeleted|Schema\WebhookStatus|Schema\WebhookTeamAdd|Schema\WebhookTeamAddedToRepository|Schema\WebhookTeamCreated|Schema\WebhookTeamDeleted|Schema\WebhookTeamEdited|Schema\WebhookTeamRemovedFromRepository|Schema\WebhookWatchStarted|Schema\WebhookWorkflowDispatch|Schema\WebhookWorkflowJobCompleted|Schema\WebhookWorkflowJobInProgress|Schema\WebhookWorkflowJobQueued|Schema\WebhookWorkflowJobWaiting|Schema\WebhookWorkflowRunCompleted|Schema\WebhookWorkflowRunInProgress|Schema\WebhookWorkflowRunRequested */ + /** @return Schema\WebhookBranchProtectionConfigurationDisabled|Schema\WebhookBranchProtectionConfigurationEnabled|Schema\WebhookBranchProtectionRuleCreated|Schema\WebhookBranchProtectionRuleDeleted|Schema\WebhookBranchProtectionRuleEdited|Schema\WebhookCheckRunCompleted|Schema\WebhookCheckRunCompletedFormEncoded|Schema\WebhookCheckRunCreated|Schema\WebhookCheckRunCreatedFormEncoded|Schema\WebhookCheckRunRequestedAction|Schema\WebhookCheckRunRequestedActionFormEncoded|Schema\WebhookCheckRunRerequested|Schema\WebhookCheckRunRerequestedFormEncoded|Schema\WebhookCheckSuiteCompleted|Schema\WebhookCheckSuiteRequested|Schema\WebhookCheckSuiteRerequested|Schema\WebhookCodeScanningAlertAppearedInBranch|Schema\WebhookCodeScanningAlertClosedByUser|Schema\WebhookCodeScanningAlertCreated|Schema\WebhookCodeScanningAlertFixed|Schema\WebhookCodeScanningAlertReopened|Schema\WebhookCodeScanningAlertReopenedByUser|Schema\WebhookCommitCommentCreated|Schema\WebhookCreate|Schema\WebhookCustomPropertyCreated|Schema\WebhookCustomPropertyDeleted|Schema\WebhookCustomPropertyUpdated|Schema\WebhookCustomPropertyValuesUpdated|Schema\WebhookDelete|Schema\WebhookDependabotAlertAutoDismissed|Schema\WebhookDependabotAlertAutoReopened|Schema\WebhookDependabotAlertCreated|Schema\WebhookDependabotAlertDismissed|Schema\WebhookDependabotAlertFixed|Schema\WebhookDependabotAlertReintroduced|Schema\WebhookDependabotAlertReopened|Schema\WebhookDeployKeyCreated|Schema\WebhookDeployKeyDeleted|Schema\WebhookDeploymentCreated|Schema\WebhookDeploymentProtectionRuleRequested|Schema\WebhookDeploymentReviewApproved|Schema\WebhookDeploymentReviewRejected|Schema\WebhookDeploymentReviewRequested|Schema\WebhookDeploymentStatusCreated|Schema\WebhookDiscussionAnswered|Schema\WebhookDiscussionCategoryChanged|Schema\WebhookDiscussionClosed|Schema\WebhookDiscussionCreated|Schema\WebhookDiscussionDeleted|Schema\WebhookDiscussionEdited|Schema\WebhookDiscussionLabeled|Schema\WebhookDiscussionLocked|Schema\WebhookDiscussionPinned|Schema\WebhookDiscussionReopened|Schema\WebhookDiscussionTransferred|Schema\WebhookDiscussionUnanswered|Schema\WebhookDiscussionUnlabeled|Schema\WebhookDiscussionUnlocked|Schema\WebhookDiscussionUnpinned|Schema\WebhookDiscussionCommentCreated|Schema\WebhookDiscussionCommentDeleted|Schema\WebhookDiscussionCommentEdited|Schema\WebhookFork|Schema\WebhookGithubAppAuthorizationRevoked|Schema\WebhookGollum|Schema\WebhookInstallationCreated|Schema\WebhookInstallationDeleted|Schema\WebhookInstallationNewPermissionsAccepted|Schema\WebhookInstallationSuspend|Schema\WebhookInstallationUnsuspend|Schema\WebhookInstallationRepositoriesAdded|Schema\WebhookInstallationRepositoriesRemoved|Schema\WebhookInstallationTargetRenamed|Schema\WebhookIssueCommentCreated|Schema\WebhookIssueCommentDeleted|Schema\WebhookIssueCommentEdited|Schema\WebhookIssuesAssigned|Schema\WebhookIssuesClosed|Schema\WebhookIssuesDeleted|Schema\WebhookIssuesDemilestoned|Schema\WebhookIssuesEdited|Schema\WebhookIssuesLabeled|Schema\WebhookIssuesLocked|Schema\WebhookIssuesMilestoned|Schema\WebhookIssuesOpened|Schema\WebhookIssuesPinned|Schema\WebhookIssuesReopened|Schema\WebhookIssuesTransferred|Schema\WebhookIssuesUnassigned|Schema\WebhookIssuesUnlabeled|Schema\WebhookIssuesUnlocked|Schema\WebhookIssuesUnpinned|Schema\WebhookLabelCreated|Schema\WebhookLabelDeleted|Schema\WebhookLabelEdited|Schema\WebhookMarketplacePurchaseCancelled|Schema\WebhookMarketplacePurchaseChanged|Schema\WebhookMarketplacePurchasePendingChange|Schema\WebhookMarketplacePurchasePendingChangeCancelled|Schema\WebhookMarketplacePurchasePurchased|Schema\WebhookMemberAdded|Schema\WebhookMemberEdited|Schema\WebhookMemberRemoved|Schema\WebhookMembershipAdded|Schema\WebhookMembershipRemoved|Schema\WebhookMergeGroupChecksRequested|Schema\WebhookMergeGroupDestroyed|Schema\WebhookMetaDeleted|Schema\WebhookMilestoneClosed|Schema\WebhookMilestoneCreated|Schema\WebhookMilestoneDeleted|Schema\WebhookMilestoneEdited|Schema\WebhookMilestoneOpened|Schema\WebhookOrgBlockBlocked|Schema\WebhookOrgBlockUnblocked|Schema\WebhookOrganizationDeleted|Schema\WebhookOrganizationMemberAdded|Schema\WebhookOrganizationMemberInvited|Schema\WebhookOrganizationMemberRemoved|Schema\WebhookOrganizationRenamed|Schema\WebhookPackagePublished|Schema\WebhookPackageUpdated|Schema\WebhookPageBuild|Schema\WebhookPersonalAccessTokenRequestApproved|Schema\WebhookPersonalAccessTokenRequestCancelled|Schema\WebhookPersonalAccessTokenRequestCreated|Schema\WebhookPersonalAccessTokenRequestDenied|Schema\WebhookPing|Schema\WebhookPingFormEncoded|Schema\WebhookProjectCardConverted|Schema\WebhookProjectCardCreated|Schema\WebhookProjectCardDeleted|Schema\WebhookProjectCardEdited|Schema\WebhookProjectCardMoved|Schema\WebhookProjectClosed|Schema\WebhookProjectCreated|Schema\WebhookProjectDeleted|Schema\WebhookProjectEdited|Schema\WebhookProjectReopened|Schema\WebhookProjectColumnCreated|Schema\WebhookProjectColumnDeleted|Schema\WebhookProjectColumnEdited|Schema\WebhookProjectColumnMoved|Schema\WebhookProjectsV2ProjectClosed|Schema\WebhookProjectsV2ProjectCreated|Schema\WebhookProjectsV2ProjectDeleted|Schema\WebhookProjectsV2ProjectEdited|Schema\WebhookProjectsV2ProjectReopened|Schema\WebhookProjectsV2ItemArchived|Schema\WebhookProjectsV2ItemConverted|Schema\WebhookProjectsV2ItemCreated|Schema\WebhookProjectsV2ItemDeleted|Schema\WebhookProjectsV2ItemEdited|Schema\WebhookProjectsV2ItemReordered|Schema\WebhookProjectsV2ItemRestored|Schema\WebhookProjectsV2StatusUpdateCreated|Schema\WebhookProjectsV2StatusUpdateDeleted|Schema\WebhookProjectsV2StatusUpdateEdited|Schema\WebhookPublic|Schema\WebhookPullRequestAssigned|Schema\WebhookPullRequestAutoMergeDisabled|Schema\WebhookPullRequestAutoMergeEnabled|Schema\WebhookPullRequestClosed|Schema\WebhookPullRequestConvertedToDraft|Schema\WebhookPullRequestDemilestoned|Schema\WebhookPullRequestDequeued|Schema\WebhookPullRequestEdited|Schema\WebhookPullRequestEnqueued|Schema\WebhookPullRequestLabeled|Schema\WebhookPullRequestLocked|Schema\WebhookPullRequestMilestoned|Schema\WebhookPullRequestOpened|Schema\WebhookPullRequestReadyForReview|Schema\WebhookPullRequestReopened|Schema\WebhookPullRequestReviewRequestRemoved|Schema\WebhookPullRequestReviewRequested|Schema\WebhookPullRequestSynchronize|Schema\WebhookPullRequestUnassigned|Schema\WebhookPullRequestUnlabeled|Schema\WebhookPullRequestUnlocked|Schema\WebhookPullRequestReviewCommentCreated|Schema\WebhookPullRequestReviewCommentDeleted|Schema\WebhookPullRequestReviewCommentEdited|Schema\WebhookPullRequestReviewDismissed|Schema\WebhookPullRequestReviewEdited|Schema\WebhookPullRequestReviewSubmitted|Schema\WebhookPullRequestReviewThreadResolved|Schema\WebhookPullRequestReviewThreadUnresolved|Schema\WebhookPush|Schema\WebhookRegistryPackagePublished|Schema\WebhookRegistryPackageUpdated|Schema\WebhookReleaseCreated|Schema\WebhookReleaseDeleted|Schema\WebhookReleaseEdited|Schema\WebhookReleasePrereleased|Schema\WebhookReleasePublished|Schema\WebhookReleaseReleased|Schema\WebhookReleaseUnpublished|Schema\WebhookRepositoryAdvisoryPublished|Schema\WebhookRepositoryAdvisoryReported|Schema\WebhookRepositoryArchived|Schema\WebhookRepositoryCreated|Schema\WebhookRepositoryDeleted|Schema\WebhookRepositoryEdited|Schema\WebhookRepositoryPrivatized|Schema\WebhookRepositoryPublicized|Schema\WebhookRepositoryRenamed|Schema\WebhookRepositoryTransferred|Schema\WebhookRepositoryUnarchived|Schema\WebhookRepositoryDispatchSample|Schema\WebhookRepositoryImport|Schema\WebhookRepositoryRulesetCreated|Schema\WebhookRepositoryRulesetDeleted|Schema\WebhookRepositoryRulesetEdited|Schema\WebhookRepositoryVulnerabilityAlertCreate|Schema\WebhookRepositoryVulnerabilityAlertDismiss|Schema\WebhookRepositoryVulnerabilityAlertReopen|Schema\WebhookRepositoryVulnerabilityAlertResolve|Schema\WebhookSecretScanningAlertCreated|Schema\WebhookSecretScanningAlertReopened|Schema\WebhookSecretScanningAlertResolved|Schema\WebhookSecretScanningAlertValidated|Schema\WebhookSecretScanningAlertLocationCreated|Schema\WebhookSecretScanningAlertLocationCreatedFormEncoded|Schema\WebhookSecurityAdvisoryPublished|Schema\WebhookSecurityAdvisoryUpdated|Schema\WebhookSecurityAdvisoryWithdrawn|Schema\WebhookSecurityAndAnalysis|Schema\WebhookSponsorshipCancelled|Schema\WebhookSponsorshipCreated|Schema\WebhookSponsorshipEdited|Schema\WebhookSponsorshipPendingCancellation|Schema\WebhookSponsorshipPendingTierChange|Schema\WebhookSponsorshipTierChanged|Schema\WebhookStarCreated|Schema\WebhookStarDeleted|Schema\WebhookStatus|Schema\WebhookTeamAdd|Schema\WebhookTeamAddedToRepository|Schema\WebhookTeamCreated|Schema\WebhookTeamDeleted|Schema\WebhookTeamEdited|Schema\WebhookTeamRemovedFromRepository|Schema\WebhookWatchStarted|Schema\WebhookWorkflowDispatch|Schema\WebhookWorkflowJobCompleted|Schema\WebhookWorkflowJobInProgress|Schema\WebhookWorkflowJobQueued|Schema\WebhookWorkflowJobWaiting|Schema\WebhookWorkflowRunCompleted|Schema\WebhookWorkflowRunInProgress|Schema\WebhookWorkflowRunRequested */ public function resolve(array $headers, array $data): object { $headers = (static function ($headers): array { @@ -603,6 +604,17 @@ public function resolve(array $headers, array $data): object } webhooks_aaabr: + try { + if ($this->projectsV2StatusUpdate instanceof Internal\WebHook\ProjectsV2StatusUpdate === false) { + $this->projectsV2StatusUpdate = new Internal\WebHook\ProjectsV2StatusUpdate($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝ProjectsV2StatusUpdate()); + } + + return $this->projectsV2StatusUpdate->resolve($headers, $data); + } catch (Throwable $error) { + goto webhooks_aaabs; + } + + webhooks_aaabs: try { if ($this->public instanceof Internal\WebHook\Public_ === false) { $this->public = new Internal\WebHook\Public_($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Public_()); @@ -610,10 +622,10 @@ public function resolve(array $headers, array $data): object return $this->public->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabs; + goto webhooks_aaabt; } - webhooks_aaabs: + webhooks_aaabt: try { if ($this->pullRequest instanceof Internal\WebHook\PullRequest === false) { $this->pullRequest = new Internal\WebHook\PullRequest($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝PullRequest()); @@ -621,10 +633,10 @@ public function resolve(array $headers, array $data): object return $this->pullRequest->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabt; + goto webhooks_aaabu; } - webhooks_aaabt: + webhooks_aaabu: try { if ($this->pullRequestReviewComment instanceof Internal\WebHook\PullRequestReviewComment === false) { $this->pullRequestReviewComment = new Internal\WebHook\PullRequestReviewComment($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝PullRequestReviewComment()); @@ -632,10 +644,10 @@ public function resolve(array $headers, array $data): object return $this->pullRequestReviewComment->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabu; + goto webhooks_aaabv; } - webhooks_aaabu: + webhooks_aaabv: try { if ($this->pullRequestReview instanceof Internal\WebHook\PullRequestReview === false) { $this->pullRequestReview = new Internal\WebHook\PullRequestReview($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝PullRequestReview()); @@ -643,10 +655,10 @@ public function resolve(array $headers, array $data): object return $this->pullRequestReview->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabv; + goto webhooks_aaabw; } - webhooks_aaabv: + webhooks_aaabw: try { if ($this->pullRequestReviewThread instanceof Internal\WebHook\PullRequestReviewThread === false) { $this->pullRequestReviewThread = new Internal\WebHook\PullRequestReviewThread($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝PullRequestReviewThread()); @@ -654,10 +666,10 @@ public function resolve(array $headers, array $data): object return $this->pullRequestReviewThread->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabw; + goto webhooks_aaabx; } - webhooks_aaabw: + webhooks_aaabx: try { if ($this->push instanceof Internal\WebHook\Push === false) { $this->push = new Internal\WebHook\Push($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Push()); @@ -665,10 +677,10 @@ public function resolve(array $headers, array $data): object return $this->push->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabx; + goto webhooks_aaaby; } - webhooks_aaabx: + webhooks_aaaby: try { if ($this->registryPackage instanceof Internal\WebHook\RegistryPackage === false) { $this->registryPackage = new Internal\WebHook\RegistryPackage($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RegistryPackage()); @@ -676,10 +688,10 @@ public function resolve(array $headers, array $data): object return $this->registryPackage->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaaby; + goto webhooks_aaabz; } - webhooks_aaaby: + webhooks_aaabz: try { if ($this->release instanceof Internal\WebHook\Release === false) { $this->release = new Internal\WebHook\Release($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Release()); @@ -687,10 +699,10 @@ public function resolve(array $headers, array $data): object return $this->release->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaabz; + goto webhooks_aaaca; } - webhooks_aaabz: + webhooks_aaaca: try { if ($this->repositoryAdvisory instanceof Internal\WebHook\RepositoryAdvisory === false) { $this->repositoryAdvisory = new Internal\WebHook\RepositoryAdvisory($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RepositoryAdvisory()); @@ -698,10 +710,10 @@ public function resolve(array $headers, array $data): object return $this->repositoryAdvisory->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaaca; + goto webhooks_aaacb; } - webhooks_aaaca: + webhooks_aaacb: try { if ($this->repository instanceof Internal\WebHook\Repository === false) { $this->repository = new Internal\WebHook\Repository($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Repository()); @@ -709,10 +721,10 @@ public function resolve(array $headers, array $data): object return $this->repository->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacb; + goto webhooks_aaacc; } - webhooks_aaacb: + webhooks_aaacc: try { if ($this->repositoryDispatch instanceof Internal\WebHook\RepositoryDispatch === false) { $this->repositoryDispatch = new Internal\WebHook\RepositoryDispatch($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RepositoryDispatch()); @@ -720,10 +732,10 @@ public function resolve(array $headers, array $data): object return $this->repositoryDispatch->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacc; + goto webhooks_aaacd; } - webhooks_aaacc: + webhooks_aaacd: try { if ($this->repositoryImport instanceof Internal\WebHook\RepositoryImport === false) { $this->repositoryImport = new Internal\WebHook\RepositoryImport($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RepositoryImport()); @@ -731,10 +743,10 @@ public function resolve(array $headers, array $data): object return $this->repositoryImport->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacd; + goto webhooks_aaace; } - webhooks_aaacd: + webhooks_aaace: try { if ($this->repositoryRuleset instanceof Internal\WebHook\RepositoryRuleset === false) { $this->repositoryRuleset = new Internal\WebHook\RepositoryRuleset($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RepositoryRuleset()); @@ -742,10 +754,10 @@ public function resolve(array $headers, array $data): object return $this->repositoryRuleset->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaace; + goto webhooks_aaacf; } - webhooks_aaace: + webhooks_aaacf: try { if ($this->repositoryVulnerabilityAlert instanceof Internal\WebHook\RepositoryVulnerabilityAlert === false) { $this->repositoryVulnerabilityAlert = new Internal\WebHook\RepositoryVulnerabilityAlert($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝RepositoryVulnerabilityAlert()); @@ -753,10 +765,10 @@ public function resolve(array $headers, array $data): object return $this->repositoryVulnerabilityAlert->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacf; + goto webhooks_aaacg; } - webhooks_aaacf: + webhooks_aaacg: try { if ($this->secretScanningAlert instanceof Internal\WebHook\SecretScanningAlert === false) { $this->secretScanningAlert = new Internal\WebHook\SecretScanningAlert($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝SecretScanningAlert()); @@ -764,10 +776,10 @@ public function resolve(array $headers, array $data): object return $this->secretScanningAlert->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacg; + goto webhooks_aaach; } - webhooks_aaacg: + webhooks_aaach: try { if ($this->secretScanningAlertLocation instanceof Internal\WebHook\SecretScanningAlertLocation === false) { $this->secretScanningAlertLocation = new Internal\WebHook\SecretScanningAlertLocation($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝SecretScanningAlertLocation()); @@ -775,10 +787,10 @@ public function resolve(array $headers, array $data): object return $this->secretScanningAlertLocation->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaach; + goto webhooks_aaaci; } - webhooks_aaach: + webhooks_aaaci: try { if ($this->securityAdvisory instanceof Internal\WebHook\SecurityAdvisory === false) { $this->securityAdvisory = new Internal\WebHook\SecurityAdvisory($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝SecurityAdvisory()); @@ -786,10 +798,10 @@ public function resolve(array $headers, array $data): object return $this->securityAdvisory->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaaci; + goto webhooks_aaacj; } - webhooks_aaaci: + webhooks_aaacj: try { if ($this->securityAndAnalysis instanceof Internal\WebHook\SecurityAndAnalysis === false) { $this->securityAndAnalysis = new Internal\WebHook\SecurityAndAnalysis($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝SecurityAndAnalysis()); @@ -797,10 +809,10 @@ public function resolve(array $headers, array $data): object return $this->securityAndAnalysis->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacj; + goto webhooks_aaack; } - webhooks_aaacj: + webhooks_aaack: try { if ($this->sponsorship instanceof Internal\WebHook\Sponsorship === false) { $this->sponsorship = new Internal\WebHook\Sponsorship($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Sponsorship()); @@ -808,10 +820,10 @@ public function resolve(array $headers, array $data): object return $this->sponsorship->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaack; + goto webhooks_aaacl; } - webhooks_aaack: + webhooks_aaacl: try { if ($this->star instanceof Internal\WebHook\Star === false) { $this->star = new Internal\WebHook\Star($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Star()); @@ -819,10 +831,10 @@ public function resolve(array $headers, array $data): object return $this->star->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacl; + goto webhooks_aaacm; } - webhooks_aaacl: + webhooks_aaacm: try { if ($this->status instanceof Internal\WebHook\Status === false) { $this->status = new Internal\WebHook\Status($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Status()); @@ -830,10 +842,10 @@ public function resolve(array $headers, array $data): object return $this->status->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacm; + goto webhooks_aaacn; } - webhooks_aaacm: + webhooks_aaacn: try { if ($this->teamAdd instanceof Internal\WebHook\TeamAdd === false) { $this->teamAdd = new Internal\WebHook\TeamAdd($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝TeamAdd()); @@ -841,10 +853,10 @@ public function resolve(array $headers, array $data): object return $this->teamAdd->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacn; + goto webhooks_aaaco; } - webhooks_aaacn: + webhooks_aaaco: try { if ($this->team instanceof Internal\WebHook\Team === false) { $this->team = new Internal\WebHook\Team($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Team()); @@ -852,10 +864,10 @@ public function resolve(array $headers, array $data): object return $this->team->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaaco; + goto webhooks_aaacp; } - webhooks_aaaco: + webhooks_aaacp: try { if ($this->watch instanceof Internal\WebHook\Watch === false) { $this->watch = new Internal\WebHook\Watch($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝Watch()); @@ -863,10 +875,10 @@ public function resolve(array $headers, array $data): object return $this->watch->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacp; + goto webhooks_aaacq; } - webhooks_aaacp: + webhooks_aaacq: try { if ($this->workflowDispatch instanceof Internal\WebHook\WorkflowDispatch === false) { $this->workflowDispatch = new Internal\WebHook\WorkflowDispatch($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝WorkflowDispatch()); @@ -874,10 +886,10 @@ public function resolve(array $headers, array $data): object return $this->workflowDispatch->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacq; + goto webhooks_aaacr; } - webhooks_aaacq: + webhooks_aaacr: try { if ($this->workflowJob instanceof Internal\WebHook\WorkflowJob === false) { $this->workflowJob = new Internal\WebHook\WorkflowJob($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝WorkflowJob()); @@ -885,10 +897,10 @@ public function resolve(array $headers, array $data): object return $this->workflowJob->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacr; + goto webhooks_aaacs; } - webhooks_aaacr: + webhooks_aaacs: try { if ($this->workflowRun instanceof Internal\WebHook\WorkflowRun === false) { $this->workflowRun = new Internal\WebHook\WorkflowRun($this->requestSchemaValidator, $this->hydrator->getObjectMapperWebHook🪝WorkflowRun()); @@ -896,10 +908,10 @@ public function resolve(array $headers, array $data): object return $this->workflowRun->resolve($headers, $data); } catch (Throwable $error) { - goto webhooks_aaacs; + goto webhooks_aaact; } - webhooks_aaacs: + webhooks_aaact: throw $error; } } diff --git a/clients/GitHub/tests/Internal/Operation/Users/GetByIdTest.php b/clients/GitHub/tests/Internal/Operation/Users/GetByIdTest.php new file mode 100644 index 00000000000..05040ff4030 --- /dev/null +++ b/clients/GitHub/tests/Internal/Operation/Users/GetByIdTest.php @@ -0,0 +1,57 @@ + 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('GET', '/user/10', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Users\GetById::OPERATION_MATCH, (static function (array $data): array { + $data['account_id'] = 10; + + return $data; + })([])); + } + + /** @test */ + public function operations_httpCode_404_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(404, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('GET', '/user/10', Argument::type('array'), Argument::any())->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->users()->getById(10); + } +} diff --git a/clients/GitHub/tests/Types/ClientCallReturnTypes.php b/clients/GitHub/tests/Types/ClientCallReturnTypes.php index 3ecf6795395..f3129ab9707 100644 --- a/clients/GitHub/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHub/tests/Types/ClientCallReturnTypes.php @@ -169,7 +169,7 @@ function authHeader(): string assertType('', $client->call('PUT /orgs/{org}/actions/variables/{name}/repositories')); assertType('', $client->call('PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}')); assertType('', $client->call('DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}')); -assertType('Schema\\Operations\\Orgs\\ListAttestations\\Response\\ApplicationJson\\Ok', $client->call('GET /orgs/{org}/attestations/{subject_digest}')); +assertType('', $client->call('GET /orgs/{org}/attestations/{subject_digest}')); assertType('Observable', $client->call('GET /orgs/{org}/blocks')); assertType('Observable', $client->call('LIST /orgs/{org}/blocks')); assertType('', $client->call('GET /orgs/{org}/blocks/{username}')); @@ -499,8 +499,8 @@ function authHeader(): string assertType('Observable', $client->call('GET /repos/{owner}/{repo}/assignees')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/assignees')); assertType('', $client->call('GET /repos/{owner}/{repo}/assignees/{assignee}')); -assertType('Schema\\Operations\\Repos\\CreateAttestation\\Response\\ApplicationJson\\Created', $client->call('POST /repos/{owner}/{repo}/attestations')); -assertType('Schema\\Operations\\Repos\\ListAttestations\\Response\\ApplicationJson\\Ok\\Application\\Json', $client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}')); +assertType('', $client->call('POST /repos/{owner}/{repo}/attestations')); +assertType('', $client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/autolinks')); assertType('', $client->call('POST /repos/{owner}/{repo}/autolinks')); assertType('', $client->call('GET /repos/{owner}/{repo}/autolinks/{autolink_id}')); @@ -1087,9 +1087,10 @@ function authHeader(): string assertType('Observable|WithoutBody', $client->call('LIST /user/subscriptions')); assertType('Observable|WithoutBody', $client->call('GET /user/teams')); assertType('Observable|WithoutBody', $client->call('LIST /user/teams')); +assertType('Schema\\PrivateUser|Schema\\PublicUser', $client->call('GET /user/{account_id}')); assertType('Observable|WithoutBody', $client->call('GET /users')); assertType('', $client->call('GET /users/{username}')); -assertType('Schema\\Operations\\Users\\ListAttestations\\Response\\ApplicationJson\\Ok|Schema\\EmptyObject|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /users/{username}/attestations/{subject_digest}')); +assertType('', $client->call('GET /users/{username}/attestations/{subject_digest}')); assertType('Observable', $client->call('GET /users/{username}/docker/conflicts')); assertType('Observable', $client->call('GET /users/{username}/events')); assertType('Observable', $client->call('LIST /users/{username}/events')); diff --git a/etc/specs/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index 4d1df3cb1c5..57481cecfa2 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -45863,6 +45863,44 @@ paths: enabledForGitHubApps: false category: teams subcategory: teams + "/user/{account_id}": + get: + summary: Get a user using their ID + description: |- + Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time. + + The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication). + + The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". + tags: + - users + operationId: users/get-by-id + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/users/users#get-a-user-using-their-id + parameters: + - "$ref": "#/components/parameters/account-id" + responses: + '200': + description: Response + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/private-user" + - "$ref": "#/components/schemas/public-user" + examples: + default-response: + "$ref": "#/components/examples/public-user-default-response" + response-with-git-hub-plan-information: + "$ref": "#/components/examples/public-user-response-with-git-hub-plan-information" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: users + subcategory: users "/users": get: summary: List users @@ -57271,6 +57309,207 @@ webhooks: subcategory: projects_v2 supported-webhook-types: - organization + projects-v2-status-update-created: + post: + summary: |- + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." + + For activity relating to a project, use the `projects_v2` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + **Note**: To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was added to a project in the organization. + operationId: projects-v2-status-update/created + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-status-update + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_status_update + supported-webhook-types: + - organization + projects-v2-status-update-deleted: + post: + summary: |- + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." + + For activity relating to a project, use the `projects_v2` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + **Note**: To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was removed from a project in the organization. + operationId: projects-v2-status-update/deleted + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-status-update + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_status_update + supported-webhook-types: + - organization + projects-v2-status-update-edited: + post: + summary: |- + This event occurs when there is activity relating to a status update on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." + + For activity relating to a project, use the `projects_v2` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + + **Note**: To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + description: A status update was edited on a project in the organization. + operationId: projects-v2-status-update/edited + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: project-v2-status-update + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: webhooks + subcategory: projects_v2_status_update + supported-webhook-types: + - organization public: post: summary: |- @@ -65622,6 +65861,7 @@ components: properties: id: type: integer + format: int64 url: type: string format: uri @@ -70521,10 +70761,10 @@ components: description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." enum: - - - false positive - won't fix - used in tests + - code-scanning-alert-dismissed-comment: type: - string @@ -71775,6 +72015,7 @@ components: id: description: The unique identifier of the role. type: integer + format: int64 name: description: The name of the role. type: string @@ -73144,6 +73385,13 @@ components: description: The values to match for the repository property items: type: string + source: + type: string + description: The source of the repository property. Defaults to 'custom' + if not specified. + enum: + - custom + - system required: - name - property_values @@ -76308,6 +76556,7 @@ components: properties: id: type: integer + format: int64 number: type: integer url: @@ -76324,6 +76573,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -76348,6 +76598,7 @@ components: properties: id: type: integer + format: int64 url: type: string name: @@ -76763,6 +77014,7 @@ components: id: description: The id of the environment. type: integer + format: int64 examples: - 56780428 node_id: @@ -76834,6 +77086,7 @@ components: id: description: Unique identifier of the deployment type: integer + format: int64 examples: - 42 node_id: @@ -79749,6 +80002,7 @@ components: - https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 examples: - 1 node_id: @@ -81228,6 +81482,12 @@ components: if this was not determined. examples: - NOASSERTION + copyrightText: + type: string + description: The copyright holders of the package, and any dates + present with those notices, if available. + examples: + - Copyright (c) 1985 GitHub.com externalRefs: type: array items: @@ -81468,6 +81728,7 @@ components: - https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: type: integer + format: int64 examples: - 1 node_id: @@ -83809,11 +84070,13 @@ components: type: - integer - 'null' + format: int64 examples: - 42 id: description: The ID of the pull request review comment. type: integer + format: int64 examples: - 1 node_id: @@ -84785,6 +85048,7 @@ components: - https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: type: integer + format: int64 examples: - 1 node_id: @@ -86135,10 +86399,12 @@ components: type: - integer - 'null' + format: int64 examples: - 42 id: type: integer + format: int64 examples: - 10 node_id: @@ -95370,6 +95636,62 @@ components: required: - id - title + projects-v2-status-update: + title: Projects v2 Status Update + description: An status update belonging to a project + type: object + properties: + id: + type: number + node_id: + type: string + project_node_id: + type: string + creator: + "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + examples: + - '2022-04-28T12:00:00Z' + status: + type: + - string + - 'null' + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + - + start_date: + type: string + format: date + examples: + - '2022-04-28' + target_date: + type: string + format: date + examples: + - '2022-04-28' + body: + description: Body of the status update + type: + - string + - 'null' + examples: + - The project is off to a great start! + required: + - id + - node_id + - created_at + - updated_at webhooks_number: description: The pull request number. type: integer @@ -130532,6 +130854,134 @@ components: - projects_v2 - organization - sender + webhook-projects-v2-status-update-created: + title: Projects v2 Status Update Created Event + type: object + properties: + action: + type: string + enum: + - created + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user-webhooks" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-deleted: + title: Projects v2 Status Update Deleted Event + type: object + properties: + action: + type: string + enum: + - deleted + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user-webhooks" + required: + - action + - projects_v2_status_update + - organization + - sender + webhook-projects-v2-status-update-edited: + title: Projects v2 Status Update Edited Event + type: object + properties: + action: + type: string + enum: + - edited + changes: + type: object + properties: + body: + type: object + properties: + from: + type: + - string + - 'null' + to: + type: + - string + - 'null' + status: + type: object + properties: + from: + type: + - string + - 'null' + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + - + to: + type: + - string + - 'null' + enum: + - INACTIVE + - ON_TRACK + - AT_RISK + - OFF_TRACK + - COMPLETE + - + start_date: + type: object + properties: + from: + type: + - string + - 'null' + format: date + to: + type: + - string + - 'null' + format: date + target_date: + type: object + properties: + from: + type: + - string + - 'null' + format: date + to: + type: + - string + - 'null' + format: date + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + projects_v2_status_update: + "$ref": "#/components/schemas/projects-v2-status-update" + sender: + "$ref": "#/components/schemas/simple-user-webhooks" + required: + - action + - projects_v2_status_update + - organization + - sender webhook-public: title: public event type: object @@ -210724,6 +211174,7 @@ components: filesAnalyzed: false licenseConcluded: MIT licenseDeclared: MIT + copyrightText: Copyright (c) 1985 GitHub.com dependency-graph-create-snapshot-request: value: version: 0